I have a mesh deforming on the fly and I am lighting it with a spotlight in superphysical.
The mesh textures are also generated on the fly and I would really love to know (as texture, data or whatever) which part of the mesh is in shadow at the moment.
Does anyone have a simple (and cheap) Idea how I could get that info?
I could run a whole seperate superphysical instance to only render the shadowmap but that seems really wasteful.
Thanks so much! :)