Releases: pmndrs/postprocessing
v6.28.2
Requires three ≥ 0.107.0 < 0.143.0
Changelog
Package
Core
- Resolution
- The effective size will now be calculated on change.
Effects
- Effect & Pass
- Made
dispose
less destructive. See #381.
- Made
- DepthOfFieldEffect
- Minor optimizations.
- OutlineEffect
Passes
- GaussianBlurPass & KawaseBlurPass
- Minor optimizations.
Special Thanks
Thanks @canadaduane for the continued support!
v6.28.1
Requires three ≥ 0.107.0 < 0.142.0
Changelog
Loaders
- LUTCubeLoader & LUT3dlLoader
- Fixed parsing of data points. See #375.
Effects
- BlendMode
- Added blend functions
COLOR
,HUE
,SATURATION
,LUMINOSITY
,LINEAR_DODGE
,LINEAR_BURN
,LINEAR_LIGHT
,VIVID_LIGHT
,HARD_LIGHT
,HARD_MIX
,INVERT
,INVERT_RGB
andPIN_LIGHT
. See 1a9f0e7. - Optimized existing blend functions.
- Replaced
SKIP
andSET
withDST
andSRC
.
- Added blend functions
- ChromaticAberrationEffect & GlitchEffect
- Removed
blendFunction
constructor parameter.
- Removed
- BrightnessContrastEffect
- Changed default
blendFunction
toSRC
.
- Changed default
v6.28.0
Requires three ≥ 0.107.0 < 0.142.0
Changelog
Core
- Resolution
- Fixed
scale
not being copied incopy
method.
- Fixed
Effects
- BloomEffect & SelectiveBloomEffect
- Added
mipmapBlur
constructor parameter to enable Mipmap/Unreal bloom. See #103 and #309.
Mipmap bloom will replace the current default bloom implementation in the next major release. - Added
radius
andlevels
constructor parameters. - Deprecated constructor parameters
kernelSize
,resolutionScale
,resolutionX
,resolutionY
. - Deprecated
resolution
property.
- Added
- BrightnessContrastEffect
- Input colors are now converted to sRGB.
- Effect
- Added experimental
inputColorSpace
andoutputColorSpace
settings. See #370.
- Added experimental
- PixelationEffect
- Minor optimizations.
- Added
FXAAEffect
. See e6437d0.
Materials
- EffectMaterial
- Deprecated all constructor parameters.
- Deprecated methods
setShaderParts
,setDefines
,setUniforms
andsetExtensions
. - Added method
setShaderData
.
- DepthMaskMaterial
- Depth will now be linearized for more accurate results. See 0c5c687.
- Added
DownsamplingMaterial
andUpsamplingMaterial
. See 933fd58.
Passes
v6.27.0
Requires three ≥ 0.107.0 < 0.142.0
Changelog
Reorganized folders, shaders and enums. See 5ce3511.
Core
- Added
GaussKernel
.
Effects
- Added
SET
blend function and improved existing blend functions. See 100a981. - Added
LUT1DEffect
. See #371. Thanks @donmccurdy. - BrightnessContrastEffect
- Removed unnecessary clamp logic.
- ChromaticAberrationEffect
- Implemented radial modulation. See 966958a.
- BloomEffect, DepthOfFieldEffect, GodRaysEffect, OutlineEffect
- Reverted deprecation of
resolutionScale
constructor parameter. - Renamed
width
andheight
constructor parameters toresolutionX
andresolutionY
.
- Reverted deprecation of
Materials
- DepthOfFieldEffect
- The blur kernel will now be scaled according to
resolution.scale
for consistent results.
- The blur kernel will now be scaled according to
- Added
GaussianBlurMaterial
. - CopyMaterial
- Added support for dithering.
- KawaseBlurMaterial
- Removed support for dithering.
Passes
- EffectPass
- Changed visibility of
effects
back toprivate
. - Added protected
setEffects()
method. See #367. - Fixed a potential null error in
verifyResources
.
- Changed visibility of
- KawaseBlurPass
- The blur kernel will now be scaled according to
resolution.scale
for consistent results. - The last blur pass will now properly be performed on a downscaled buffer. See 6780dac.
- Changed default
kernelSize
toMEDIUM
.
- The blur kernel will now be scaled according to
- Added
GaussianBlurPass
. - DepthDownsamplingPass, DepthPass, KawaseBlurPass, LuminancePass, NormalPass
- Reverted deprecation of
resolutionScale
constructor parameter. - Renamed
width
andheight
constructor parameters toresolutionX
andresolutionY
.
- Reverted deprecation of
v6.26.4
Requires three ≥ 0.107.0 < 0.141.0
Changelog
Effects
- BloomEffect
- Fixed
luminanceSmoothing
constructor parameter. - Output will no longer be clamped to
[0.0, 1.0]
.
- Fixed
- GodRaysEffect
- Added
depthMaskMaterial
getter.
- Added
- SelectiveBloomEffect
- Fixed a bug that broke depth masking when the selection was empty.
- ToneMappingEffect
- Added accessors for
whitePoint
,middleGrey
andaverageLuminance
.
- Added accessors for
Materials
- DepthMaskMaterial
- Changed default value of
epsilon
to1e-4
.
- Changed default value of
Passes
- EffectPass
- Changed visibility of
effects
toprotected
. - Changed visibility of
updateMaterial
toprotected
. - Reverted deprecation of
dithering
.
- Changed visibility of
Special Thanks
Thanks @canadaduane for the continued support!
v6.26.3
v6.26.2
v6.26.1
Requires three ≥ 0.107.0 < 0.139.0
Changelog
Package
Added auto-generated types. Warning: expect errors. Thanks @superguigui.
Effects
- SMAAEffect
- The effect will now emit a
load
event when the internal textures have been loaded. - Fixed: preloaded images will now be picked up again, if provided.
- The effect will now emit a
v6.26.0
Requires three ≥ 0.107.0 < 0.139.0
Postprocessing has recently joined the Poimandres organization 🎉 The motivation behind this is to get more eyes on
postprocessing
and to ensure that the library continues to evolve as part of something bigger. Apart from that, nothing really changes though! — vanruesc
Changelog
Effects
- BlendMode
- Added
blendFunction
accessor. - Deprecated
getBlendFunction
andsetBlendFunction
.
- Added
- ColorAverageEffect & SepiaEffect
- Minor optimizations.
- DepthOfFieldEffect
- ScanlineEffect
- Added support for scrolling scanlines.
- Added
scrollSpeed
accessor.
- SMAAEffect
- It's no longer necessary to preload the search and area lookup textures. See 164a927.
- The constructor now accepts the named parameters
preset
,edgeDetectionMode
andpredicationMode
. The old signature is still supported.
- SSAOEffect
- Fixed a bug that prevented the effect from receiving a depth texture. See 5272f55.
- Added constructor parameters
worldDistanceThreshold
,worldDistanceFalloff
,worldProximityThreshold
andworldProximityFalloff
. See 397e287. - Added
luminanceInfluence
accessor. - Changed default of
minRadiusScale
constructor parameter to0.1
. - Made
depthAwareUpsampling
setting more robust. See e5f10f2.
Loaders
- Deprecated SMAAImageLoader.
Materials
- CircleOfConfusionMaterial
- SSAOMaterial
- Added
worldDistanceThreshold
,worldDistanceFalloff
,worldProximityThreshold
andworldProximityFalloff
accessors. See 6777946.
- Added
Special Thanks
Thanks @canadaduane for the financial support!
v6.25.0
Requires three ≥ 0.107.0 < 0.139.0
Attention: Inheritance of legacy classes such as DataTexture3D
is broken in three
r138 (mrdoob/three.js#23612) and will be fixed in r139 (mrdoob/three.js#23621). It's recommended to skip r138 if you use LUTEffect
.
Changelog
Following #349, the getter and setter methods that were introduced in 6.24.0
have been replaced by accessor properties. Methods of the form getFoo
and setFoo
are now properties of the form foo
with some exceptions listed below. For details see 387d5b0, f98d002, 276ee71, de14746, 07617b6, 87f1083, 55f5d39, d5c91e2.
Core
- EffectComposer
- It's no longer necessary to use
HalfFloatType
buffers for sRGB workflows. See 0bf4407. - Handled removal of
WebGLMultisampleRenderTarget
. - Timer auto reset behaviour will now be restored on reset.
- It's no longer necessary to use
- Selection
- Added
toggle
method.
- Added
Effects
- Effect
- Fixed unintentional disposal of
renderer
. See #353. - Deprecated
renderer
andsetRenderer
.
- Fixed unintentional disposal of
- ChromaticAberrationEffect
- The offset now respects the aspect ratio.
- GlitchEffect
- Deprecated
generatePerturbationMap
. - Replaced
getGlitchColumns
andsetGlitchColumns
withcolumns
accessor. - Replaced
getGlitchRatio
andsetGlitchRatio
withratio
accessor.
- Deprecated
- NoiseEffect
- Replaced
isPremultiplied
andsetPremultiplied
withpremultiply
accessor.
- Replaced
- OutlineEffect
- Added
patternScale
constructor parameter. - Added accessors
patternScale
,edgeStrength
,visibleEdgeColor
andhiddenEdgeColor
.
- Added
- ShockWaveEffect
- Added accessors
amplitude
,waveSize
andmaxRadius
.
- Added accessors
Materials
- AdaptiveLuminanceMaterial
- Removed
LinearMipMapLinearFilter
import and raised minimum version ofthree
to r107.
- Removed
- DepthComparisonMaterial
- Changed default depth packing strategy to
RGBADepthPacking
. See #351.
- Changed default depth packing strategy to
Passes
- Pass
- Fixed unintentional disposal of
renderer
. See #353. - Deprecated
renderer
andsetRenderer
.
- Fixed unintentional disposal of
- CopyPass
- Replaced
resize
withautoResize
.
- Replaced
- EffectMaterial
- Added
encodeOutput
andtime
accessors.
- Added
- LuminanceMaterial
- Replaced
getSmoothingFactor
andsetSmoothingFactor
withsmoothing
accessor.
- Replaced
- SMAAMaterial
- Replaced
setLookupTextures
withsearchTexture
andareaTexture
accessors. - Replaced
setCornerRoundingEnabled
withcornerDetection
accessor.
- Replaced
- SSAOMaterial
- Replaced
setDistanceCutoff
withdistanceThreshold
anddistanceFalloff
accessors. - Replaced
setProximityCutoff
withproximityThreshold
andproximityFalloff
accessors.
- Replaced
Textures
- LookupTexture3D
- Renamed to LookupTexture.
Miscellaneous
- Updated the manual.