-
Floating Point Textures and Texture Encoding
Hi All,
I wish to create a texture containing floating point values. How is this done ?
I "guess" that I could do something like this
glTexImage2D(GL_TEXTURE_RECTANGLE_EXT, 0,
GL_ATI_texture_float
IMAGE_WIDTH,
IMAGE_HEIGHT,
0,
GL_RGBA,
GL_FLOAT,
bImage);
But I am abit confused, could my bImage then be composed 4 channels each with 32 bit precision ?
-
Re: Floating Point Textures and Texture Encoding
opengl extensions are clearly documented in sgi's registry:
http://oss.sgi.com/projects/ogl-samp...ture_float.txt
among other things, the extansions that make it to the core can be found in the spec:
http://www.opengl.org/documentation/spec.html
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules