LightingRenderer class
#include <Jazz2/Rendering/LightingRenderer.h>
Processes all lights in a scene into an intermediate target.
Collects the lights emitted by every actor in the level and renders each as an additive blended quad into a PlayerViewport's lighting buffer, which the CombineRenderer later applies to the scene.
Base classes
- class nCine::SceneNode
- Base node of the scene graph transformation hierarchy.
Constructors, destructors, conversion operators
- LightingRenderer(PlayerViewport* owner)
- Creates a new instance attached to a given viewport.
Public functions
- auto OnDraw(RenderQueue& renderQueue) -> bool override
- Called when the node needs to be drawn, returning
trueif a command was added.