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.
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
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
3 matches
Mail list logo