Hi all.
Wondering how to cast shadows from an object with material that has alpha < 1. I was thinking to use the shadowOnly material… but that doesn’t seem to be working. Maybe b/c i’m using the default environment helper? Only works if I take off the alpha.
1 Like
You have to force the shadowmap to render the shadow for transparent objects.
Check line 27
https://www.babylonjs-playground.com/#10D6YT#216
Cheers!
5 Likes