Hi Brian,
I've been working with the osgscreencapature example to use pbuffers for
offscreen rendering. I'm having a problem with floating point values being
clamped [0.0 - 1.0].
Any ideas on how to turn the clamping off?
There's been discussion about this in the past, check the archives. I
think the most important part was using gl_FragData[0] instead of
gl_FragColor to write your data into the texture. Also some image
formats (I mean OpenGL formats, not file formats) are clamped by
default, so I think you need to be careful when creating your osg::Image
to use the right one.
BTW, please don't reply to an old thread when starting a new topic.
Please start a new message instead. I have my mail client list messages
in threaded mode, and your message came in buried under a very long
thread about osgOcean.
Hope this helps,
J-S
--
______________________________________________________
Jean-Sebastien Guay [email protected]
http://www.cm-labs.com/
http://whitestar02.webhop.org/
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org