What does that mean? a ShadowRenderer
instead of a ShadowFilter
?
My scene only consists of quads viewed full front on.
What does that mean? a ShadowRenderer
instead of a ShadowFilter
?
My scene only consists of quads viewed full front on.
I’ll try to find the project in my never-ending directory structure and see if I can throw some light your way. Excuse the pun.
In the mean time, I’ll see if I can get Box2dLights to work for me
Edit: Might try StraightEdge first - Box2dlights seem dependent on the Box2d world.
I have looked, it was not a gradle project so I stopped there. I’ll take another look today.
I started by porting the solution on
https://www.redblobgames.com/articles/visibility/Visibility.hx
to a BaseAppState
on the client. Just need to figure out how to draw the visibility polygon for a start. Then I guess I can add a light-texture on that polygon that fades away from center.
Edit: it only supports one ‘light source’ - so that’s a drawback for now