Sign in to follow this  
ChristOwnsMe

XNA NormalizedByte4 Not Supported?

Recommended Posts

ChristOwnsMe    374
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
MJP    19754
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

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