Compositor: Difference between revisions

no edit summary
No edit summary
Line 143: Line 143:
* '''scene'''
* '''scene'''
Renders the scene from the point of view given by the CameraGroup.
Renders the scene from the point of view given by the CameraGroup.
; cull-mask
: A 32 bits number that specifies the cull mask to be used.
; 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.
; clustered-forward
; clustered-forward
: Enables the use of clustered forward rendering for this pass.
: Enables the use of clustered forward rendering for this pass.
Line 245: Line 249:
* Setting a buffer scale factor different from 1.0 and rendering to it might not scale the splash screen correctly.
* Setting a buffer scale factor different from 1.0 and rendering to it might not scale the splash screen correctly.
* No error handling when the Compositor wasn't found. FlightGear should quit gracefully but right now it segfaults.
* No error handling when the Compositor wasn't found. FlightGear should quit gracefully but right now it segfaults.
* Hardcoded Z handling. Better handling of depth is required to allow, for example, near and far cameras to prevent Z-fighting.
* computeIntersections() always uses pass 0, which might fail. The scene pass should be used (which one if there are several?).
* computeIntersections() always uses pass 0, which might fail. The scene pass should be used (which one if there are several?).


343

edits