@Deprecated
public class GammaCorrectionFilter
extends com.jme3.post.Filter
| Constructor and Description |
|---|
GammaCorrectionFilter()
Deprecated.
|
GammaCorrectionFilter(float gamma)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
float |
getGamma()
Deprecated.
|
protected com.jme3.material.Material |
getMaterial()
Deprecated.
|
protected void |
initFilter(com.jme3.asset.AssetManager manager,
com.jme3.renderer.RenderManager renderManager,
com.jme3.renderer.ViewPort vp,
int w,
int h)
Deprecated.
|
void |
setGamma(float gamma)
Deprecated.
set to 0.0 to disable gamma correction
|
cleanup, cleanUpFilter, getDefaultPassDepthFormat, getDefaultPassTextureFormat, getName, getPostRenderPasses, getRenderedTexture, getRenderFrameBuffer, init, isEnabled, isRequiresBilinear, isRequiresDepthTexture, isRequiresSceneTexture, postFilter, postFrame, postQueue, preFrame, read, setDepthTexture, setEnabled, setName, setProcessor, setRenderedTexture, setRenderFrameBuffer, writepublic GammaCorrectionFilter()
public GammaCorrectionFilter(float gamma)
protected com.jme3.material.Material getMaterial()
getMaterial in class com.jme3.post.Filterprotected void initFilter(com.jme3.asset.AssetManager manager,
com.jme3.renderer.RenderManager renderManager,
com.jme3.renderer.ViewPort vp,
int w,
int h)
initFilter in class com.jme3.post.Filterpublic float getGamma()
public final void setGamma(float gamma)
gamma - the desired exponent (>0, default=2.2)