Releases: pmndrs/postprocessing
Releases · pmndrs/postprocessing
v6.2.1
v6.2.0
v6.1.1
v6.1.0
v6.0.2
v6.0.1
v6.0.0
Requires three
0.102.x
Changelog
EffectComposer
- Enhanced depth texture management.
- Added
getRenderer
method and markedrenderer
as private.
Passes
- ClearPass
- Added
color
,depth
andstencil
constructor parameters to provide more control over which buffers should be cleared.
The new signature isconstructor(color = true, depth = true, stencil = false)
. - The override clear color and alpha can be set via the
overrideClearColor
andoverrideClearAlpha
properties.
- Added
- RenderPass
- Removed clear options from the constructor.
The new signature isconstructor(scene, camera, overrideMaterial = null)
. - Added
getClearPass
method and markedclearPass
as private.
- Removed clear options from the constructor.
- MaskPass
- Now uses a
ClearPass
to clear the stencil buffer. - Renamed property
clearStencil
toclear
.
- Now uses a
- DepthPass
- Changed default resolution scale to
1.0
.
- Changed default resolution scale to
- NormalPass
- Changed default resolution scale to
1.0
.
- Changed default resolution scale to
Effects
- GodRaysEffect
- Changed signature to
constructor(camera, lightSource, options)
. - Improved performance. See #99.
- The type of the
lightSource
must now beMesh
orPoints
(wasObject3D
). ThedepthWrite
property of its material will be set tofalse
and thetransparent
flag will be set totrue
.
- Changed signature to
Miscellaneous
- Renamed all occurances of
delta
todeltaTime
to be more descriptive. See 90d5fec. - Use destructuring for optional constructor parameters. See 5ed4c0a.
- Updated the code base to support three r102.
- All passes now explicitly use
WebGLRenderer.setRenderTarget
instead of passing render targets toWebGLRenderer.render
. This change breaks compatibility with older versions ofthree
.
- All passes now explicitly use