Jump to content
  • Advertisement
Sign in to follow this  
B_old

DXGI_FORMAT_R10G10B10A2_UNORM for per vertex normals

This topic is 3047 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Starting a new thread for this one as it is a specific question. What do you guys think of using DXGI_FORMAT_R10G10B10A2_UNORM for per vertex normals? It has a higher precision than UBYTE4 and one could still use the alpha channel as the sign for a compressed bi-tangent. It looks great to me right now, but I couldn't find many useful references on google, so I guess there is a catch. EDIT: If I doing this stuff right 0.002f results in 0.00293255f after compression to UNORM10 and decompression to float again. Is this plausible? Does it mean that I have to normalize my normals after decompression? That wouldn't be so great anymore. [Edited by - B_old on March 15, 2010 7:00:34 AM]

Share this post


Link to post
Share on other sites
Advertisement
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!