22 lines
959 B
Java
22 lines
959 B
Java
package openonyx.features.render;
|
|
|
|
import openonyx.features.Module;
|
|
import openonyx.features.ModuleCategory;
|
|
import openonyx.history.internal.BooleanSetting;
|
|
import openonyx.history.internal.NumberSetting;
|
|
|
|
public final class FogBlur extends Module {
|
|
public final NumberSetting tint;
|
|
public final BooleanSetting disableOnZoom;
|
|
public final NumberSetting distance = new NumberSetting("Distance", 24.0, 4.0, 256.0, 1.0).withSuffix("m");
|
|
public final BooleanSetting clientColor;
|
|
public final NumberSetting fade = new NumberSetting("Fade", 48.0, 4.0, 256.0, 1.0).withSuffix("m");
|
|
|
|
public FogBlur() {
|
|
super("Fog Blur", "Blurs the world based on distance from the camera", ModuleCategory.RENDER);
|
|
this.clientColor = new BooleanSetting("Client Color", true);
|
|
this.tint = new NumberSetting("Tint", 0.5, 0.05, 0.95, 0.05).visibleWhen(this.clientColor);
|
|
this.disableOnZoom = new BooleanSetting("Disable on zoom", true);
|
|
}
|
|
}
|