first commit

This commit is contained in:
2025-12-18 09:19:39 +08:00
parent 1bc7adf399
commit d4975da9a5
24 changed files with 2506 additions and 0 deletions

8
shaders/bg.vert Normal file
View File

@@ -0,0 +1,8 @@
#version 330 core
// 全屏背景:直接在裁剪空间画一个矩形(不受相机/旋转影响)
layout(location = 0) in vec2 aPos; // NDC: [-1,1]
void main() {
gl_Position = vec4(aPos, 0.0, 1.0);
}