14 lines
346 B
GLSL
14 lines
346 B
GLSL
#version 330
|
|
|
|
#moj_import <minecraft:fog.glsl>
|
|
#moj_import <minecraft:dynamictransforms.glsl>
|
|
|
|
in float sphericalVertexDistance;
|
|
in float cylindricalVertexDistance;
|
|
|
|
out vec4 fragColor;
|
|
|
|
void main() {
|
|
fragColor = apply_fog(ColorModulator, sphericalVertexDistance, cylindricalVertexDistance, 0.0, FogSkyEnd, FogSkyEnd, FogSkyEnd, FogColor);
|
|
}
|