fozmo-3d-preview
Advanced tools
Comparing version 1.0.14 to 1.0.15
@@ -205,2 +205,3 @@ import { EEncryptExt, ENormalExt, ResLoaderManager } from './../manager/ResLoaderManager'; | ||
}).onChange((v) => { | ||
HHConsole.log('采样改变', v); | ||
this._ssaaPass.sampleLevel = v; | ||
@@ -241,9 +242,3 @@ }); | ||
bloomFolder.add(params, 'bloomEnabled', 0.0, 1.0).onChange((value) => { | ||
if (value) { | ||
this.initBloomPass(); | ||
this._composer.addPass(this._bloomPass); | ||
} | ||
else { | ||
this._composer.removePass(this._bloomPass); | ||
} | ||
this._bloomPass.enabled = value; | ||
}); | ||
@@ -383,3 +378,2 @@ bloomFolder.add(params, 'bloomThreshold', 0.0, 1.0).onChange((value) => { | ||
composer.addPass(new RenderPass(this.scene, this.camera)); | ||
composer.addPass(new OutputPass()); | ||
this.initSMAAPass(); | ||
@@ -391,8 +385,8 @@ composer.addPass(this._smaaPass); | ||
this._ssaaPass.enabled = params.SSAAEnable; | ||
this.initBloomPass(); | ||
composer.addPass(this._bloomPass); | ||
this._bloomPass.enabled = params.bloomEnabled; | ||
composer.addPass(new OutputPass()); | ||
const lutPass = new LUTPass({}); | ||
composer.addPass(lutPass); | ||
if (params.bloomEnabled) { | ||
this.initBloomPass(); | ||
composer.addPass(this._bloomPass); | ||
} | ||
this._composer = composer; | ||
@@ -399,0 +393,0 @@ this._lutPass = lutPass; |
{ | ||
"name": "fozmo-3d-preview", | ||
"version": "1.0.14", | ||
"version": "1.0.15", | ||
"description": "风之末 作品预览", | ||
@@ -5,0 +5,0 @@ "main": "lib/Fozmo3DPreview.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156129
4822