Scene Renderer

From RealMotion Wiki

3D/Renderer/Scene Renderer

Renders all nodes of a scene. ​

Description

The Scene Renderer is commonly the last box of the 3D pipeline. The box renders the inputted node and all its children into the inputted 2D texture buffer.

General Use Case: The Scene Renderer is used with the Model Shader box to set the Shader and its technique, but it is not mandatory. If the Scene Renderer receives a node without any shader or material information, the default rendering settings are applied.

Inputs

Camera Camera Receives the camera to set the Point Of View of the scene.
Depth Depth Buffer Receives the Depth texture.
Node Node Receives the node to render.
Render 2D Texture Receives the texture to use as Render Target.

Outputs

Depth Depth Buffer Outputs the rendered Depth texture.
Render 2D Render Target Outputs the rendered texture.

Parameters

General

Override Texture Buffer Toggle Enables the override of the inputted Texture Buffer value by the parameter Texture Buffer Value.
Texture Buffer Value Float4 Sets the value for the override of the input Texture Buffer.
Override Depth Buffer Toggle Enables the override of the Depth Buffer.
Depth Buffer Value Float Sets the value for the override of the input Depth Buffer.

Render Selection

Opaque Only Toggle Enables the render of opaque objects only.
Translucent Only Toggle Enables the render of non-opaque objects only.
Wireframe Toggle Enables the render of wireframe only.

Depth

Enable Input Pin: Depth Toggle Enables Depth Input Pin.
Enable Output Pin: Depth Toggle Enables Depth Output Pin.
Use Local Depth Buffer Toggle Uses the local depth buffer created by the box with the resolution of the Texture Buffer Input Pin.

Advanced

Number Of Render Targets Int Sets the number of render targets for rendering multiple render targets in a single pass.

See Also

Boxes related

Camera, Model 3D, Model Shader, Node Instancing, Primitive Mesh, Depth Buffer, Linear Depth, Texture Buffer, ​​

Version Information

Current documentation version: 2.1.2. ​ ​