zaycev / bevy-magic-light-2d

Experiment with computing 2D shading, lighting and shadows with Bevy Engine
Apache License 2.0
427 stars 37 forks source link

Support for Reading LightLevel off of Occluder #48

Closed ryanpeach closed 5 months ago

ryanpeach commented 5 months ago

For my game I need to know approximately how much light a light Occluder is receiving. Maybe a less accurate CPU bound process could accompany the GPU raymarch algorithm to provide this.

ryanpeach commented 5 months ago

I think this is probably better implemented at the game level actually.