Initial commit: Minecraft 光追着色器包(从零实现的 path tracing)
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user