GLSL compile error
I am getting a syntax error with my simple fragment shader. The engine I
am using doesn't output where the error is and I have no idea how to check
for error output. Here is the code:
uniform sampler2D diffuseMap;
varying vec2 vTexCoord;
void main(void)
{
gl_FragColor = texture2D(diffuseMap, vTexCoord);
}
No comments:
Post a Comment