Fix coordinate system so it renders like before wgpu upgrade

This commit is contained in:
Keavon Chambers
2020-05-02 17:46:34 -07:00
parent 323a951362
commit 2ab74f7ba1
5 changed files with 27 additions and 35 deletions
+1 -2
View File
@@ -7,6 +7,5 @@ layout(location=0) out vec4 f_color;
layout(set = 0, binding = 0) uniform sampler2D t_texture;
void main() {
// f_color = texture(t_texture, v_uv / textureSize(t_texture, 0) * 100);
f_color = vec4(0.0, 1.0, 0.0, 1.0);
f_color = texture(t_texture, v_uv / textureSize(t_texture, 0) * 100);
}