Tower by DBRalir 2013-04-30T03:04:00
I tried the windows version, but it wouldn't play. It did provide the following in the error.txt
Shader error:0(1) : error C0000: syntax error, unexpected '(', expecting "::" at token "("
0(5) : error C5060: out can't be used with non-varying Position
0(6) : error C5060: out can't be used with non-varying Normal
0(7) : error C5060: out can't be used with non-varying TexCoord
-- SHADER CODE --
layout (location = 0) in vec3 VertexPosition;
layout (location = 1) in vec3 VertexNormal;
layout (location = 2) in vec2 VertexTexCoord;
uniform mat4 MVP;
out vec3 Position;
out vec3 Normal;
out vec2 TexCoord;
void main()
{
TexCoord = VertexTexCoord;
Normal = normalize(VertexNormal);
Position = VertexPosition;
gl_Position = MVP * vec4(VertexPosition,1.0);
}