Compositor: Difference between revisions

Jump to navigation Jump to search
m
Line 605: Line 605:


* Bring back distortion correction.
* Bring back distortion correction.
* Rework node masks ({{simgear file|simgear/scene/util/RenderConstants.hxx}}). Each node type should have its own node mask bit, e.g. trees should only have <tt>TREE_BIT</tt> enabled, the main aircraft should only have <tt>AIRCRAFT_BIT</tt> enabled etc. This allows the Compositor cameras to properly filter scene graph nodes based on the cull mask. Shadow cameras can then choose what geometry they render dynamically.
* Rework [[Draw masks|node masks]] ({{simgear file|simgear/scene/util/RenderConstants.hxx}}). Each node type should have its own node mask bit, e.g. trees should only have <tt>TREE_BIT</tt> enabled, the main aircraft should only have <tt>AIRCRAFT_BIT</tt> enabled etc. This allows the Compositor cameras to properly filter scene graph nodes based on the cull mask. Shadow cameras can then choose what geometry they render dynamically.
* Automatically calculate light source attenuation based on radius and radius based on attenuation.
* Automatically calculate light source attenuation based on radius and radius based on attenuation.
* Add clustered shading to every Effect as a separate technique.
* Add clustered shading to every Effect as a separate technique.

Navigation menu