Hi Mike,

I can't really work out exactly what issue you have given your email.
The best I can do is point your towards the osgshader example for an
example of shaders set up in code, or the
OpenSceneGraph-Data/glsl_*.osg example .osg files.

Robert.

On Thu, Jan 31, 2008 at 8:00 PM, Dunhour, Mike (CIV) <[EMAIL PROTECTED]> wrote:
>
>
>
>  Hello
>  Still trying to get a shader program running in an .osg mesh file
>
>  Doing the
>  Program {
>   Shader{
>     Type FRAGMENT
>     Code {
>     "void main (void);"
>     "{"
>     "  gl_FragColor = vec4 (1.0, 0.0, 0.0, 1.0);"
>     ""
>     "}"
>
>  Trying to get shader code to be called from file replacing code with
>  File "Shader_f.gl"
>
>  But no go
>  Any ideas
>
>  Mr. D
>  _______________________________________________
>  osg-users mailing list
>  osg-users@lists.openscenegraph.org
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
>  g
>  _______________________________________________
>  osg-users mailing list
>  osg-users@lists.openscenegraph.org
>  http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to