File size: 452 Bytes
d46f4a3
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
package net.minecraft.client.renderer;

import com.mojang.blaze3d.shaders.FogShape;
import net.minecraftforge.api.distmarker.Dist;
import net.minecraftforge.api.distmarker.OnlyIn;

@OnlyIn(Dist.CLIENT)
public record FogParameters(float start, float end, FogShape shape, float red, float green, float blue, float alpha) {
    public static final FogParameters NO_FOG = new FogParameters(Float.MAX_VALUE, 0.0F, FogShape.SPHERE, 0.0F, 0.0F, 0.0F, 0.0F);
}