Class PostProcessing

java.lang.Object
net.risingworld.api.objects.visuals.PostProcessing

public final class PostProcessing extends Object
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).
See Also:
  • Field Details

    • contrast

      public final Contrast contrast
      Overrides the contrast of the screen
    • saturation

      public final Saturation saturation
      Overrides the saturation of the screen
    • hue

      public final Hue hue
      Overrides the (color) hue of the screen
    • colorFilter

      public final ColorFilter 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

      public final FilmGrain filmGrain
      Applies a film grain effect to the screen
    • chromaticAberration

      public final ChromaticAberration chromaticAberration
      Applies a chromatic distortion/aberration effect to the screen (sometimes also called color/scene fringing)
    • lensDistortion

      public final LensDistortion lensDistortion
      Applies a distortion effect to the screen
    • blur

      public final Blur blur
      Applies a blur effect to the screen
    • vignette

      public final Vignette vignette
      Applies a vignette effect (i.e a color applied to the corner of the screen) to the screen
    • whiteBalance

      public final WhiteBalance whiteBalance
      Applies a white balance effect to the screen. You can also use this to make the scene appear warmer or colder
    • exposure

      public final Exposure exposure
      Adjusts the screen exposure
    • fog

      public final Fog fog
      Overrides the global fog in the scene
    • darktones

      public final DarkTones darktones
      Overrides the dark tones (i.e dark areas / shadows) on the screen
    • midtones

      public final Midtones midtones
      Overrides the midtones on the screen
      See Also:
    • highlights

      public final Highlights 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.