- Home /
Can particles cast real time shadows on other objects?
Can particles cast real time shadows on other objects?
I'm using a particle system with cast shadows and receive shadows checked. I have a directional light. I'm rendering in forward rendering.
Answer by CHPedersen · Sep 26, 2011 at 06:34 AM
Check out this page on trouble shooting shadows:
http://unity3d.com/support/documentation/Manual/Shadow%20Troubleshooting.html
Assuming you have Unity Pro, it seems that only completely opaque objects can cast shadows. So, since particles are very often rendered alpha blended or additive, they won't cast and receive shadows.
Particles in Unity are two-triangle billboards, so they do have a surface, as opposed to being just a single point. I suppose you could get them to cast shadows by selecting a totally opaque shader for it, but that probably won't make the particles themselves very pretty.
Again, this is all assuming you have Unity Pro. :P
No problem. :) Glad you got to the bottom of it. If an answer meets your needs, you can click the checkmark to accept it as the right answer. If you do that, the world will know you as a good man and you'll sleep a little better at night. ;-)
You might also want to take performance into consideration. Shadows can get very expensive very quickly.
Your answer
Follow this Question
Related Questions
Directional Lights STILL affecting shadowed objects! 1 Answer
Peter panning effect. Changing bias doesn't work. 0 Answers
Why are my shadows acting differently in Editor and in build app? 0 Answers
Unwanted shadows after baking lightmapping 0 Answers
Point light does not cast shadows even when shadows are enabled in the light component 0 Answers