Filter.Pass
defaultPass, enabled, material, postRenderPasses, processor
Constructor and Description |
---|
ToneMapFilter()
Creates a tone-mapping filter with the default white-point of 11.2.
|
ToneMapFilter(Vector3f whitePoint)
Creates a tone-mapping filter with the specified white-point.
|
Modifier and Type | Method and Description |
---|---|
protected Material |
getMaterial()
Must return the material used for this filter.
|
Vector3f |
getWhitePoint()
Get the scene white point.
|
protected void |
initFilter(AssetManager manager,
RenderManager renderManager,
ViewPort vp,
int w,
int h)
Initialization of filter subclasses.
|
protected boolean |
isRequiresDepthTexture()
Override this method and return true if your Filter needs the depth texture
|
void |
read(JmeImporter im)
Override this method if you want to load extra properties when the filter
is loaded else only basic properties of the filter will be loaded
This method should always begin by super.read(im);
|
void |
setWhitePoint(Vector3f whitePoint)
Set the scene white point.
|
void |
write(JmeExporter ex)
Override this method if you want to save extra properties when the filter is saved else only basic properties of the filter will be saved
This method should always begin by super.write(ex);
|
cleanup, cleanUpFilter, getDefaultPassDepthFormat, getDefaultPassTextureFormat, getName, getPostRenderPasses, getRenderedTexture, getRenderFrameBuffer, init, isEnabled, isRequiresBilinear, isRequiresSceneTexture, postFilter, postFrame, postQueue, preFrame, setDepthTexture, setEnabled, setName, setProcessor, setRenderedTexture, setRenderFrameBuffer
public ToneMapFilter()
public ToneMapFilter(Vector3f whitePoint)
whitePoint
- The intensity of the brightest part of the scene.protected boolean isRequiresDepthTexture()
Filter
isRequiresDepthTexture
in class Filter
protected void initFilter(AssetManager manager, RenderManager renderManager, ViewPort vp, int w, int h)
Filter
initFilter
in class Filter
manager
- the assetManagerrenderManager
- the renderManagervp
- the viewPort where this filter is renderedw
- the width of the filterh
- the height of the filterprotected Material getMaterial()
Filter
getMaterial
in class Filter
public void setWhitePoint(Vector3f whitePoint)
whitePoint
- The intensity of the brightest part of the scene.public Vector3f getWhitePoint()
public void write(JmeExporter ex) throws java.io.IOException
Filter
public void read(JmeImporter im) throws java.io.IOException
Filter