I need to use fog of war on my scene where I have some transparent polygons on my terrain. Unfortunately those polygons are moving in and out of the darkness, and in-between they don't shade right. Can you give me a transparency shader that works properly with your script?
Thanks.