Sign in to follow this  
Key_46

Alpha map in stencil shadow

Recommended Posts

Key_46    540
Is a bealtifull day, you are walking in the parking, you look to a tree shadow and OH NO there is no leaf tex, just circles(my tree is made of spheres with leafs texture), i am a shading and c++ noob so how i can solve this problem.

Share this post


Link to post
Share on other sites
SimmerD    1210
I was thinking about this very issue this weekend. I think you could combine the stencil shadow and the leaf shadow. For instance, set destalpha based on both the stencil saying 'shadow' and a projected texture saying 'shadow'.

But, I'm not sure what benefit this has over just projected shadows or shadow maps. Perhaps you could use stencil for the trunk & branches, but projected textures for the leaves...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this