refactoring

This commit is contained in:
Vladislav Khorev committed 2026-01-09 22:33:46 +03:00
1 parent 9fc0adf210
commit d1cab1f3b3
2082 files changed
+13644 -161518

No files matched your search

@@ -0,0 +1,14 @@
precision mediump float;
varying vec2 TexCoord;
varying float vHeight;
uniform sampler2D Texture;
void main()
{
vec4 stoneColor = texture2D(Texture, TexCoord);
gl_FragColor = vec4(stoneColor.rgb, vHeight);
//gl_FragColor = vec4(vHeight, vHeight, vHeight, vHeight);
//gl_FragColor = vec4(1.0, 0.0, 1.0, 1.0);
}