Hi all,

I want to do some general purpose computation with shader and want to do some render-to-texture. The result texture is a 16bit float or 32bit float texture. I use a framebuffer object which holds the float texture to render to. Can I render float values to that texture with a shader? Now, when I want the shader to store a value into the texture (with gl_FragColor), which is much bigger than 1.0 (e.g. 50.0), the result in the texture is only 1.0 and not 50.0!

Can anyone help me?

bye
Oliver


-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to