Shadow map for point light

Some experiments:

Rendering to cubemap is usually used to implement omnidirectional shadows, but as we don’t have such render target in Defold, here is a bit different approach - rendering all cube map faces to an ordinary 2D texture.

17 Likes

Great example! A bit reworked and tuned:

15 Likes