Hi Robert,

Thank you for the fix.


Cheers,
Cedric

-- 
+33 659 598 614  Cedric Pinson mailto:[email protected]
http://www.plopbyte.net


On Wed, 2009-10-28 at 13:39 +0000, Robert Osfield wrote:
> Thanks Cedric, changes now merged and submitted to svn/trunk of
> OpenSceneGraph-Data and OpenSceneGraph.
> 
> FYI, I put skinning.vert into
> OpenSceneGraph-Data/shaders/skinning.vert and updated
> osganimationskinning to pick up on this new location.  I've done this
> to be in keeping with where the rest of the shaders are located.
> 
> I'd also like to report an error...  When running the
> "osganimationhardware nathan.osg" I'm getting the following error:
> 
> VERTEX glCompileShader "" FAILED
> VERTEX Shader "" infolog:
> Vertex shader failed to compile with the following errors:
> ERROR: 0:20: error(#168) Reserved built-in name gl_Vertex
> ERROR: 0:21: error(#168) Reserved built-in name gl_Normal
> ERROR: 0:26: error(#168) Reserved built-in name gl_ModelViewMatrix
> ERROR: 0:27: error(#168) Reserved built-in name gl_ProjectionMatrix
> WARNING: 0:44: warning(#256) Matrix construction from matrix is not
> allowed in implicit GLSL version number 110
> ERROR: error(#273) 4 compilation errors.  No code generated
> 
> 
> Removing the lines:
> 
> uniform mat4 gl_ModelViewMatrix;
> uniform mat4 gl_ProjectionMatrix;
> 
> and:
> 
> in vec4 gl_Vertex;
> in vec3 gl_Normal;
> 
> Fixed the error, so I've checked this in.  Fixing this allowed the app
> to run without errors.
> 
> Cheers,
> Robert.
> 

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
osg-submissions mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-submissions-openscenegraph.org

Reply via email to