first code attempt

This commit is contained in:
2026-04-02 10:33:22 -07:00
parent ad32f18bf5
commit 73a4d5b1da
50 changed files with 4953 additions and 2 deletions

9
shaders/text.frag Normal file
View File

@@ -0,0 +1,9 @@
#version 330 core
in vec2 vUV;
uniform sampler2D uTexture;
uniform vec3 uColor;
out vec4 FragColor;
void main() {
float alpha = texture(uTexture, vUV).r;
FragColor = vec4(uColor, alpha);
}