Cleanup, code comments

This commit is contained in:
Sascha Willems 2019-03-29 08:07:20 +01:00
parent 358ab9d550
commit 8afe8d825d
4 changed files with 17 additions and 20 deletions

View file

@ -8,5 +8,4 @@ layout (location = 0) out vec4 outColor;
void main()
{
outColor = texture(samplerColor, inUV);
outColor.rgb *= vec3(inUV, 0.0f);
}

View file

@ -7,8 +7,6 @@ layout (location = 0) out vec2 outUV;
void main()
{
// outUV = vec2((gl_VertexIndex << 1) & 2, gl_VertexIndex & 2);
// gl_Position = vec4(outUV * 2.0f - 1.0f, 0.0f, 1.0f);
outUV = inUV;
gl_Position = vec4(inPos, 1.0f);
}