Skip to main content
GameDev.net gamedev.net
🔒 Locked

inverse normals

Started by jor1980 Apr 23, 2013 at 10:07 PM 1 replies 1.6k views
Original Post
jor1980
jor1980

Hi i want to inverse some normal data that i have, supposing that normals of a vertex has a value of (x,y,z) which is the formula to obtain the normals value of that face face looking to the opposite direction?

Brother Bob
Brother Bob

Negate the values: (-x, -y, -z).

belfegor
belfegor

Multiply it with -1 and you get opposite direction.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.