I have lighting implemented using Box2dLight. I want to update/render things inside the player’s PointLight area. Stuff in the dark area should not be rendered.
How can I find which areas are lit or dark?
My PointLights and Body look like this:

I have lighting implemented using Box2dLight. I want to update/render things inside the player’s PointLight area. Stuff in the dark area should not be rendered.
How can I find which areas are lit or dark?
My PointLights and Body look like this:
