Skip to content

Releases: pmndrs/postprocessing

v4.8.1

01 Jul 18:29

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.94.0

Fixed build/postprocessing.js bundle. (Transpilation was skipped last time.)

v4.8.0

30 Jun 22:27

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.94.0

Changelog

  • Pass

    • Added getFullscreenMaterial() and setFullscreenMaterial(Material). See 9b0c2c1.

    • The getter material has been deprecated in favour of getFullscreenMaterial().

    • The setter material has been deprecated in favour of setFullscreenMaterial(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.
  • BlurPass

    • Added getResolutionScale() and setResolutionScale(Material).
  • BloomPass, GodRaysPass, OutlinePass

    • Added getResolutionScale() and setResolutionScale(Material).
    • The getter resolutionScale has been deprecated in favour of getResolutionScale().
    • The setter resolutionScale has been deprecated in favour of setResolutionScale(Number).
  • FilmPass

    • Added getScanlineDensity() and setScanlineDensity(Number).
    • Added getGridScale() and setGridScale(Number).
    • Added getGridLineWidth() and setGridLineWidth(Number).
  • Miscellaneous

    • Revised the build setup again. Readded the usual postprocessing.js and postprocessing.min.js bundles.

v4.7.0

29 Jun 23:58

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.94.0

v4.6.0

31 May 13:51

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.93.0

Changelog

  • package.json
    • Added sideEffects flag. This might reduce the final bundle size when used with Webpack.

v4.5.0

09 May 22:09

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.92.0

Changelog

  • Pass
    • The new default value of needsSwap is true. 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.quad has been declared private.
  • SMAAPass
    • Fixed a bug where the antialising effect would break if the clear color of the renderer wasn't black. See #80.
  • TexturePass
    • Use CombineMaterial instead of CopyMaterial. See #81.
    • Added opacity options for the destination and source colors (input buffer and texture).
  • BloomPass, GodRaysPass, OutlinePass
    • Added a blend option to prevent the final overlay texture from being applied to the input buffer.

v4.4.2

19 Apr 14:48

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.92.0

Changelog

  • Added Disposable and Resizable interfaces for documentation purposes.
  • EffectComposer
    • reset and dispose no longer accept a renderTarget argument.

v4.4.1

06 Apr 13:11

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.91.0

Changelog

  • Passes
    • OutlinePass: Fixed setSelection. See #75.

v4.4.0

30 Mar 12:48

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.91.0

Changelog

  • Passes
    • FilmPass: Added grid effect.
    • MaskPass: Respect renderToScreen to create a mask for the screen buffer if so desired.

v4.3.3

16 Mar 20:58

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.91.0

v4.3.2

02 Mar 14:35

Choose a tag to compare

Requires three.js ≥ 0.89.0 ≤ 0.90.0

Changelog

  • Passes
    • OutlinePass: Fixed hidden edge detection. See #70.