PDA

View Full Version : Viewport shading normals inverted


cwikdahl
06-12-2003, 02:49 PM
Hello!

I have a problem with polygon objects being shaded on the wrong side, opposite the vertex normals. This is in the viewport. When I render the object it's 2-sided.

It doesn't matter if I reverse the normals. They still stay opposite. However, If I scale the object -1, freeze transforms and reverse normals, it displays correctly. So it has something to do with mirroring...

I use a custom hw shader, not at all very different from aw's examples, and I suspect something is set here... Cause when I assign the initial lambert shader the problem is still there.

I have no idea of how this problem arises. The scene works fine on one computer, but displays odd on another... Crazy... :/

Now, is this a known problem? Please say yes ;)

/Claes

Levitateme
06-12-2003, 06:34 PM
ohyes, i have tha tproblem as well. its the shaders i use im positive of it. im using a regular toon shader and my normals are all weird just like yours. if i export my geormetry as obj, import it back in that usually fixes it. try that maybe

CGTalk Moderation
01-15-2006, 09:00 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.