Jump to content

  • Log In with Google      Sign In   
  • Create Account

happymonkey

Member Since 15 Jul 2012
Offline Last Active Sep 06 2012 03:09 PM

Posts I've Made

In Topic: Negative Value in Texture using GL_SHORT

15 July 2012 - 02:16 PM

Thanks very much. I think I get the idea.

In Topic: Negative Value in Texture using GL_SHORT

15 July 2012 - 01:28 PM

To Brother Bob,

Thanks for clarification. It is very helpful.

For GL_SHORT, although it can store negative value, if these values are clamped, it will become meaningless, right? I just wonder whether there are some reasons for GL_SHORT's existence, or we can just leave it there for future support.

GL_RGBA32F may cost too much memory for me. I try GL_RGB16I, but it output nothing. Is there something wrong about my usage. I use like this:
glTexImage2D(GL_TEXTURE_2D, 0, GL_RGB16I, _dim[0], _dim[1], 0, GL_RGB, GL_SHORT, _vel);

Again, Thanks

PARTNERS