
๐ฌ Postprocessing for react-three-fiber
Repo pmndrs/react-postprocessing, read from GitHub 10 h ago. pmndrs has not joined Take My Repo.
Patch release - EffectGroup now follows camera and scene changes, and recreating the composer no longer breaks the passes it reuses.
<EffectComposer>'s camera and scene when they change. Depth-based effects inside a group kept using the previous camera's near/far. (#397) by @itisrmk<EffectGroup>, <N8AO> and passes you render yourself. Effects inside a group were disposed and the group stopped reacting to their changes. (#397) by @kvvasuuFull Changelog: v3.2.1...v3.2.2
camera and scene from <EffectComposer> instead of the canvas defaults. (#396) by @RaphaelFakhriFull Changelog: v3.2.0...v3.2.1
This release adds five new effects (LensDistortion, Kuwahara, Linocut, Halftone, Sharpness), a way to exclude objects from a selection, and a cheaper default for MSAA. It also fixes a round of props that were typed but never reached the effect, or worked but were missing from the types.
postprocessing's LensDistortionEffect.HalftoneShader.exclude prop to keep a subtree out of an enabled ancestor's selection.opacity prop.blendFunction is now typed.GodRaysProps, LensFlareProps and SSAOProps are now exported.multisampling lowered from 8 to 4. Pass multisampling={8} to get the old default back. Based on the proposal in #346 by @kstgrdtextureSrc or texture. Passing both, or neither, is now a type error.color now accepts any color representation, not just a Color.texture no longer requires textureSrc or triggers a load.blendFunction was ignored and always ADD, it now applies.Select exclude.Full Changelog: v3.1.3...v3.2.0
Patch release - fixes broken N8AO output after a pixel ratio change (#280).
setDpr, <AdaptiveDpr>, dpr prop) didn't resize the composer and its passes. They now follow the drawing buffer size.Full Changelog: v3.1.2...v3.1.3
Patch release - fixes a crash in mergeMode: "auto" when combining a UV-transforming effect (e.g. Glitch) with a convolution effect (e.g. ChromaticAberration).
mergeMode: "auto" could merge a mainUv effect into the same pass as a convolution effect, which postprocessing itself doesn't allow - EffectPass throws at render time either way. 'auto' now keeps them apart the same way it already keeps two convolution effects apart.Full Changelog: v3.1.1...v3.1.2
Patch release focused purely on compatibility - no behavior changes.
It loosens peerDependencies that were accidentally over-constrained in 3.1.0.
Full Changelog: v3.1.0...v3.1.1