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 Rotating the LightOccluder2D #45

Closed ryanpeach closed 5 months ago

ryanpeach commented 5 months ago

I get the impression the light occluder is just a rectangle? We should be able to rotate it.

ryanpeach commented 5 months ago

Out of all the issues I just made I'll probably try to work on this one first as it has the most direct impact on my game. I'll probably start in a week.

ryanpeach commented 5 months ago

Works with the Transform.rotation component