Re: [osg-users] call for a shader from within .osg/ive file

2007-12-06 Thread Jeremy Moles
Shader { DataVariance DYNAMIC type FRAGMENT file "frag/awesome.glsl" } On Thu, 2007-12-06 at 13:26 -0800, Dunhour, Mike (CIV) wrote: > > Hello > > After much trial and error got a glsl shader running from within an .osg > mesh file by using 'program'. > > Wondering if it is possib

[osg-users] call for a shader from within .osg/ive file

2007-12-06 Thread Dunhour, Mike (CIV)
Hello After much trial and error got a glsl shader running from within an .osg mesh file by using 'program'. Wondering if it is possible to simply make a call for a shader file (.cg..etc) from within the .osg mesh file, instead of having to place the whole shader code into the file. No sam