Composer

../_images/composer.png

Composer

The Composer is where post-processing effects are applied to enhance the final rendered output. It allows you to configure a series of processing nodes, an output node, and one or more camera nodes.

At minimum, a composition requires:

  • A camera node: Captures the view from a camera in your scene.

  • An output node: Displays the final processed image.

The camera’s color output slot must be connected to the output node’s color input slot. This basic setup renders the camera view on screen without any post-processing. Additional nodes can be inserted to apply effects, and multiple camera nodes can render additional views, such as UI overlays, minimaps, or backview mirrors.

Available Nodes

The following table lists the available nodes and their purposes:

Node

Description

Adjust

Provides controls for tweaking brightness, contrast, saturation, and other image properties.

Bloom

Adds a glowing effect to bright areas, simulating light scattering and creating a soft, dreamy appearance.

Blur

Applies a general blur effect to soften the image, often used for artistic or depth-based effects.

Camera

Renders a camera view from your scene. Cameras are identified by tags, not hard-wired references, making compositions reusable. For instance, using the tag mainCamera ensures the composition works across projects with a camera tagged similarly.

Chromatic Aberration

Splits colors slightly at the edges of objects, mimicking lens imperfections for a more realistic or stylized look.

Film

Simulates film grain and scanlines to give a cinematic or television look.

FXAA

Fast Approximate Anti-Aliasing. Reduces jagged edges on objects for smoother visuals without a high performance cost.

Merge

Combines multiple image inputs into a single output, often used for layering effects or compositing views.

Output

Represents the final output node, which receives the processed image. Only one output node is allowed per composition.

Radial Blur

Creates a blur effect radiating outward from a point, useful for simulating speed or focus shifts.

SSAO

Stands for Screen Space Ambient Occlusion. Enhances realism by simulating shadowing in crevices and corners where light would naturally be occluded.

Texture

Allows applying a custom texture to the composition, often used for overlays or additional visual elements.

Vignette

Darkens the edges of the screen, drawing attention to the center of the frame for a more focused and dramatic effect.

Additional Features

  • Render to Texture: Compositions can be used as inputs to a Material’s Albedo channel, enabling render to texture functionality. This allows for dynamic textures such as reflective surfaces or custom UI elements rendered in real-time.

  • Optional Use: Compositions are not mandatory. In scene settings, you can opt to render a single camera view directly without applying post-processing.

This flexible system empowers developers to create visually stunning and reusable post-processing setups tailored to their projects.