Sign in to follow this  
V-man

Replacement for GL_SIGNED_RGBA_NV

Recommended Posts

Is there is a replacement for this? Something that is in core GL perhaps. I'm using shaders so I can do some manipulation but it would cost instructions. I could use floating point format but it would cause a slowdown. I think I will go for floating point for the moment. I have the following from a demo code glTexImage3D(GL_TEXTURE_3D, 0, GL_SIGNED_RGBA_NV, size, size, size, 0, GL_RGBA, GL_BYTE, data);

Share this post


Link to post
Share on other sites
Quote:
Original post by V-man
Is there is a replacement for this? Something that is in core GL perhaps.
I don't think. As you write, half-floats are obviously going to have a different footprint but they may give a few unpredicted advantages. Anyway, this is old FFP notions, it's good they didn't survive.
Quote:
Original post by V-man
I'm using shaders so I can do some manipulation but it would cost instructions.
Are you really expecting a MAD to slowdown? Any card supporting decent floating point formats won't have any issue in managing a bunch of MADs, let alone one.

Share this post


Link to post
Share on other sites
If I use float, then I don't need to add additional instructions in the shader. It is just that the texture slows down things because of the format. Also, problem with floating point is that I can't have mipmaps on some hw.

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