PDA

View Full Version : Mesh Shadows w/ opacity


Kiser Designs
05-07-2012, 08:50 PM
Hey PC,

I am having an issue with a tree that I have created and imported into CryEngine.

http://i.imgur.com/TiTE8.jpg

As you see, the top shadow is from a tree already in the engine, the lower one is from a tree I made. How do I make it so the cast shadows are affected by the opacity/alpha on the leaves?

ParoXum
05-08-2012, 10:45 AM
Make sure your shader is setup in alpha masked (use alpha test instead of opacity). And that your LOD if you have one also has alpha masked for leaves.