Refactor in C++

This commit is contained in:
Phireh 2023-10-15 18:28:20 +02:00
commit abdd19f5e5
445 changed files with 68766 additions and 36566 deletions

12
shaders/text.frag Normal file
View file

@ -0,0 +1,12 @@
#version 330 core
in vec2 texuv;
out vec4 color;
uniform sampler2D text;
uniform vec3 text_color;
void main()
{
vec4 sampled = vec4(1.0, 1.0, 1.0, texture(text, texuv).r);
color = vec4(text_color, 1.0) * sampled;
}