On 21 March 2014 15:59, Conan <[email protected]> wrote:

> I have a RTT camera which renders to texture using graphics context 1.
>  Can I render this texture on quad in graphics context 2?
>

If you explictly create the graphics contexts so they are shared you can
share texture objects, however, to do this you have make sure that the two
graphics contexts are syncronized so that they never read/write to the same
GL objects at the same time, which for practically purposes means running
them in single threaded.

RTT Texture are best managed within the same context as the texture will be
used.

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

Reply via email to