Releases: pmndrs/postprocessing
Releases · pmndrs/postprocessing
v4.8.1
v4.8.0
Requires three.js ≥ 0.89.0 ≤ 0.94.0
Changelog
-
Pass
-
Added
getFullscreenMaterial()andsetFullscreenMaterial(Material). See 9b0c2c1. -
The getter
materialhas been deprecated in favour ofgetFullscreenMaterial(). -
The setter
materialhas been deprecated in favour ofsetFullscreenMaterial(Material). -
Changed the constructor signature to
(name: String, scene: Scene, camera: Camera).These changes are to avoid unexpected property name collisions in custom passes. Additionally, the screen quad will now lazily be created once a fullscreen material is assigned and is no longer part of the constructor.
-
-
BloomPass, BlurPass, FilmPass, GodRaysPass, OutlinePass
- The user no longer has to call
EffectComposer.setSize()after modifying resolution-dependent values.
- The user no longer has to call
-
BlurPass
- Added
getResolutionScale()andsetResolutionScale(Material).
- Added
-
BloomPass, GodRaysPass, OutlinePass
- Added
getResolutionScale()andsetResolutionScale(Material). - The getter
resolutionScalehas been deprecated in favour ofgetResolutionScale(). - The setter
resolutionScalehas been deprecated in favour ofsetResolutionScale(Number).
- Added
-
FilmPass
- Added
getScanlineDensity()andsetScanlineDensity(Number). - Added
getGridScale()andsetGridScale(Number). - Added
getGridLineWidth()andsetGridLineWidth(Number).
- Added
-
Miscellaneous
- Revised the build setup again. Readded the usual
postprocessing.jsandpostprocessing.min.jsbundles.
- Revised the build setup again. Readded the usual
v4.7.0
v4.6.0
v4.5.0
Requires three.js ≥ 0.89.0 ≤ 0.92.0
Changelog
- Pass
- The new default value of
needsSwapistrue. See #76. - The name of a pass should now be set via
super(name). - The fullscreen material can now be set via
Pass.material.Pass.quadhas been declared private.
- The new default value of
- SMAAPass
- Fixed a bug where the antialising effect would break if the clear color of the renderer wasn't black. See #80.
- TexturePass
- Use
CombineMaterialinstead ofCopyMaterial. See #81. - Added opacity options for the destination and source colors (input buffer and texture).
- Use
- BloomPass, GodRaysPass, OutlinePass
- Added a
blendoption to prevent the final overlay texture from being applied to the input buffer.
- Added a