Re: [osg-users] Sim/Frame Time/Stamp in shader

2015-01-01 Thread Conan Doyle
Ok. thanks... not sure why it didn't show up on my grep... Thanks for the reply. CD Trajce Nikolov NICK wrote: > Hi Conan, > > > yes, there is. Here is the grep of osg_ > > find . -name '*.cpp' -exec grep osg_ {} + > ./CubeMapGenerator.cpp:void CubeMapGenerator::generateMap(bool use_osg_sys

Re: [osg-users] Sim/Frame Time/Stamp in shader

2015-01-01 Thread Trajce Nikolov NICK
Hi Conan, yes, there is. Here is the grep of osg_ find . -name '*.cpp' -exec grep osg_ {} + ./CubeMapGenerator.cpp:void CubeMapGenerator::generateMap(bool use_osg_system) ./CubeMapGenerator.cpp:if (use_osg_system) { ./SceneView.cpp:osg::Uniform* uniform = _localStateSet->getOrCreateUn

[osg-users] Sim/Frame Time/Stamp in shader

2015-01-01 Thread Conan Doyle
Hi, Does OSG have a GLSL uniform for current sim time similar the osg_* uniforms (osg_color etc.)? CD ... Thank you! Cheers, Conan -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=62214#62214 ___