@react-three/postprocessing 2.5.5 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -69,7 +69,7 @@ var useVector2 = function useVector2(props, key) {
|
|
|
69
69
|
}, [vec]);
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var Bloom = wrapEffect(postprocessing.BloomEffect, postprocessing.BlendFunction.
|
|
72
|
+
var Bloom = wrapEffect(postprocessing.BloomEffect, postprocessing.BlendFunction.ADD);
|
|
73
73
|
|
|
74
74
|
var BrightnessContrast = wrapEffect(postprocessing.BrightnessContrastEffect);
|
|
75
75
|
|
|
@@ -524,7 +524,7 @@ var SelectiveBloom = /*#__PURE__*/React.forwardRef(function SelectiveBloom(_ref,
|
|
|
524
524
|
|
|
525
525
|
var effect = React.useMemo(function () {
|
|
526
526
|
return new postprocessing.SelectiveBloomEffect(scene, camera, _extends__default["default"]({
|
|
527
|
-
blendFunction: postprocessing.BlendFunction.
|
|
527
|
+
blendFunction: postprocessing.BlendFunction.ADD,
|
|
528
528
|
luminanceThreshold: luminanceThreshold,
|
|
529
529
|
luminanceSmoothing: luminanceSmoothing,
|
|
530
530
|
intensity: intensity,
|
package/dist/index.js
CHANGED
|
@@ -46,7 +46,7 @@ const useVector2 = (props, key) => {
|
|
|
46
46
|
}, [vec]);
|
|
47
47
|
};
|
|
48
48
|
|
|
49
|
-
const Bloom = wrapEffect(BloomEffect, BlendFunction.
|
|
49
|
+
const Bloom = wrapEffect(BloomEffect, BlendFunction.ADD);
|
|
50
50
|
|
|
51
51
|
const BrightnessContrast = wrapEffect(BrightnessContrastEffect);
|
|
52
52
|
|
|
@@ -434,7 +434,7 @@ const SelectiveBloom = /*#__PURE__*/forwardRef(function SelectiveBloom(_ref, for
|
|
|
434
434
|
camera
|
|
435
435
|
} = useContext(EffectComposerContext);
|
|
436
436
|
const effect = useMemo(() => new SelectiveBloomEffect(scene, camera, {
|
|
437
|
-
blendFunction: BlendFunction.
|
|
437
|
+
blendFunction: BlendFunction.ADD,
|
|
438
438
|
luminanceThreshold,
|
|
439
439
|
luminanceSmoothing,
|
|
440
440
|
intensity,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@react-three/postprocessing",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.6.0",
|
|
4
4
|
"description": "postprocessing wrapper for React and @react-three/fiber",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"postprocessing",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"typegen": "tsc --emitDeclarationOnly || true"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"postprocessing": "^6.28.
|
|
42
|
+
"postprocessing": "^6.28.5",
|
|
43
43
|
"react-merge-refs": "^1.1.0",
|
|
44
|
-
"screen-space-reflections": "^2.1.
|
|
44
|
+
"screen-space-reflections": "^2.1.1",
|
|
45
45
|
"three-stdlib": "^2.8.11"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|