Carsten Neumann ha scritto: > Have you made any changes to the vertex and or fragment program? (I've > attached my version for reference - it has no changes compared to what > is in cvs). Especially the second warning is very surprising as in my > version of the tutorial the vertex shader does write to fvObjectPosition.
in fact it doesn't: vec4 fvObjectPosition = gl_ModelViewMatrix * gl_Vertex; in that way fvObjectPosition is re-declared and the shader is not writing into varying... it should be something like fvObjectPosition = vec3( gl_ModelViewMatrix * gl_Vertex ); am i wrong? FT. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
