[osg-users] Per-camera uniform

John Donovan john.donovan at embryonicstudios.com
Thu Sep 13 08:49:29 PDT 2007


John Donovan wrote:
> I have a bunch of slave cameras set up under a osgViewer:Viewer, all looking at
> the same scene, and a GLSL program I want to run for each camera. But I want to
> pass in a per-camera uniform variable into my shader. Any idea how I should go
> about this?
> 
> -J

Scratch that, I've sorted it. The way my brain's working, you'd think it was
Friday...

-J



______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________



More information about the osg-users mailing list