paintor
11-19-2004, 01:54 AM
Hi,
I've been trying to implement 16 bit float pbuffers with 16bit float textures. As i understand it you are no longer clamped to the [0,1] range with such textures using ATI_texture_float extension with GL_RGBA_FLOAT16_ATI, however in GLSL when working with negative values, nothing seems to work, only the positive values.
The GLSL spec odviously copes with negatives, so i am wondering what the range of a 16 bit float can have, and also if anybody else has had such experiences ??
thanks
I've been trying to implement 16 bit float pbuffers with 16bit float textures. As i understand it you are no longer clamped to the [0,1] range with such textures using ATI_texture_float extension with GL_RGBA_FLOAT16_ATI, however in GLSL when working with negative values, nothing seems to work, only the positive values.
The GLSL spec odviously copes with negatives, so i am wondering what the range of a 16 bit float can have, and also if anybody else has had such experiences ??
thanks