public class ToneMapFilter
extends com.jme3.post.Filter
| Constructor and Description |
|---|
ToneMapFilter()
Creates a tone-mapping filter with the default white-point of 11.2.
|
ToneMapFilter(com.jme3.math.Vector3f whitePoint)
Creates a tone-mapping filter with the specified white-point.
|
| Modifier and Type | Method and Description |
|---|---|
protected com.jme3.material.Material |
getMaterial() |
com.jme3.math.Vector3f |
getWhitePoint()
Get the scene white point.
|
protected void |
initFilter(com.jme3.asset.AssetManager manager,
com.jme3.renderer.RenderManager renderManager,
com.jme3.renderer.ViewPort vp,
int w,
int h) |
protected boolean |
isRequiresDepthTexture() |
void |
read(com.jme3.export.JmeImporter im) |
void |
setWhitePoint(com.jme3.math.Vector3f whitePoint)
Set the scene white point.
|
void |
write(com.jme3.export.JmeExporter ex) |
cleanup, cleanUpFilter, getDefaultPassDepthFormat, getDefaultPassTextureFormat, getName, getPostRenderPasses, getRenderedTexture, getRenderFrameBuffer, init, isEnabled, isRequiresBilinear, isRequiresSceneTexture, postFilter, postFrame, postQueue, preFrame, setDepthTexture, setEnabled, setName, setProcessor, setRenderedTexture, setRenderFrameBufferpublic ToneMapFilter()
public ToneMapFilter(com.jme3.math.Vector3f whitePoint)
whitePoint - The intensity of the brightest part of the scene.protected boolean isRequiresDepthTexture()
isRequiresDepthTexture 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.Filterprotected com.jme3.material.Material getMaterial()
getMaterial in class com.jme3.post.Filterpublic void setWhitePoint(com.jme3.math.Vector3f whitePoint)
whitePoint - The intensity of the brightest part of the scene.public com.jme3.math.Vector3f getWhitePoint()
public void write(com.jme3.export.JmeExporter ex)
throws java.io.IOException
write in interface com.jme3.export.Savablewrite in class com.jme3.post.Filterjava.io.IOExceptionpublic void read(com.jme3.export.JmeImporter im)
throws java.io.IOException
read in interface com.jme3.export.Savableread in class com.jme3.post.Filterjava.io.IOException