17 lines
329 B
GLSL
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 |