Skip to content

Releases: pmndrs/postprocessing

v6.2.1

10 Apr 22:53
Compare
Choose a tag to compare

Requires three ≥ 0.102.0 < 0.104.0

Changelog

Effects

  • Made parameters of ColorDepthEffect optional.

v6.2.0

10 Apr 22:50
Compare
Choose a tag to compare

Requires three ≥ 0.102.0 < 0.104.0

Changelog

Effects

  • Added ColorDepthEffect.

v6.1.1

29 Mar 23:54
Compare
Choose a tag to compare

Requires three ≥ 0.102.0 < 0.104.0

Changelog

Fixed the peer dependency version requirement.

v6.1.0

29 Mar 23:52
Compare
Choose a tag to compare

Requires three 0.103.x

v6.0.2

23 Mar 22:01
Compare
Choose a tag to compare

Requires three 0.102.x

Changelog

Passes

  • ClearPass
    • Treat clear color and clear alpha separately.

Effects

  • OutlineEffect
    • Fixed alpha compatibility. See #114.

Miscellaneous

  • Demos
    • Added a polyfill for IE11.
  • Bundles
    • Renamed main bundle:
      build/postprocessing.umd.jsbuild/postprocessing.js

v6.0.1

04 Mar 20:51
Compare
Choose a tag to compare

Requires three 0.102.x

Changelog

EffectComposer

  • Fixed a potential depth texture bug.

v6.0.0

03 Mar 21:51
Compare
Choose a tag to compare

Requires three 0.102.x

Changelog

EffectComposer

  • Enhanced depth texture management.
  • Added getRenderer method and marked renderer as private.

Passes

  • ClearPass
    • Added color, depth and stencil constructor parameters to provide more control over which buffers should be cleared.
      The new signature is constructor(color = true, depth = true, stencil = false).
    • The override clear color and alpha can be set via the overrideClearColor and overrideClearAlpha properties.
  • RenderPass
    • Removed clear options from the constructor.
      The new signature is constructor(scene, camera, overrideMaterial = null).
    • Added getClearPass method and marked clearPass as private.
  • MaskPass
    • Now uses a ClearPass to clear the stencil buffer.
    • Renamed property clearStencil to clear.
  • DepthPass
    • Changed default resolution scale to 1.0.
  • NormalPass
    • Changed default resolution scale to 1.0.

Effects

  • GodRaysEffect
    • Changed signature to constructor(camera, lightSource, options).
    • Improved performance. See #99.
    • The type of the lightSource must now be Mesh or Points (was Object3D). The depthWrite property of its material will be set to false and the transparent flag will be set to true.

Miscellaneous

  • Renamed all occurances of delta to deltaTime 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 to WebGLRenderer.render. This change breaks compatibility with older versions of three.

v5.6.0

01 Feb 14:08
Compare
Choose a tag to compare

Requires three ≥ 0.87.0 < 0.102.0

Changelog

Effects

  • BlendFunction
    • Added DIVIDE function.
  • RealisticBokehEffect
    • Minor optimizations.

Passes

  • EffectPass
    • Skip rendering when possible. See 4451c79.

Materials

  • Reduced shader code redundancy.

Miscellaneous

  • Modified the build setup.

v5.5.0

18 Jan 14:39
Compare
Choose a tag to compare

Requires three ≥ 0.87.0 < 0.101.0

Changelog

Effects

  • Added WebGLExtension.
    • Allow effects to enable optional WebGL extensions.

v5.4.0

01 Jan 13:48
Compare
Choose a tag to compare

Requires three ≥ 0.87.0 < 0.101.0