Project Rembrandt: Difference between revisions

Line 24: Line 24:
:*'''Additional light pass''' (''to be implemented''): the scene graph will be traversed another time to display light volumes (cone or frusta for spot lights, sphere for omni-directional lights) and their shader will add the light contributed by the source only on pixels receiving light.
:*'''Additional light pass''' (''to be implemented''): the scene graph will be traversed another time to display light volumes (cone or frusta for spot lights, sphere for omni-directional lights) and their shader will add the light contributed by the source only on pixels receiving light.
:*'''Fog pass''': a new screen aligned quad is draw and the position of the pixel is computed to evaluate the amount of fog the pixel has. The fog color is blended with the result of the previous stage.
:*'''Fog pass''': a new screen aligned quad is draw and the position of the pixel is computed to evaluate the amount of fog the pixel has. The fog color is blended with the result of the previous stage.
:All lighting computations are accumulated in a single buffer that will be used for the last stage, in addition of the one computed by the Geometry stage.


;In the end, the Display Stage, with optional Post-Processing effect :
;In the end, the Display Stage, with optional Post-Processing effect :
269

edits