Cleanup, code comments
This commit is contained in:
parent
358ab9d550
commit
8afe8d825d
4 changed files with 17 additions and 20 deletions
|
|
@ -8,5 +8,4 @@ layout (location = 0) out vec4 outColor;
|
|||
void main()
|
||||
{
|
||||
outColor = texture(samplerColor, inUV);
|
||||
outColor.rgb *= vec3(inUV, 0.0f);
|
||||
}
|
||||
Binary file not shown.
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue