We get it. We use ad blockers too. But GameDev.net needs to display ads in order to continue to be a great platform for you.
Please whitelist GameDev.net. Also consider a GDNet+ subscription to remove bulk/3rd party ads.
Jump to content
This is not recommended for shared computers
Sign in anonymously
Don't add me to the active users list
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 23 April 2013 - 04:07 PM
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?
Posted 23 April 2013 - 04:15 PM
Negate the values: (-x, -y, -z).
Posted 23 April 2013 - 04:18 PM
Multiply it with -1 and you get opposite direction.
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC