Composers

Composers collect and organize render passes and can do some specific post-processing to create effects in render passes. Each scene has a Composer property that determines which composer it uses for rendering the scene. Kanzi Studio includes:

Render passes and composers

Kanzi Studio comes with an empty Render Pass you can use to create the rendering result you need. To make a more complex effect, you can combine multiple render passes or use object sources and filters to tell the render pass which objects in your Kanzi application you want to render. See Using object sources.

When rendering a scene, Kanzi collects all render passes in the structure in depth-first order. Kanzi renders render passes sequentially, passing the output of each to the next render pass for input. The final state of the color buffer determines the contents of the frame.

Use Composer and Custom Composer objects as structure containers to group render passes so that you can refer to a single composer in your scene.

Additionally, Custom Composer provides a way to hook any rendering function from application code to do the compositing. A Custom Composer represents that rendering function in Kanzi Studio and allows, for example, assigning properties to the rendering function. To use a Custom Composer you need exactly one camera with the Shadow Caster Camera property and a scene with at least one mesh that has shadow mapping properties.

Effect composers

Kanzi Studio comes with several preset effect composers you can use in your project to achieve a specific rendering effect.

These effect composers are available in Kanzi Studio:

See also

Using rendering effects

Rendering best practices

Effects example

Using object sources