Files
minecraft-pt/shaders/Lib/BasicFunctions/NetherColor.glsl
T

17 lines
329 B
GLSL

// 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