Hi im making a shader that makes objects invisible when in certain radius, so a see through shader.
However i can't figure out how to make the object cast shadows.
The objects must be cutout, think tree cronas and such.
If i manually add pragmas
alpha addshadow
It casts shadows when fully transparent, it works for structures, roofs etc, however the trees then cast "square" shadows from leaves planes, instead of normal shadows.
i tried forceshadows also.
I need a way for cutout to be transparent and still cast proper shadows, is this possible with AS?