Render

Read with AI
All docs in one file (llms-full.txt)
Render3D #3D #Node
Render

The terminal node of the 3D category. It draws the draw list with a custom lightweight renderer and outputs an HDR RenderTexture. From here on it connects to ordinary video nodes. The Scene input port is dynamic: every time you connect one, a new empty slot is added (up to 16 slots; functionality equivalent to Merge is built in). Drawing runs in two passes, opaque then transparent, and depth is output to Depth Texture as a separate RenderTexture.

  • Camera — When unconnected or given an invalid value, the default camera is used (position 0,0,-10 / FOV60 / perspective projection)
  • Background / BackgroundTop — The bottom and top colors of the background gradient
  • Ambient — Ambient light (default is a dark blue-gray)
  • Fog Start / Fog End — The start and end distances of the distance fog (default 40 / 150). The fog color is the midpoint between Background and BackgroundTop
  • The Render Texture output is 1920×1080 (HDR-capable), and Depth Texture is a depth output at the same resolution

When the Scene has no lights at all, a single white directional light facing the camera’s forward direction is added automatically. This is so that it does not go pitch black just from connecting something. Lights are limited to 8 in total across all Scene slots. Fog End is internally corrected to at least Fog Start + 1. When the number of draw instances crosses between 0 and non-zero, a log for troubleshooting is printed to the console.

Input ports

Port IDType
CameraCameraDataInput
BackgroundColor
BackgroundTopColor
AmbientColor
Fog Startfloat
Fog Endfloat

Output ports

Port IDType
Render TextureRenderTexture
Depth TextureRenderTexture

Scriptable members

PathType
fogStartInputfloat
fogEndInputfloat

Synapse Apps (scripting)

await synapse.modules.create({ type: "Render3D" })

Pages linking here

Also referenced from