Class GammaCorrectionFilter

java.lang.Object
com.jme3.post.Filter
com.jme3.post.filters.GammaCorrectionFilter
All Implemented Interfaces:
Savable

@Deprecated public class GammaCorrectionFilter extends Filter
Deprecated.
use the Gamma Correction setting instead.
  • Constructor Details

    • GammaCorrectionFilter

      public GammaCorrectionFilter()
      Deprecated.
    • GammaCorrectionFilter

      public GammaCorrectionFilter(float gamma)
      Deprecated.
  • Method Details

    • getMaterial

      protected Material getMaterial()
      Deprecated.
      Description copied from class: Filter
      Must return the material used for this filter. this method is called every frame.
      Specified by:
      getMaterial in class Filter
      Returns:
      the material used for this filter.
    • initFilter

      protected void initFilter(AssetManager manager, RenderManager renderManager, ViewPort vp, int w, int h)
      Deprecated.
      Description copied from class: Filter
      Initialization of filter subclasses. This method is called once when the filter is added to the FilterPostProcessor It should contain Material initializations and extra passes initialization
      Specified by:
      initFilter in class Filter
      Parameters:
      manager - the assetManager
      renderManager - the renderManager
      vp - the viewPort where this filter is rendered
      w - the width of the filter
      h - the height of the filter
    • getGamma

      public float getGamma()
      Deprecated.
    • setGamma

      public final void setGamma(float gamma)
      Deprecated.
      set to 0.0 to disable gamma correction
      Parameters:
      gamma - the desired exponent (>0, default=2.2)