Hi, I have two different programs, the first one of which uses GL_PATCHES primitives and has program->setPatchParameter(GL_PATCH_VERTICES) set to 1. The second program does not specify a value as it does not use GL_PATCHES. I see PatchParameter called at link time with a value of 1 for the first program, but then again with a value of 3 for the second one. Never set back to 1 when the first program is used afterwards during draw, resulting in incorrect rendering.
Any idea? Fred ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=54464#54464 _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org