Game Development Community

Shadow for all foliage

by Bolohan Razvan · in Torque 3D Beginner · 10/16/2012 (12:47 pm) · 2 replies

Is there a way to enable shadow for all foliage not just tree ?

#1
10/16/2012 (1:00 pm)
Assuming that you are talking about plants that have transparent images for leaf systems then yes you can do it.

Select one of your plants that is NOT casting shadows. Hit F4 (Brings up the material editor). Go down to 'Advanced (all layers) and unclick transparency, Click on Alpha Threshold and type in a number like 100 or so. (you might have to experiment with that number to have them look right).

Make sure Cast Shadows is checked then save the 'new material' by clicking on the 'floppy disk' icon below the preview window. Now your plants should be casting shadows.

Ron
#2
10/16/2012 (1:08 pm)
That's great.
Thank You