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.  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 setup failed, FBO status= 0x8cd6
>
> My hardware and driver versions are:
>
> HW: NVidia GT 540M
> Driver: 268.30
>
> I have not dug yet to see if this is something in OSG that may be incorrectly 
> setting up the FBO or if it's a fundamental problem.
>
> Any quick ideas?
>
> ...
>
> Thank you!
>
> Cheers,
> Brad
> _______________________________________________
> osg-users mailing list
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to