Hi,

Actually I provided the wrong error code. The error code is:

GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT

According the OpenGL documentation attachment completion is defined as:


> Attachment Completeness
> 
> Each attachment point itself must be complete according to these rules. Empty 
> attachments (attachments with no image attached) are complete by default. If 
> an image is attached, it must adhere to the following rules:
> 
>     * The source object for the image still exists and has the same type it 
> was attached with.
>     * The image has a non-zero width and height.
>     * The layer for 3D or array textures attachments is less than the depth 
> of the texture.
>     * The image's format must match the attachment point's requirements, as 
> defined above. Color-renderable formats for color attachments, etc.
 

I'm pretty sure item 2 and item 4 are true in my case. Item 3 does not apply. 
I'm not exactly sure what item 1 means - any ideas?

Thank you!

Cheers,
Alex

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=45545#45545





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to