This commit is contained in:
Anuken
2020-06-25 12:54:55 -04:00
parent d90807b29c
commit ecfac00c30
3 changed files with 4 additions and 4 deletions

View File

@@ -13,7 +13,7 @@ const float mth = 7.0;
void main(){
vec2 c = v_texCoords.xy;
vec2 c = v_texCoords;
vec2 v = vec2(1.0/u_resolution.x, 1.0/u_resolution.y);
vec2 coords = vec2(c.x / v.x + u_campos.x, c.y / v.y + u_campos.y);