fozmo-3d-preview
Advanced tools
Comparing version 1.0.3 to 1.0.4
import { ENV } from './framework/defines/HHGameTypes'; | ||
/** | ||
* 色调映射枚举值 | ||
*/ | ||
export declare enum EToneMapping { | ||
None = "None", | ||
Linear = "Linear", | ||
Reinhard = "Reinhard", | ||
Cineon = "Cineon", | ||
ACESFilmic = "ACESFilmic", | ||
AgX = "AgX", | ||
Neutral = "Neutral", | ||
Custom = "Custom" | ||
} | ||
/** | ||
* 渲染参数配置 | ||
*/ | ||
export interface RenderParam { | ||
/** | ||
* 曝光值 | ||
* @default 1.0 | ||
*/ | ||
exposure: number; | ||
} | ||
/** | ||
* 启动参数配置 | ||
*/ | ||
export interface LaunchConfig { | ||
@@ -3,0 +29,0 @@ /** |
import { SpaceManager } from './manager/SpaceManager'; | ||
import { LaunchSpace } from './root'; | ||
/** | ||
* 色调映射枚举值 | ||
*/ | ||
export var EToneMapping; | ||
(function (EToneMapping) { | ||
EToneMapping["None"] = "None"; | ||
EToneMapping["Linear"] = "Linear"; | ||
EToneMapping["Reinhard"] = "Reinhard"; | ||
EToneMapping["Cineon"] = "Cineon"; | ||
EToneMapping["ACESFilmic"] = "ACESFilmic"; | ||
EToneMapping["AgX"] = "AgX"; | ||
EToneMapping["Neutral"] = "Neutral"; | ||
EToneMapping["Custom"] = "Custom"; | ||
})(EToneMapping || (EToneMapping = {})); | ||
export class Fozmo3DPreview { | ||
@@ -4,0 +18,0 @@ /** |
@@ -77,3 +77,3 @@ import { EEncryptExt, ENormalExt, ResLoaderManager } from './../manager/ResLoaderManager'; | ||
bloomExposure: 1, | ||
HDR: '蓝天', | ||
HDR: 'https://f.fozmoly.com/WebAssets/HDR/T_HDR_01.HDR', | ||
// HemisphereLight | ||
@@ -108,5 +108,5 @@ HLEnable: true, | ||
'Presetpro-Cinematic.3dl': null, | ||
NeutralLUT: null, | ||
'NeutralLUT': null, | ||
'B&WLUT': null, | ||
NightLUT: null, | ||
'NightLUT': null, | ||
}; | ||
@@ -133,3 +133,3 @@ export class MainScene extends BaseScene { | ||
/* tslint:disable:no-string-literal */ | ||
await this.loadHDR(CSkyPresets['蓝天']); | ||
await this.loadHDR(params.HDR); | ||
await this.loadModel(url); | ||
@@ -136,0 +136,0 @@ const orbitControls = new CameraControls(this.camera, this.renderer.domElement); |
{ | ||
"name": "fozmo-3d-preview", | ||
"version": "1.0.03", | ||
"version": "1.0.04", | ||
"description": "风之末 作品预览", | ||
@@ -38,3 +38,2 @@ "main": "lib/Fozmo3DPreview.js", | ||
"@types/uuid": "^9.0.8", | ||
"dat.gui": "^0.7.9", | ||
"prettier": "^3.3.2", | ||
@@ -53,4 +52,5 @@ "tslint": "^6.1.3", | ||
"troika-three-text": "^0.49.1", | ||
"dat.gui": "^0.7.9", | ||
"uuid": "^9.0.1" | ||
} | ||
} |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
151430
7
4674
9
+ Addeddat.gui@^0.7.9
+ Addeddat.gui@0.7.9(transitive)