Improve pipeline Light input
1 unresolved thread
1 unresolved thread
- Removed lights from
RenderScene
, replaced by a gather callback - Removed
SharedLight
- Moved light bounding sphere calculation to the GPU, reducing packed light size to 3
vec4
s - Updated pipeline guide
Merge request reports
Activity
110 133 virtual void onRenderOpaquePass(RenderScene const&, RenderStage const&, CameraData const&) {} 111 134 virtual void onRenderOpaquePass(RenderContext const& ctx) { onRenderOpaquePass(ctx.scene, ctx.stage, ctx.camData); } 112 135 136 /// Register all lights that are visible this frame 137 virtual void onGatherLights(LightCallback&&) {} changed this line in version 2 of the diff
mentioned in commit 5921cb6d
Please register or sign in to reply