PDA

View Full Version : Getting misss to work with single sufaces, i.e. leaves.


sugarandfat
12-27-2006, 05:05 AM
I finally figured out the reason only half my sufaces (leaves on a tree) were working with the misss shader is because the normals have to be facing the camera.

So now the question is, how do I make a hundred thousand surface normals all face the camera?

Daniel.

sugarandfat
12-28-2006, 12:49 AM
If anyone's interested I've solved the problem by reducing the flatness attr of the leaves, thereby giving them thickness and facing all the normals outwards.

Unfortunately this triples the poly count, so if anyone has a solution to the above, I'd still love to hear it.

Exo7
12-28-2006, 01:03 AM
Rygoody just reported (http://forums.cgsociety.org/showpost.php?p=4093456&postcount=1) that the mia_architectural shader (http://forums.cgsociety.org/showpost.php?p=4091635&postcount=86) was good at shading leaves, you should give it a try maybe...

CGTalk Moderation
12-28-2006, 01:03 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.