Hi Anish,

You can assign an osg::StateSet with require osg::Uniform the to each
osg::Camera.

Robert.

On 9 October 2012 12:59, Anish Thomas <[email protected]> wrote:
> Hi,
>
> I need to render the same geodes in multiple views (one master-camera per 
> view). The geode rendering is controlled by uniforms whose values change 
> based on the camera's attributes.
>
> Each master camera can move independently. With a 'ThreadPerContext' 
> threading model, how can I supply different values to shader uniforms of the 
> same (geode's) stateset in each view?
>
> Thank you!
>
> Cheers,
> Anish
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=50516#50516
>
>
>
>
>
> _______________________________________________
> 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

Reply via email to