Initial commit: Minecraft 光追着色器包(从零实现的 path tracing)

This commit is contained in:
WpyQwq
2026-09-19 12:06:22 +08:00
commit 59e30822f8
314 changed files with 9259 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
// MinecraftPT — Post_VS
// Fullscreen triangle vertex shader for composite passes.
void main(){
// Fullscreen triangle
vec2 pos = vec2(
gl_VertexID == 0 ? -1.0 : (gl_VertexID == 1 ? 3.0 : -1.0),
gl_VertexID == 0 ? -1.0 : (gl_VertexID == 1 ? -1.0 : 3.0)
);
gl_Position = vec4(pos, 1.0, 1.0);
}