Jump to content
  • Advertisement
Sign in to follow this  
ChristOwnsMe

XNA NormalizedByte4 Not Supported?

This topic is 2229 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

I am trying to generate procedural textures, and was using some functions that use NormalizedByte4. However, whenever I actually draw something, on the apply() of the shader I am using, I get an exception "XNA Framework HiDef profile does not support vertex texture format NormalizedByte4." I am using PS 3.0 as well. I googled a lot and could barely find any info on NormalizedByte4, let alone it not being supported in HiDef. Any ideas? Thank you. Edited by ShadowMan777

Share this post


Link to post
Share on other sites
Advertisement
Actual SM3.0 hardware that supported vertex texture fetch (Nvidia 6000-series and 7000-series) only supported 32-bit floating point texture formats in the vertex shader. So I'm guessing they probably restricted the HiDef profile to those formats, so that they could support that subset of hardware.

Share this post


Link to post
Share on other sites
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!