works on browser

This commit is contained in:
NurgazievichR committed 2025-04-08 16:19:54 +06:00
1 parent 946c5d784b
commit 60b71317ce
15 files changed
+83 -17

No files matched your search

+12
View File
@@ -0,0 +1,12 @@
precision mediump float;
uniform sampler2D Texture;
varying vec2 texCoord;
void main()
{
vec4 color = texture2D(Texture,texCoord).rgba;
//gl_FragColor = vec4(color.rgb*0.1 + vec3(0.9, 0.9, 0.9), 1.0);
gl_FragColor = color;
}