bryanedds / Nu

Repository hosting the open-source Nu Game Engine and related projects.
MIT License
1.05k stars 151 forks source link

Consider making light map rendering less automatic and thus not need to disable culling the frame they're rendered. #760

Closed bryanedds closed 3 months ago

bryanedds commented 3 months ago

Like Navigation, perhaps light probe light maps should be created more explicitly, such as with a specific render message carrying all of its needed render info, similar to how a shadow render pass is done. The engine would have to have more specific knowledge of light map rendering, but I think that's fine. Either that, or some other design change to make rendering them more efficient.

The way they work currently might be a case of declarative being taken a bit too far.

bryanedds commented 3 months ago

Stapling #754 to this.

bryanedds commented 3 months ago

Done and actually still manages to be automatic from a user perspective.