- Home /
How can I use together alpha and shadow on surface shader?
Hello every one.
I'm trying to use together two feature on surface shader : alpha blending and receive shadow, but receive shadow is not working when alpha option is on. I maybe understand why the shadow not working, but I use that two together. so I trying to add surface shader pragma option 'addshadow', but is not working too. built in creator tree's leaf is working alpha blending and receive shadow. I want This! What option I add?
Sorry about that my bad english.
As Peter G says, the leaves are alpha cutout. Not alpha blended. Shadows can't work with alpha blending, because it's more or less impossible to do in a workable way.
Answer by Peter G · May 09, 2011 at 03:03 AM
Unity doesn't support transparent objects with shadows unless they are cutouts like the leaves are. So you can't. Sorry.
Your answer
Follow this Question
Related Questions
Shader with zwrite, shadows and alpha (special alpha) 2 Answers
Fade-In/Out shadows for a specific object 0 Answers
Unlit Shader with alpha mask 2 Answers
Vertex displacement shader troubles 1 Answer
Multiply Shader with Alpha 0 Answers