Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

fozmo-3d-preview

Package Overview
Dependencies
Maintainers
0
Versions
64
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fozmo-3d-preview - npm Package Compare versions

Comparing version 1.0.14 to 1.0.15

18

lib/scenes/MainScene.js

@@ -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",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc