@qy_better_lib/hooks 0.2.17 → 0.2.18
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/lib/use-three/index.mjs +2 -0
- package/package.json +1 -1
package/lib/use-three/index.mjs
CHANGED
|
@@ -1014,6 +1014,7 @@ function use_effect_composer(current_three) {
|
|
|
1014
1014
|
threshold
|
|
1015
1015
|
// 阈值:亮度达到多少时触发光晕
|
|
1016
1016
|
);
|
|
1017
|
+
bloom_pass.renderToScreen = true;
|
|
1017
1018
|
composer.addPass(bloom_pass);
|
|
1018
1019
|
return bloom_pass;
|
|
1019
1020
|
}
|
|
@@ -1028,6 +1029,7 @@ function use_effect_composer(current_three) {
|
|
|
1028
1029
|
current_three.scene,
|
|
1029
1030
|
current_three.camera
|
|
1030
1031
|
);
|
|
1032
|
+
outline_pass.renderToScreen = true;
|
|
1031
1033
|
composer.addPass(outline_pass);
|
|
1032
1034
|
return outline_pass;
|
|
1033
1035
|
}
|