[osg-users] Structs in GLSL shaders with OSG

2009-09-03 Thread Wyatt B. S. Earp
I posted this via the mailing list, but it seems to never have gone through. I want to use a struct in my glsl shader. osg::StateSet::getOrCreateUniform allows for the specification of Uniform::Type, but I don't see an enumeration for struct. How would I create/set the uniform struct? WE

Re: [osg-users] Structs in GLSL shaders with OSG

2009-09-03 Thread Thrall, Bryan
Wyatt B. S. Earp wrote on Thursday, September 03, 2009 2:38 PM: I posted this via the mailing list, but it seems to never have gone through. I want to use a struct in my glsl shader. osg::StateSet::getOrCreateUniform allows for the specification of Uniform::Type, but I don't see an

Re: [osg-users] Structs in GLSL shaders with OSG

2009-09-03 Thread Jean-Sébastien Guay
Hi Wyatt, I posted this via the mailing list, but it seems to never have gone through. Err, yeah, it came through fine (all three times) http://www.mail-archive.com/osg-users@lists.openscenegraph.org/msg31649.html J-S -- __ Jean-Sebastien