Jump to content
  • Advertisement
Sign in to follow this  
GhostAce

Float texture formats.

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

Hi. It is impossible with my hardware (GF6600) to use float16 textures in vertex program and float32 textures in fragment program. Driver fall's back to software rendering (or whatever). Does any GPU have access to f16 in VP and/or f32 in FP? I was pretty sure there isn't, but yesturday I saw a demo using D3DFMT_R32F for shadowmaps. I checked nVidia texture_float specification and there is nothing like RED_FLOAT32 format - so how come in DirectX there is? Could anyone clarify this to me? thx in advance

Share this post


Link to post
Share on other sites
Advertisement
I don't know about VP's (I thought that you could use fp16 in them, but just unfiltered), but in the FP it's totally possible... although do note that again FP32 is unfiltered everywhere. Look at the ARB_texture_float: I think you want one of the single component 32 ones, so for example "ALPHA32F_ARB".

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!