Skip to content
Snippets Groups Projects

Improve pipeline Light input

Merged Jonathan Kunstwald requested to merge feature/jk-dev into master
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 vec4s
  • Updated pipeline guide

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
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&&) {}
  • added 1 commit

    • 45158ef5 - Use a regular reference for LightCallback

    Compare with previous version

  • Philip Trettner mentioned in commit 5921cb6d

    mentioned in commit 5921cb6d

  • Please register or sign in to reply
    Loading