feat: initialize OpenGL

This commit is contained in:
2026-03-05 17:01:01 +08:00
parent 83c271ec8f
commit 9fe1eaec24
21 changed files with 5866 additions and 0 deletions

12
src/shaders/fShader.glsl Normal file
View File

@@ -0,0 +1,12 @@
#version 430
in vec2 tc;
in vec4 varyingColor;
out vec4 color;
layout (binding = 0) uniform sampler2D samp;
void main(void) {
color = texture(samp, tc);
//color = varyingColor;
}