Re: [osg-users] Accessing floating point textures in Fragment Shader

2008-10-17 Thread Robert Osfield
Hi Harash, floating point formats are not available for all pixel formats. Have a look at the OpenGL specs/extension registry on the topic of float textures to see what floating point formats are supported. Robert. On Fri, Oct 17, 2008 at 8:28 AM, Harash Sharma <[EMAIL PROTECTED]> wrote: > Hi a

[osg-users] Accessing floating point textures in Fragment Shader

2008-10-17 Thread Harash Sharma
Hi all,       I am facing a problem in accessing the floating point texture within a fragment shader. I have some 2D floating point array that I wish to access within the Fragment Shader. For the purpose, 1. I have created an image with the pixel format GL_LUMINANCE and data type of GL_FLOAT.