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
@@ -0,0 +1,17 @@
// MinecraftPT — Nether Color
// Dimension-specific color and lighting adjustments.
#ifndef NETHER_COLOR_GLSL
#define NETHER_COLOR_GLSL
vec3 GetDimensionSkylight(vec3 skyColor){
#ifdef DIMENSION_NETHER
return skyColor * 0.4;
#elif defined DIMENSION_END
return skyColor * 0.2;
#else
return skyColor;
#endif
}
#endif