Shadows based off pixel alpha on billboards?

Hey, the characters in my game are billboards and I want to cast shadows from them based on the alpha of each pixel… do I have to write a shader to do this? Or has one already been implemented? If not… any hints to push me in the right direction?

1 Like

http://i.imgur.com/9qq1m.png


That's an example, the character should be casting a shadow in the shape of deidara senpai.

I would also like to note that my game is voxel based so the world is dynamic.

If your materials has tthe shadow techniques the ppsm should work. → See examples there are some shadow + alpha ones.

1 Like