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
+14
View File
@@ -0,0 +1,14 @@
// MinecraftPT — final.fsh
// Final pass: copies the tonemapped result (colortex0, written by composite80)
// to the screen.
#version 430 compatibility
uniform sampler2D colortex0;
void main(){
vec2 coord = gl_FragCoord.xy / vec2(viewWidth, viewHeight);
vec3 color = textureLod(colortex0, coord, 0.0).rgb;
gl_FragColor = vec4(color, 1.0);
}