Hi,
I think you should use GL_LUMINANCE instead of GL_RGBA too.
Best regards
Raymond
Johannes Leidheiser wrote:
Hi Max,
I think you should use _depth->allocateImage(vec->x(), vec->y(), 1, GL_RGBA, GL_UNSIGNED_BYTE); instead of GL_INT because the color buffer of your graphics card has 8 bit per color channel.
Regards,
jojo
------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=12205#12205
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org