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
Modifier and TypeFieldDescriptionfinal Blur
Applies a blur effect to the screenfinal ChromaticAberration
Applies a chromatic distortion/aberration effect to the screen (sometimes also called color/scene fringing)final ColorFilter
Overrides the color of the screen.final Contrast
Overrides the contrast of the screenfinal DarkTones
Overrides the dark tones (i.e dark areas / shadows) on the screenfinal Exposure
Adjusts the screen exposurefinal FilmGrain
Applies a film grain effect to the screenfinal Fog
Overrides the global fog in the scenefinal Highlights
Overrides the highlights (i.e bright areas) on the screenfinal Hue
Overrides the (color) hue of the screenfinal LensDistortion
Applies a distortion effect to the screenfinal Midtones
Overrides the midtones on the screenfinal Saturation
Overrides the saturation of the screenfinal Vignette
Applies a vignette effect (i.e a color applied to the corner of the screen) to the screenfinal WhiteBalance
Applies a white balance effect to the screen. -
Constructor Summary
-
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.
-