Upload files to "src/openonyx/features/render"
This commit is contained in:
1 parent
009aefdc2c
commit
30e37a5641
5 files changed
+180
No files matched your search
@@ -0,0 +1,21 @@
|
||||
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);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user