Package com.jme3.post.filters
Class GammaCorrectionFilter
java.lang.Object
com.jme3.post.Filter
com.jme3.post.filters.GammaCorrectionFilter
- All Implemented Interfaces:
com.jme3.export.Savable
Deprecated.
use the Gamma Correction setting instead.
- Author:
- Phate666
-
Nested Class Summary
Nested classes/interfaces inherited from class com.jme3.post.Filter
com.jme3.post.Filter.Pass -
Field Summary
Fields inherited from class com.jme3.post.Filter
defaultPass, enabled, material, postRenderPasses, processor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetGamma()Deprecated.protected com.jme3.material.MaterialDeprecated.protected voidinitFilter(com.jme3.asset.AssetManager manager, com.jme3.renderer.RenderManager renderManager, com.jme3.renderer.ViewPort vp, int w, int h) Deprecated.final voidsetGamma(float gamma) Deprecated.set to 0.0 to disable gamma correctionMethods inherited from class com.jme3.post.Filter
cleanup, cleanUpFilter, getDefaultPassDepthFormat, getDefaultPassTextureFormat, getName, getPostRenderPasses, getRenderedTexture, getRenderFrameBuffer, init, isEnabled, isRequiresBilinear, isRequiresDepthTexture, isRequiresSceneTexture, postFilter, postFrame, postQueue, preFrame, read, setDepthTexture, setEnabled, setName, setProcessor, setRenderedTexture, setRenderFrameBuffer, write
-
Constructor Details
-
GammaCorrectionFilter
public GammaCorrectionFilter()Deprecated. -
GammaCorrectionFilter
public GammaCorrectionFilter(float gamma) Deprecated.
-
-
Method Details
-
getMaterial
protected com.jme3.material.Material getMaterial()Deprecated.- Specified by:
getMaterialin classcom.jme3.post.Filter
-
initFilter
protected void initFilter(com.jme3.asset.AssetManager manager, com.jme3.renderer.RenderManager renderManager, com.jme3.renderer.ViewPort vp, int w, int h) Deprecated.- Specified by:
initFilterin classcom.jme3.post.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)
-