From Riccardo Corsi, "please find attached a small patch for HDR plugin, which simply set by default the internal pixel format to GL_RGB32F_ARB where appropriate.
From Riccardo Corsi, "please find attached a small patch for HDR plugin,
which simply set by default the internal pixel format to GL_RGB32F_ARB where appropriate.

In the current version there's a comment saying that the plugin set it to GL_RGB8 (even when reading from float) to support old graphics cards,
but the comment dates back to 2004...
What's more I believe that it's correct to expect a floating texture format if you're loading an hdr image.
It was quite troublesome for us to discover why our background image wasn't showing hdr data...

In case you accept the submission, I've removed the comment as it would be misleading to leave it there."


stmh/osg,artoolkit/osg,koshman86/osg,stmh/osg,omega-hub/osg,ghub/osg,stmh/osg,ntoand/osg,ghub/osg,omega-hub/osg,ntoand/osg,omega-hub/osg,artoolkit/osg,ntoand/osg,ntoand/osg,koshman86/osg,stmh/osg,koshman86/osg,XiaoCC/osg,XiaoCC/osg,omega-hub/osg,ghub/osg,stmh/osg,ghub/osg,artoolkit/osg,artoolkit/osg,XiaoCC/osg,XiaoCC/osg,koshman86/osg,XiaoCC/osg