初始化内容

This commit is contained in:
2026-09-16 14:07:40 +08:00
parent 6934b390bf
commit 4f643c1e7c
18350 changed files with 6088489 additions and 305 deletions
+19
View File
@@ -0,0 +1,19 @@
#version 450
layout(binding = 0) uniform UniformBufferObject
{
mat4 viewProj;
} ubo;
layout(location = 0) in vec3 inPosition;
layout(location = 1) in vec4 inColor;
layout(location = 0) out vec4 fragColor;
void main()
{
gl_PointSize = 1.0;
gl_Position = ubo.viewProj * vec4(inPosition, 1.0);
fragColor = inColor;
}