Dynamic Light Source Culling
LambdAurora opened this issue ยท 1 comments
Now that the computation of dynamic light levels is cheap, the new path to optimize is limiting the amount of chunk section rebuilds by culling what does not need to be immediately rebuilt.
Currently the goal is to do a simple frustum culling of these by chunk section rebuild requests:
- light sources submit a chunk section rebuild request to the chunk section rebuild scheduler
- the chunk section rebuild scheduler will either:
- immediately queue the chunk section rebuild if visible
- wait for it to be visible
- or remove the request if no dynamic light sources affect this chunk section anymore
Work is tracked under the dev/culling branch.