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
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 wi
2 matches
Mail list logo