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 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 samples out there on this subject.
> 
> Mr. D
> _______________________________________________
> 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