Re: [osg-users] Error reported when using RGB_16F cubemap as FBO

2012-06-19 Thread Sergey Polischuk
Hi, Brad Add this lines and you should be ok: texture-setSourceType(GL_HALF_FLOAT); texture-setSourceFormat(GL_RGB); Cheers, Sergey. 19.06.2012, 05:01, Brad Colbert bcolb...@rscusa.com: Hi, I'm getting an error when I try to use a floating point texture as a cube map for an FBO.  

Re: [osg-users] Error reported when using RGB_16F cubemap as FBO

2012-06-19 Thread Brad Colbert
reported when using RGB_16F cubemap as FBO Hi, Brad Add this lines and you should be ok: texture-setSourceType(GL_HALF_FLOAT); texture-setSourceFormat(GL_RGB); Cheers, Sergey. 19.06.2012, 05:01, Brad Colbert bcolb...@rscusa.com: Hi, I'm getting an error when I try to use a floating point

[osg-users] Error reported when using RGB_16F cubemap as FBO

2012-06-18 Thread Brad Colbert
Hi, I'm getting an error when I try to use a floating point texture as a cube map for an FBO. I'm able to repeat the error using the prerendercubemap example where I changed line 223 to: texture-setInternalFormat(GL_RGB16F_ARB); The error I get is: RenderStage::runCameraSetUp(), FBO