Sign in to follow this  
devgamedev

normal map for dummies

Recommended Posts

Hi! I know how to make normal map thanks to the plug'in for photoshop from nVidia. But I would know how to make my own normal maps thanks to heightmap in gray scale. nVidia in its cg tutorial book gave one formula but it seems to not provide the same results as its plug'in... So can anyone help me and tell me how to perform normal map??? (I just want to make some dot3 bump mapping!!)

Share this post


Link to post
Share on other sites
Well, have you checked out the errata on the nVidia book?

There was an error in that formula, check out the errata for page 203.

You can also code a pixel shader that will encode a model's normals as colors (using the normals-to-colors equation), and save a screenshot of the result, which you can then use as the normal map.

Hope it helped.

Share this post


Link to post
Share on other sites
In fact I did use the nVidia formula but it seems not to be the correct formula or not the entire formula. I saw on a thread that there a core matrix to create my filter to compute my normal map.
So do you know a tutorial about normal map from heightmap. Something which different from the nVidia tutorial book?? (which is a great book)!

Thanks for the errata in the book. I did find that there was an error and I corrected them.
Thanks for your help!!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this