Keeping a node from rendering its shadow on itself
Keeping a node from rendering its shadow on itself
OK, I have a scene node for a character in my game that has a somewhat high poly-count. It needs a shadow, though, but the shadow renders itself on the node that's casting the shadow, resulting in slower performance. How do I make it so a node can cast but NOT receive shadows?
-
- Posts: 322
- Joined: Tue Aug 30, 2005 10:34 am
- Location: slovakia
I tried to do the same on my project, but disabling the lighting doesn't stop the object to cast shadows on itself.
In my case, I had a very low poly model, and the shadow looked ok on the ground, but on the model had some artifacts. So I think this is an interesting feature to implement (if anyone knows how).
In my case, I had a very low poly model, and the shadow looked ok on the ground, but on the model had some artifacts. So I think this is an interesting feature to implement (if anyone knows how).