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
@@ -2,9 +2,9 @@
uniform sampler2D u_texture;
uniform vec4 u_ambient;
varying vec2 v_texCoord;
varying vec2 v_texCoords;
void main(){
vec4 color = texture2D(u_texture, v_texCoord);
vec4 color = texture2D(u_texture, v_texCoords);
gl_FragColor = clamp(vec4(mix(u_ambient.rgb, color.rgb, color.a), u_ambient.a - color.a), 0.0, 1.0);
}