soonspacejs 2.6.23 → 2.6.26

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "soonspacejs",
3
- "version": "2.6.23",
3
+ "version": "2.6.26",
4
4
  "homepage": "http://www.xwbuilders.com:8800/",
5
5
  "description": "soonspacejs 2.x",
6
6
  "module": "./dist/index.esm.js",
@@ -30,5 +30,5 @@
30
30
  "peerDependencies": {
31
31
  "three": ">=0.151.3"
32
32
  },
33
- "gitHead": "f2663d1f19490a759b0010679fe8db55c3759bbb"
33
+ "gitHead": "7051087284e055638a6bbf4951de4c3842d72050"
34
34
  }
@@ -128,25 +128,13 @@ export interface BloomOptions {
128
128
  }
129
129
  export interface SSAOOptions {
130
130
  enabled?: boolean;
131
- depthAwareUpsampling?: boolean;
132
- samples?: number;
133
- rings?: number;
134
- worldDistanceThreshold?: number;
135
- worldDistanceFalloff?: number;
136
- worldProximityThreshold?: number;
137
- worldProximityFalloff?: number;
138
- distanceThreshold?: number;
131
+ aoRadius?: number;
139
132
  distanceFalloff?: number;
140
- rangeThreshold?: number;
141
- rangeFalloff?: number;
142
- minRadiusScale?: number;
143
- luminanceInfluence?: number;
144
- radius?: number;
145
133
  intensity?: number;
146
- bias?: number;
147
- fade?: number;
134
+ aoSamples?: number;
135
+ denoiseSamples?: number;
136
+ denoiseRadius?: number;
148
137
  color?: IColor;
149
- resolutionScale?: number;
150
138
  }
151
139
  export interface SSGIOptions {
152
140
  enabled?: boolean;
@@ -1,13 +1,22 @@
1
1
  import { BaseObject3D, BaseObject3DInfo } from './BaseObject3D';
2
+ export declare enum ModelFormat {
3
+ sbm = "SBM",
4
+ sbmx = "SBMX",
5
+ dat = "DAT",
6
+ glb = "GLB",
7
+ gltf = "GLTF",
8
+ fbx = "FBX"
9
+ }
2
10
  interface ModelInfo extends BaseObject3DInfo {
3
11
  url: string;
4
12
  isPlatform?: boolean;
13
+ format?: string;
5
14
  }
6
15
  interface ModelInnerInfo extends ModelInfo {
7
- format: string;
16
+ format: ModelFormat;
8
17
  }
9
18
  declare class Model extends BaseObject3D {
10
- readonly formatType: string;
19
+ readonly formatType: ModelFormat;
11
20
  readonly url: string;
12
21
  constructor(params: ModelInnerInfo);
13
22
  setEnvMap(dirPath: string, fileNames?: string[], options?: {
@@ -11,11 +11,10 @@ declare class EffectManager {
11
11
  static CONSTANTS: {
12
12
  renderPass: string;
13
13
  normalPass: string;
14
- velocityDepthNormalPass: string;
14
+ ssaoPass: string;
15
15
  effectPass: string;
16
16
  smaaEffect: string;
17
17
  ssgiEffect: string;
18
- ssaoEffect: string;
19
18
  outlineEffect: string;
20
19
  ssrEffect: string;
21
20
  bloomEffect: string;
@@ -38,12 +37,12 @@ declare class EffectManager {
38
37
  private _initPasses;
39
38
  private _initRenderPass;
40
39
  private _initNormalPass;
40
+ private _initSSAOPass;
41
41
  private _initEffectPass;
42
42
  private _initEffects;
43
43
  private _initSMAAEffect;
44
44
  private _initSSREffect;
45
45
  private _initBloomEffect;
46
46
  private _initOutlineEffect;
47
- private _initSSAOEffect;
48
47
  }
49
48
  export default EffectManager;