: A valid boolean condition to enable the pass at startup (doesn't work at runtime).
There are specific pass types, each with their own set of custom parameters:
Renders the scene from the point of view given by the CameraGroup.
: A 32 bit number that specifies the cull mask to be used. See <tt>simgear/scene/util/RenderConstants.hxx</tt> to know which bits enable what.
; z-near and z-far
: They change the depth range to be used. If both of them are zero, the default Z range in the CameraGroup is used.
: Enables the use of clustered forward rendering for this pass.
: Ignores the given view and projection matrices and uses a custom one that renders the scene as if it was seen from inside a cubemap looking towards the specified face.
Renders a fullscreen quad with an optional [[Effects|effect]] applied. Useful for screen space shaders (like SSAO, Screen Space Reflections or bloom) and deferred rendering.
: Specifies the x, y, width and height of the fullscreen quad inside the viewport using normalized coordinates.
: The quad will use this effect.
Renders the scene from a light's point of view.
: The OpenGL light number to use for this shadow map.
; near-m and far-m
: They specify the range of the shadow map.
Passes can render to a buffer (Render to Texture), to several buffers (Multiple Render Targets) or directly to the framebuffer. This is accomplished by the <code><attachment/></code> tag. Possible parameters of an attachment are:
: A valid boolean condition to enable the binding at startup (doesn't work at runtime).
Example XML for a ''scene'' type pass: