Testing doc script

This commit is contained in:
Anuken
2020-06-14 18:41:42 -04:00
parent 126b54b981
commit 5f79040faa
37 changed files with 59 additions and 30 deletions
+2 -2
View File
@@ -6,14 +6,14 @@ uniform vec2 u_campos;
uniform vec2 u_resolution;
uniform float u_time;
varying vec2 v_texCoord;
varying vec2 v_texCoords;
const float mscl = 40.0;
const float mth = 7.0;
void main(){
vec2 c = v_texCoord.xy;
vec2 c = v_texCoords.xy;
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);