I’m offsetting planes with a custom vertex shader using elevation maps (basically bump maps). For them to cast shadows on themselves (through a directional light source), I’ve been using a customDepthMaterial that uses the same elevation maps. Worked like a charm:
Since three.r132 however, the shadows stopped working. I digged through the changelog in r132 and found nothing of help. Beside minor changes in the customDepthMaterial shader:
… there was nothing required to get the app running again, but the shadows are gone:
I digged through the changelog from r131 to r132 but didn’t find anything that would cause this misbehavior. Any ideas?