Cast shadows from glass (material with alpha)

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


You rock. Thanks @MarianG

1 Like