Releases: pmndrs/postprocessing
Releases · pmndrs/postprocessing
v4.0.0
Requires three.js 0.88.x
Changelog
- Materials
- Renamed
SMAAColorEdgesMaterial
toColorEdgesMaterial
.
- Renamed
- Passes
- Renamed
Pass.initialise
toPass.initialize
. - Renamed
Bokeh2Pass
toRealisticBokehPass
. - Renamed
SMAAPass
image data URLs:
searchImageDataUrl → searchImageDataURL
areaImageDataUrl → areaImageDataURL - Added dithering support for
BloomPass
,BlurPass
,GodRaysPass
andToneMappingPass
. - Fixed a minor MIP_LEVEL_1X1 calculation error in
ToneMappingPass
.
- Renamed
- Documentation
- Removed invalid tags.
- Development Dependencies
- Removed
dat.gui
andstats.js
. - Replaced
babel-preset-es2015-rollup
.
- Removed
v3.1.0
v3.0.1
v3.0.0
Requires three.js 0.87.x
Changelog
- EffectComposer
- Replaced internal pixel ratio calculations with
getDrawingBufferSize
calls.
- Replaced internal pixel ratio calculations with
- Passes
- The
SMAAPass
constructor now expects two parameters:searchImage, areaImage
. The user must preload these images asynchronously by using the base64-encoded image data urlsSMAAPass.searchImagaDataUrl
andSMAAPass.areaImageDataUrl
. Please refer to theSMAADemo
for an example setup.
Previously, the loading process of these images was unsafe (see Should setting an image src to data URL be available immediately? and the related issue report #62). - Removed
DepthPass
. There was no real purpose behind this pass. - Added Depth of Field setting to
BokehPass
. This lets the user define an area in front of and behind the focus point that remains sharp. See 99519cb.
- The
- Materials
- Removed
DepthMaterial
. This material was not useful. - Use
linearToRelativeLuminance
function from common. See 220d490. - Ported SMAA image generation scripts for reference purposes. See 18968fb.
- Replaced the SMAA area look-up image. The previous area image did not match the area image from the official SMAA project.
- Removed
v2.3.1
v2.3.0
Requires three.js 0.87.x
Changelog
- Materials
- Use appropriate luminance coefficients in
Bokeh2Material
,FilmMaterial
,LuminosityMaterial
andToneMappingMaterial
. Coefficients are now uniforms and can be adjusted by the user. See 0157077.
- Use appropriate luminance coefficients in
- Passes
- Minor improvements in
ShockWavePass
.
- Minor improvements in
- Misc
- Reorganised demo, docs and public files.
- Refactored file names.