HI Fred,

> I would like to use the glFramebufferTextureEXT function introduced in the 
> EXT_geometry_shader4 extension. My need is to control the layer of the 3D 
> texture target with the gl_Layer variable present in geometry shaders. For 
> the moment, I hacked the FrameBufferObject sources to replace the call to 
> glFramebufferTexture3D (which needs a fixed zoffset) by a call to 
> glFramebufferTexture that rely on gl_Layer.
>
> I volunteer to propose something cleaner but I would like to read some 
> implementations tips or ideas on how to do this.

I'm not familiar with this extension yet, so can't provide an tips off
the cuff.  I'll need to learn about the extension and how it's used.

I could happily use your modifications as means of learning how it's
used and then give you feedback ;-)

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

Reply via email to