Archived
1
0
Fork 0

first and last commit

This commit is contained in:
Sen 2025-09-02 14:43:36 +02:00
commit c9e78fd810
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
381 changed files with 37141 additions and 0 deletions

12
shaders/text.vsh Normal file
View file

@ -0,0 +1,12 @@
layout (location = 0) in vec2 coords;
out vec2 tex_coord;
uniform vec2 screen;
uniform vec2 offset;
uniform vec2 size;
void main() {
tex_coord = coords;
gl_Position = vec4((vec2(offset.x, screen.y - offset.y) + (coords * vec2(size.x, -size.y))) / screen * 2.0 - 1.0, 0.0, 1.0);
}