Switch shader texture usage from sampler2D to texture2D plus sampler (fixes #1)

This commit is contained in:
Keavon Chambers
2020-07-11 19:01:48 -07:00
parent 58992ba8ad
commit 642c7ffd00
8 changed files with 70 additions and 6 deletions
+1 -1
View File
@@ -5,6 +5,6 @@ layout(location=0) in vec2 a_position;
layout(location=0) out vec2 v_uv;
void main() {
v_uv = a_position;
v_uv = (a_position + 1) / 2;
gl_Position = vec4(a_position, 0.0, 1.0);
}