Interface IDhApiAmbientOcclusionConfig
- All Superinterfaces:
IBindable
,IDhApiConfigGroup
Distant Horizons' fog configuration.
- Since:
- API 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionbias()
Increasing the value can reduce banding at the cost of reducing the strength of the effect.The radius, measured in pixels, that blurring is calculated.enabled()
Determines if Ambient Occlusion is renderedminLight()
Determines how dark the occlusion shadows can be.radius()
Determines the radius Screen Space Ambient Occlusion is applied, measured in blocks.Determines how many points in space are sampled for the occlusion test.strength()
Determines how dark the Screen Space Ambient Occlusion effect will be.Methods inherited from interface com.seibel.distanthorizons.coreapi.interfaces.dependencyInjection.IBindable
finishDelayedSetup, getDelayedSetupComplete
-
Method Details
-
enabled
IDhApiConfigValue<Boolean> enabled()Determines if Ambient Occlusion is rendered -
sampleCount
IDhApiConfigValue<Integer> sampleCount()Determines how many points in space are sampled for the occlusion test. Higher numbers will improve quality and reduce banding, but will increase GPU load. -
radius
IDhApiConfigValue<Double> radius()Determines the radius Screen Space Ambient Occlusion is applied, measured in blocks. -
strength
IDhApiConfigValue<Double> strength()Determines how dark the Screen Space Ambient Occlusion effect will be. -
bias
IDhApiConfigValue<Double> bias()Increasing the value can reduce banding at the cost of reducing the strength of the effect. -
minLight
IDhApiConfigValue<Double> minLight()Determines how dark the occlusion shadows can be.
0 = totally black at the corners
1 = no shadow -
blurRadius
IDhApiConfigValue<Integer> blurRadius()The radius, measured in pixels, that blurring is calculated.
Higher numbers will reduce banding at the cost of GPU performance.
-