Class PostProcessing
java.lang.Object
net.risingworld.api.objects.visuals.PostProcessing
Handles various post processing effects. If you set a post processing setting, it overrides
the default value of the game - for example, effects like the blur effect are used by the game if the ESC menu is
active. If you override the blur value, it also overrides the blur effect in the ESC menu.
To reset a particular setting to the default setting (more precisely, to let the game take control over this setting again), call the particular reset method (e.g resetBlur() to reset the blur effect etc).
To reset a particular setting to the default setting (more precisely, to let the game take control over this setting again), call the particular reset method (e.g resetBlur() to reset the blur effect etc).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal BlurApplies a blur effect to the screenfinal ChromaticAberrationApplies a chromatic distortion/aberration effect to the screen (sometimes also called color/scene fringing)final ColorFilterOverrides the color of the screen.final ContrastOverrides the contrast of the screenfinal DarkTonesOverrides the dark tones (i.e dark areas / shadows) on the screenfinal ExposureAdjusts the screen exposurefinal FilmGrainApplies a film grain effect to the screenfinal FogOverrides the global fog in the scenefinal HighlightsOverrides the highlights (i.e bright areas) on the screenfinal HueOverrides the (color) hue of the screenfinal LensDistortionApplies a distortion effect to the screenfinal MidtonesOverrides the midtones on the screenfinal SaturationOverrides the saturation of the screenfinal VignetteApplies a vignette effect (i.e a color applied to the corner of the screen) to the screenfinal WhiteBalanceApplies a white balance effect to the screen. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
contrast
Overrides the contrast of the screen -
saturation
Overrides the saturation of the screen -
hue
Overrides the (color) hue of the screen -
colorFilter
Overrides the color of the screen. Multiplies the screen color with the provided color. HDR values are supported (i.e RGB values above 1.0) -
filmGrain
Applies a film grain effect to the screen -
chromaticAberration
Applies a chromatic distortion/aberration effect to the screen (sometimes also called color/scene fringing) -
lensDistortion
Applies a distortion effect to the screen -
blur
Applies a blur effect to the screen -
vignette
Applies a vignette effect (i.e a color applied to the corner of the screen) to the screen -
whiteBalance
Applies a white balance effect to the screen. You can also use this to make the scene appear warmer or colder -
exposure
Adjusts the screen exposure -
fog
Overrides the global fog in the scene -
darktones
Overrides the dark tones (i.e dark areas / shadows) on the screen -
midtones
Overrides the midtones on the screen- See Also:
-
highlights
Overrides the highlights (i.e bright areas) on the screen- See Also:
-
-
Constructor Details
-
PostProcessing
public PostProcessing()Creates a new, empty post processing profile.
-