@zephyr3d/scene 0.9.1 → 0.9.2
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/dist/animation/animationset.js +135 -133
- package/dist/animation/animationset.js.map +1 -1
- package/dist/animation/cloth/gpu_cloth_system.js +9 -1
- package/dist/animation/cloth/gpu_cloth_system.js.map +1 -1
- package/dist/animation/fixed_geometry_cache_track.js +5 -1
- package/dist/animation/fixed_geometry_cache_track.js.map +1 -1
- package/dist/animation/geometry_cache_utils.js +20 -4
- package/dist/animation/geometry_cache_utils.js.map +1 -1
- package/dist/animation/ik/ik_angle_constraint.js +2 -6
- package/dist/animation/ik/ik_angle_constraint.js.map +1 -1
- package/dist/animation/ik/two_bone_ik_solver.js +2 -6
- package/dist/animation/ik/two_bone_ik_solver.js.map +1 -1
- package/dist/animation/joint_dynamics/collision.js +60 -12
- package/dist/animation/joint_dynamics/collision.js.map +1 -1
- package/dist/animation/joint_dynamics/constraints.js +20 -4
- package/dist/animation/joint_dynamics/constraints.js.map +1 -1
- package/dist/animation/joint_dynamics/controller.js +151 -103
- package/dist/animation/joint_dynamics/controller.js.map +1 -1
- package/dist/animation/joint_dynamics/solver.js +21 -11
- package/dist/animation/joint_dynamics/solver.js.map +1 -1
- package/dist/animation/joint_dynamics/types.js +15 -3
- package/dist/animation/joint_dynamics/types.js.map +1 -1
- package/dist/animation/pca_geometry_cache_track.js +5 -1
- package/dist/animation/pca_geometry_cache_track.js.map +1 -1
- package/dist/animation/skeleton.js +2 -2
- package/dist/animation/skeleton.js.map +1 -1
- package/dist/animation/skeleton_modifier.js +2 -6
- package/dist/animation/skeleton_modifier.js.map +1 -1
- package/dist/animation/spring/spring_system.js +87 -114
- package/dist/animation/spring/spring_system.js.map +1 -1
- package/dist/app/app.js.map +1 -1
- package/dist/app/engine.js +1 -1
- package/dist/app/engine.js.map +1 -1
- package/dist/app/screen.js +4 -4
- package/dist/app/screen.js.map +1 -1
- package/dist/app/scriptingsystem.js +24 -1
- package/dist/app/scriptingsystem.js.map +1 -1
- package/dist/app/scriptregistry.js +22 -1
- package/dist/app/scriptregistry.js.map +1 -1
- package/dist/asset/assetmanager.js +2 -2
- package/dist/asset/assetmanager.js.map +1 -1
- package/dist/asset/model.js +3 -3
- package/dist/asset/model.js.map +1 -1
- package/dist/camera/camera.js +185 -185
- package/dist/camera/camera.js.map +1 -1
- package/dist/camera/orbit.js.map +1 -1
- package/dist/index.d.ts +794 -261
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/material/material.js +290 -288
- package/dist/material/material.js.map +1 -1
- package/dist/material/mixins/lightmodel/pbrmetallicroughness.js.map +1 -1
- package/dist/material/sprite.js +6 -6
- package/dist/material/sprite.js.map +1 -1
- package/dist/material/terrain-cm.js +2 -2
- package/dist/material/terrain-cm.js.map +1 -1
- package/dist/posteffect/taa.js +31 -39
- package/dist/posteffect/taa.js.map +1 -1
- package/dist/render/drawable.js +5 -1
- package/dist/render/drawable.js.map +1 -1
- package/dist/render/rendergraph/device_pool_allocator.js +29 -3
- package/dist/render/rendergraph/device_pool_allocator.js.map +1 -1
- package/dist/render/rendergraph/executor.js +283 -33
- package/dist/render/rendergraph/executor.js.map +1 -1
- package/dist/render/rendergraph/forward_plus_builder.js +338 -108
- package/dist/render/rendergraph/forward_plus_builder.js.map +1 -1
- package/dist/render/rendergraph/history_resource_manager.js +236 -156
- package/dist/render/rendergraph/history_resource_manager.js.map +1 -1
- package/dist/render/rendergraph/history_resources.js +10 -0
- package/dist/render/rendergraph/history_resources.js.map +1 -0
- package/dist/render/rendergraph/rendergraph.js +162 -35
- package/dist/render/rendergraph/rendergraph.js.map +1 -1
- package/dist/render/rendergraph/types.js +36 -16
- package/dist/render/rendergraph/types.js.map +1 -1
- package/dist/render/rendertarget.js +5 -1
- package/dist/render/rendertarget.js.map +1 -1
- package/dist/render/screenrendertarget.js +5 -1
- package/dist/render/screenrendertarget.js.map +1 -1
- package/dist/render/sky.js +4 -4
- package/dist/render/sky.js.map +1 -1
- package/dist/scene/basesprite.js +2 -2
- package/dist/scene/basesprite.js.map +1 -1
- package/dist/scene/graph_node.js +1 -1
- package/dist/scene/graph_node.js.map +1 -1
- package/dist/scene/mesh.js +4 -20
- package/dist/scene/mesh.js.map +1 -1
- package/dist/scene/particlesys.js +1 -1
- package/dist/scene/particlesys.js.map +1 -1
- package/dist/scene/scene_node.js +2 -2
- package/dist/scene/scene_node.js.map +1 -1
- package/dist/scene/script_attachment.js +15 -3
- package/dist/scene/script_attachment.js.map +1 -1
- package/dist/scene/terrain-cm/terrain-cm.js +3 -3
- package/dist/scene/terrain-cm/terrain-cm.js.map +1 -1
- package/dist/shadow/shadowmapper.js.map +1 -1
- package/dist/shapes/box.js +1 -1
- package/dist/shapes/box.js.map +1 -1
- package/dist/shapes/capsule.js +0 -3
- package/dist/shapes/capsule.js.map +1 -1
- package/dist/shapes/cylinder.js +0 -3
- package/dist/shapes/cylinder.js.map +1 -1
- package/dist/shapes/plane.js +0 -3
- package/dist/shapes/plane.js.map +1 -1
- package/dist/shapes/tetrahedron.js +3 -9
- package/dist/shapes/tetrahedron.js.map +1 -1
- package/dist/shapes/torus.js +4 -7
- package/dist/shapes/torus.js.map +1 -1
- package/dist/utility/blueprint/material/inputs.js +3 -3
- package/dist/utility/blueprint/material/inputs.js.map +1 -1
- package/dist/utility/blueprint/material/ir.js +493 -493
- package/dist/utility/blueprint/material/ir.js.map +1 -1
- package/dist/utility/serialization/manager.js +34 -3
- package/dist/utility/serialization/manager.js.map +1 -1
- package/dist/utility/serialization/scene/animation.js +45 -0
- package/dist/utility/serialization/scene/animation.js.map +1 -1
- package/dist/utility/serialization/scene/camera.js +53 -0
- package/dist/utility/serialization/scene/camera.js.map +1 -1
- package/dist/utility/serialization/scene/common.js +10 -0
- package/dist/utility/serialization/scene/common.js.map +1 -1
- package/dist/utility/serialization/scene/light.js +30 -0
- package/dist/utility/serialization/scene/light.js.map +1 -1
- package/dist/utility/serialization/scene/material.js +63 -0
- package/dist/utility/serialization/scene/material.js.map +1 -1
- package/dist/utility/serialization/scene/mesh.js +11 -0
- package/dist/utility/serialization/scene/mesh.js.map +1 -1
- package/dist/utility/serialization/scene/misc.js +2 -0
- package/dist/utility/serialization/scene/misc.js.map +1 -1
- package/dist/utility/serialization/scene/node.js +19 -0
- package/dist/utility/serialization/scene/node.js.map +1 -1
- package/dist/utility/serialization/scene/particle.js +22 -0
- package/dist/utility/serialization/scene/particle.js.map +1 -1
- package/dist/utility/serialization/scene/primitive.js +33 -0
- package/dist/utility/serialization/scene/primitive.js.map +1 -1
- package/dist/utility/serialization/scene/scene.js +39 -0
- package/dist/utility/serialization/scene/scene.js.map +1 -1
- package/dist/utility/serialization/scene/script.js +2 -0
- package/dist/utility/serialization/scene/script.js.map +1 -1
- package/dist/utility/serialization/scene/sprite.js +6 -0
- package/dist/utility/serialization/scene/sprite.js.map +1 -1
- package/dist/utility/serialization/scene/terrain.js +9 -0
- package/dist/utility/serialization/scene/terrain.js.map +1 -1
- package/dist/utility/serialization/scene/water.js +21 -0
- package/dist/utility/serialization/scene/water.js.map +1 -1
- package/dist/utility/serialization/types.js +5 -1
- package/dist/utility/serialization/types.js.map +1 -1
- package/package.json +2 -2
|
@@ -54,6 +54,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
54
54
|
return defineProps([
|
|
55
55
|
{
|
|
56
56
|
name: 'UseScreenSettings',
|
|
57
|
+
description: 'Whether this camera is adapted to screen settings',
|
|
57
58
|
type: 'bool',
|
|
58
59
|
default: false,
|
|
59
60
|
get (value) {
|
|
@@ -65,6 +66,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
65
66
|
},
|
|
66
67
|
{
|
|
67
68
|
name: 'DesignWidth',
|
|
69
|
+
description: 'Design width of screen settings',
|
|
68
70
|
type: 'int',
|
|
69
71
|
options: {
|
|
70
72
|
minValue: 1
|
|
@@ -85,6 +87,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
85
87
|
},
|
|
86
88
|
{
|
|
87
89
|
name: 'DesignHeight',
|
|
90
|
+
description: 'Design height of screen settings',
|
|
88
91
|
type: 'int',
|
|
89
92
|
options: {
|
|
90
93
|
minValue: 1
|
|
@@ -105,6 +108,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
105
108
|
},
|
|
106
109
|
{
|
|
107
110
|
name: 'ScreenScaleMode',
|
|
111
|
+
description: 'Scale mode of screen settings, valid values are `fit` | `cover` | `stretch` | `fit-width` | `fit-height`',
|
|
108
112
|
type: 'string',
|
|
109
113
|
default: 'cover',
|
|
110
114
|
options: {
|
|
@@ -140,6 +144,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
140
144
|
},
|
|
141
145
|
{
|
|
142
146
|
name: 'HDR',
|
|
147
|
+
description: 'If true, float point framebuffer will be used for rendering',
|
|
143
148
|
type: 'bool',
|
|
144
149
|
default: false,
|
|
145
150
|
get (value) {
|
|
@@ -151,6 +156,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
151
156
|
},
|
|
152
157
|
{
|
|
153
158
|
name: 'HiZ',
|
|
159
|
+
description: 'If true, HiZ rendering pass will be enabled',
|
|
154
160
|
type: 'bool',
|
|
155
161
|
default: false,
|
|
156
162
|
get (value) {
|
|
@@ -162,6 +168,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
162
168
|
},
|
|
163
169
|
{
|
|
164
170
|
name: 'OITMode',
|
|
171
|
+
description: 'Which OIT mode should be used for transparent rendering, valid values are `none` | `weighted` | `abuffer`',
|
|
165
172
|
type: 'string',
|
|
166
173
|
default: 'none',
|
|
167
174
|
options: {
|
|
@@ -189,6 +196,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
189
196
|
},
|
|
190
197
|
{
|
|
191
198
|
name: 'ABufferLayers',
|
|
199
|
+
description: 'Maximum layers for abuffer OIT',
|
|
192
200
|
type: 'int',
|
|
193
201
|
default: 20,
|
|
194
202
|
options: {
|
|
@@ -208,6 +216,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
208
216
|
},
|
|
209
217
|
{
|
|
210
218
|
name: 'ToneMapEnabled',
|
|
219
|
+
description: 'If true, tonemap post-processing will be enabled',
|
|
211
220
|
type: 'bool',
|
|
212
221
|
phase: 0,
|
|
213
222
|
default: true,
|
|
@@ -224,6 +233,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
224
233
|
},
|
|
225
234
|
{
|
|
226
235
|
name: 'ToneMapExposure',
|
|
236
|
+
description: 'Exposure value for tonemapping',
|
|
227
237
|
type: 'float',
|
|
228
238
|
options: {
|
|
229
239
|
minValue: 0,
|
|
@@ -242,6 +252,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
242
252
|
},
|
|
243
253
|
{
|
|
244
254
|
name: 'ColorAdjustEnabled',
|
|
255
|
+
description: `If true, color adjust post-processing will be enabled`,
|
|
245
256
|
type: 'bool',
|
|
246
257
|
phase: 0,
|
|
247
258
|
default: false,
|
|
@@ -258,6 +269,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
258
269
|
},
|
|
259
270
|
{
|
|
260
271
|
name: 'ColorAdjustSaturation',
|
|
272
|
+
description: 'Saturation value for color adjust post-processing',
|
|
261
273
|
type: 'float',
|
|
262
274
|
phase: 1,
|
|
263
275
|
default: 1,
|
|
@@ -280,6 +292,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
280
292
|
},
|
|
281
293
|
{
|
|
282
294
|
name: 'ColorAdjustContrast',
|
|
295
|
+
description: 'Contrast value for color adjust post-processing',
|
|
283
296
|
type: 'float',
|
|
284
297
|
phase: 1,
|
|
285
298
|
default: 1,
|
|
@@ -302,6 +315,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
302
315
|
},
|
|
303
316
|
{
|
|
304
317
|
name: 'ColorAdjustHue',
|
|
318
|
+
description: 'Hue value for color adjust post-processing',
|
|
305
319
|
type: 'float',
|
|
306
320
|
phase: 1,
|
|
307
321
|
default: 0,
|
|
@@ -324,6 +338,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
324
338
|
},
|
|
325
339
|
{
|
|
326
340
|
name: 'Sharpen',
|
|
341
|
+
description: 'Sharpen value for color adjust post-processing',
|
|
327
342
|
type: 'float',
|
|
328
343
|
phase: 1,
|
|
329
344
|
default: 0,
|
|
@@ -346,6 +361,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
346
361
|
},
|
|
347
362
|
{
|
|
348
363
|
name: 'BloomEnabled',
|
|
364
|
+
description: 'If true, bloom post-processing will be enabled',
|
|
349
365
|
type: 'bool',
|
|
350
366
|
phase: 0,
|
|
351
367
|
default: true,
|
|
@@ -362,6 +378,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
362
378
|
},
|
|
363
379
|
{
|
|
364
380
|
name: 'BloomMaxDownsampleLevels',
|
|
381
|
+
description: 'Maximum downsample levels for bloom post-processing',
|
|
365
382
|
type: 'int',
|
|
366
383
|
options: {
|
|
367
384
|
minValue: 0,
|
|
@@ -380,6 +397,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
380
397
|
},
|
|
381
398
|
{
|
|
382
399
|
name: 'BloomDownsampleLimit',
|
|
400
|
+
description: 'Minimum downsample framebuffer resolution for bloom post-processing',
|
|
383
401
|
type: 'int',
|
|
384
402
|
options: {
|
|
385
403
|
minValue: 2,
|
|
@@ -398,6 +416,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
398
416
|
},
|
|
399
417
|
{
|
|
400
418
|
name: 'BloomThreshold',
|
|
419
|
+
description: 'Color threshold for bloom post-processing',
|
|
401
420
|
type: 'float',
|
|
402
421
|
options: {
|
|
403
422
|
animatable: true,
|
|
@@ -417,6 +436,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
417
436
|
},
|
|
418
437
|
{
|
|
419
438
|
name: 'BloomThresholdKnee',
|
|
439
|
+
description: 'Color threshold-knee value for bloom post-processing',
|
|
420
440
|
type: 'float',
|
|
421
441
|
options: {
|
|
422
442
|
animatable: true,
|
|
@@ -436,6 +456,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
436
456
|
},
|
|
437
457
|
{
|
|
438
458
|
name: 'BloomIntensity',
|
|
459
|
+
description: 'Intensity value for bloom post-processing',
|
|
439
460
|
type: 'float',
|
|
440
461
|
options: {
|
|
441
462
|
animatable: true,
|
|
@@ -455,6 +476,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
455
476
|
},
|
|
456
477
|
{
|
|
457
478
|
name: 'FXAAEnabled',
|
|
479
|
+
description: 'If true, FXAA post-processing will be enabled',
|
|
458
480
|
type: 'bool',
|
|
459
481
|
phase: 0,
|
|
460
482
|
default: true,
|
|
@@ -471,6 +493,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
471
493
|
},
|
|
472
494
|
{
|
|
473
495
|
name: 'TAAEnabled',
|
|
496
|
+
description: 'If true, TAA post-processing will be enabled',
|
|
474
497
|
type: 'bool',
|
|
475
498
|
phase: 0,
|
|
476
499
|
default: false,
|
|
@@ -487,6 +510,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
487
510
|
},
|
|
488
511
|
{
|
|
489
512
|
name: 'TAADebug',
|
|
513
|
+
description: 'Debug channel for TAA post-processing',
|
|
490
514
|
type: 'int',
|
|
491
515
|
phase: 1,
|
|
492
516
|
options: {
|
|
@@ -528,6 +552,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
528
552
|
},
|
|
529
553
|
{
|
|
530
554
|
name: 'MotionBlurEnabled',
|
|
555
|
+
description: 'If true, motion blur post-processing will be enabled',
|
|
531
556
|
type: 'bool',
|
|
532
557
|
phase: 0,
|
|
533
558
|
default: false,
|
|
@@ -544,6 +569,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
544
569
|
},
|
|
545
570
|
{
|
|
546
571
|
name: 'MotionBlurStrength',
|
|
572
|
+
description: 'Strength value for motion blur post-processing',
|
|
547
573
|
type: 'float',
|
|
548
574
|
phase: 1,
|
|
549
575
|
default: 1,
|
|
@@ -566,6 +592,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
566
592
|
},
|
|
567
593
|
{
|
|
568
594
|
name: 'SSREnabled',
|
|
595
|
+
description: 'If true, SSR post-processing will be enabled',
|
|
569
596
|
type: 'bool',
|
|
570
597
|
phase: 0,
|
|
571
598
|
default: false,
|
|
@@ -582,6 +609,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
582
609
|
},
|
|
583
610
|
{
|
|
584
611
|
name: 'SSRMaxRoughness',
|
|
612
|
+
description: 'Maximum roughness value for SSR post-processing',
|
|
585
613
|
type: 'float',
|
|
586
614
|
phase: 1,
|
|
587
615
|
default: 0.8,
|
|
@@ -603,6 +631,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
603
631
|
},
|
|
604
632
|
{
|
|
605
633
|
name: 'SSRRoughnessFactor',
|
|
634
|
+
description: 'Global roughness multiplier for debugging',
|
|
606
635
|
type: 'float',
|
|
607
636
|
phase: 1,
|
|
608
637
|
default: 1.0,
|
|
@@ -624,6 +653,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
624
653
|
},
|
|
625
654
|
{
|
|
626
655
|
name: 'SSRStride',
|
|
656
|
+
description: 'How many pixels per step for screen-space ray tracing, no effect if HiZ is enabled',
|
|
627
657
|
type: 'int',
|
|
628
658
|
phase: 1,
|
|
629
659
|
default: 2,
|
|
@@ -645,6 +675,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
645
675
|
},
|
|
646
676
|
{
|
|
647
677
|
name: 'SSRMaxDistance',
|
|
678
|
+
description: 'Maximum distance in pixels for screen-space ray tracing',
|
|
648
679
|
type: 'float',
|
|
649
680
|
phase: 1,
|
|
650
681
|
default: 100,
|
|
@@ -666,6 +697,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
666
697
|
},
|
|
667
698
|
{
|
|
668
699
|
name: 'SSRMaxSteps',
|
|
700
|
+
description: 'Maximum steps for screen-space ray tracing',
|
|
669
701
|
type: 'int',
|
|
670
702
|
phase: 1,
|
|
671
703
|
default: 120,
|
|
@@ -687,6 +719,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
687
719
|
},
|
|
688
720
|
{
|
|
689
721
|
name: 'SSRThickness',
|
|
722
|
+
description: 'Thickness value for screen-space ray tracing',
|
|
690
723
|
type: 'float',
|
|
691
724
|
phase: 1,
|
|
692
725
|
default: 0.5,
|
|
@@ -708,6 +741,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
708
741
|
},
|
|
709
742
|
{
|
|
710
743
|
name: 'SSRBlurScale',
|
|
744
|
+
description: 'Scale value of bilateral blur for SSR post-processing',
|
|
711
745
|
phase: 1,
|
|
712
746
|
type: 'float',
|
|
713
747
|
default: 0.01,
|
|
@@ -729,6 +763,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
729
763
|
},
|
|
730
764
|
{
|
|
731
765
|
name: 'SSRBlurDepthCutoff',
|
|
766
|
+
description: 'Depth cutoff of bilateral blur for SSR post-processing',
|
|
732
767
|
phase: 1,
|
|
733
768
|
type: 'float',
|
|
734
769
|
default: 2,
|
|
@@ -750,6 +785,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
750
785
|
},
|
|
751
786
|
{
|
|
752
787
|
name: 'SSRBlurKernelSize',
|
|
788
|
+
description: 'Kernel size of bilateral blur for SSR post-processing',
|
|
753
789
|
type: 'int',
|
|
754
790
|
phase: 1,
|
|
755
791
|
default: 10,
|
|
@@ -771,6 +807,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
771
807
|
},
|
|
772
808
|
{
|
|
773
809
|
name: 'SSRBlurStdDev',
|
|
810
|
+
description: 'Stddev of bilateral blur for SSR post-processing',
|
|
774
811
|
type: 'float',
|
|
775
812
|
phase: 1,
|
|
776
813
|
default: 10,
|
|
@@ -792,6 +829,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
792
829
|
},
|
|
793
830
|
{
|
|
794
831
|
name: 'SSRCalcThickness',
|
|
832
|
+
description: 'If true, automatically calculate thickness for screen-space ray tracing',
|
|
795
833
|
type: 'bool',
|
|
796
834
|
phase: 1,
|
|
797
835
|
default: false,
|
|
@@ -811,6 +849,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
811
849
|
},
|
|
812
850
|
{
|
|
813
851
|
name: 'SSAOEnabled',
|
|
852
|
+
description: 'If true, SAO post-processing will be enabled',
|
|
814
853
|
type: 'bool',
|
|
815
854
|
phase: 0,
|
|
816
855
|
default: false,
|
|
@@ -827,6 +866,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
827
866
|
},
|
|
828
867
|
{
|
|
829
868
|
name: 'SSAOScale',
|
|
869
|
+
description: 'Scale value for SAO post-processing',
|
|
830
870
|
type: 'float',
|
|
831
871
|
phase: 0,
|
|
832
872
|
default: 10,
|
|
@@ -843,6 +883,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
843
883
|
},
|
|
844
884
|
{
|
|
845
885
|
name: 'SSAOBias',
|
|
886
|
+
description: 'Bias value for SAO post-processing',
|
|
846
887
|
type: 'float',
|
|
847
888
|
phase: 0,
|
|
848
889
|
default: 1,
|
|
@@ -859,6 +900,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
859
900
|
},
|
|
860
901
|
{
|
|
861
902
|
name: 'SSAORadius',
|
|
903
|
+
description: 'Radius value for SAO post-processing',
|
|
862
904
|
type: 'float',
|
|
863
905
|
phase: 0,
|
|
864
906
|
default: 100,
|
|
@@ -875,6 +917,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
875
917
|
},
|
|
876
918
|
{
|
|
877
919
|
name: 'SSAOIntensity',
|
|
920
|
+
description: 'Intensity value for SAO post-processing',
|
|
878
921
|
type: 'float',
|
|
879
922
|
phase: 0,
|
|
880
923
|
default: 2.5,
|
|
@@ -909,6 +952,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
909
952
|
return defineProps([
|
|
910
953
|
{
|
|
911
954
|
name: 'FovVertical',
|
|
955
|
+
description: 'Vertical FOV in radians',
|
|
912
956
|
type: 'float',
|
|
913
957
|
default: Math.PI / 3,
|
|
914
958
|
options: {
|
|
@@ -924,6 +968,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
924
968
|
},
|
|
925
969
|
{
|
|
926
970
|
name: 'Near',
|
|
971
|
+
description: 'Near clip plane',
|
|
927
972
|
type: 'float',
|
|
928
973
|
default: 1,
|
|
929
974
|
get (value) {
|
|
@@ -935,6 +980,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
935
980
|
},
|
|
936
981
|
{
|
|
937
982
|
name: 'Far',
|
|
983
|
+
description: 'Far clip plane',
|
|
938
984
|
type: 'float',
|
|
939
985
|
default: 1000,
|
|
940
986
|
get (value) {
|
|
@@ -946,6 +992,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
946
992
|
},
|
|
947
993
|
{
|
|
948
994
|
name: 'AutoAspect',
|
|
995
|
+
description: 'If true, automatically determine aspect ratio',
|
|
949
996
|
type: 'bool',
|
|
950
997
|
default: true,
|
|
951
998
|
get (value) {
|
|
@@ -975,6 +1022,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
975
1022
|
return defineProps([
|
|
976
1023
|
{
|
|
977
1024
|
name: 'Left',
|
|
1025
|
+
description: 'Left clip plane',
|
|
978
1026
|
type: 'float',
|
|
979
1027
|
default: -1,
|
|
980
1028
|
get (value) {
|
|
@@ -986,6 +1034,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
986
1034
|
},
|
|
987
1035
|
{
|
|
988
1036
|
name: 'Right',
|
|
1037
|
+
description: 'Right clip plane',
|
|
989
1038
|
type: 'float',
|
|
990
1039
|
default: 1,
|
|
991
1040
|
get (value) {
|
|
@@ -997,6 +1046,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
997
1046
|
},
|
|
998
1047
|
{
|
|
999
1048
|
name: 'Bottom',
|
|
1049
|
+
description: 'Bottom clip plane',
|
|
1000
1050
|
type: 'float',
|
|
1001
1051
|
default: -1,
|
|
1002
1052
|
get (value) {
|
|
@@ -1008,6 +1058,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
1008
1058
|
},
|
|
1009
1059
|
{
|
|
1010
1060
|
name: 'Top',
|
|
1061
|
+
description: 'Top clip plane',
|
|
1011
1062
|
type: 'float',
|
|
1012
1063
|
default: 1,
|
|
1013
1064
|
get (value) {
|
|
@@ -1019,6 +1070,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
1019
1070
|
},
|
|
1020
1071
|
{
|
|
1021
1072
|
name: 'Near',
|
|
1073
|
+
description: 'Near clip plane',
|
|
1022
1074
|
type: 'float',
|
|
1023
1075
|
default: -1,
|
|
1024
1076
|
get (value) {
|
|
@@ -1030,6 +1082,7 @@ import '../../../scene/raycast_visitor.js';
|
|
|
1030
1082
|
},
|
|
1031
1083
|
{
|
|
1032
1084
|
name: 'Far',
|
|
1085
|
+
description: 'Far clip plane',
|
|
1033
1086
|
type: 'float',
|
|
1034
1087
|
default: 1,
|
|
1035
1088
|
get (value) {
|