@driftengine/core 4.11.0 → 4.12.0
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/CHANGELOG.json +72 -0
- package/README.md +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.js +1 -1
- package/dist/render/ambientOcclusionPass.d.ts +3 -2
- package/dist/render/ambientOcclusionPass.js +4 -2
- package/dist/render/backend/api.d.ts +21 -1
- package/dist/render/backend/webgl2/renderer.d.ts +61 -5
- package/dist/render/backend/webgl2/renderer.js +153 -21
- package/dist/render/backend/webgpu/renderer.d.ts +54 -1
- package/dist/render/backend/webgpu/renderer.js +246 -89
- package/dist/render/instances.d.ts +13 -1
- package/dist/render/instances.js +10 -0
- package/dist/render/occlusionFade.d.ts +21 -0
- package/dist/render/occlusionFade.js +27 -0
- package/dist/render/sceneTarget.d.ts +2 -0
- package/dist/render/sceneTarget.js +1 -1
- package/dist/render/shaders/ambientOcclusion.js +12 -1
- package/dist/render/shaders/flat/areaLight.d.ts +1 -1
- package/dist/render/shaders/flat/areaLight.js +1 -1
- package/dist/render/shaders/flat/glassTint.d.ts +1 -1
- package/dist/render/shaders/flat/glassTint.js +1 -0
- package/dist/render/shaders/flat/index.d.ts +5 -0
- package/dist/render/shaders/flat/index.js +10 -3
- package/dist/render/shaders/flat/layerLooks.d.ts +16 -0
- package/dist/render/shaders/flat/layerLooks.js +116 -0
- package/dist/render/shaders/flat/layered.d.ts +19 -9
- package/dist/render/shaders/flat/layered.js +169 -37
- package/dist/render/shaders/flat/main.d.ts +1 -1
- package/dist/render/shaders/flat/main.js +17 -5
- package/dist/render/shaders/flat/models.js +1 -1
- package/dist/render/shaders/flat/normalMap.d.ts +1 -1
- package/dist/render/shaders/flat/normalMap.js +11 -2
- package/dist/render/shaders/flat/preamble.js +6 -0
- package/dist/render/shaders/generated/ambientOcclusion.wgsl.d.ts +6 -1
- package/dist/render/shaders/generated/ambientOcclusion.wgsl.js +6 -1
- package/dist/render/shaders/generated/flat.wgsl.d.ts +176 -48
- package/dist/render/shaders/generated/flat.wgsl.js +215 -87
- package/dist/render/surfaceLayerLooks.d.ts +80 -0
- package/dist/render/surfaceLayerLooks.js +83 -0
- package/dist/render/surfaceLayers.d.ts +128 -19
- package/dist/render/surfaceLayers.js +73 -13
- package/dist/render/surfaceTexture.d.ts +13 -4
- package/dist/render/transmission.d.ts +21 -0
- package/dist/render/transmission.js +21 -0
- package/dist/ui/splash.d.ts +42 -2
- package/dist/ui/splash.js +78 -13
- package/package.json +6 -6
- package/scripts/browser.d.mts +5 -0
- package/scripts/browser.mjs +68 -14
- package/scripts/look.d.mts +81 -0
- package/scripts/look.mjs +380 -0
- package/src/index.ts +4 -0
- package/src/render/ambientOcclusionPass.ts +4 -1
- package/src/render/backend/api.ts +31 -0
- package/src/render/backend/webgl2/renderer.ts +170 -22
- package/src/render/backend/webgpu/renderer.ts +379 -139
- package/src/render/instances.ts +18 -1
- package/src/render/occlusionFade.ts +29 -0
- package/src/render/sceneTarget.ts +3 -0
- package/src/render/shaders/ambientOcclusion.ts +12 -1
- package/src/render/shaders/flat/areaLight.ts +1 -1
- package/src/render/shaders/flat/glassTint.ts +3 -1
- package/src/render/shaders/flat/index.ts +15 -3
- package/src/render/shaders/flat/layerLooks.ts +116 -0
- package/src/render/shaders/flat/layered.ts +170 -37
- package/src/render/shaders/flat/main.ts +17 -5
- package/src/render/shaders/flat/models.ts +1 -1
- package/src/render/shaders/flat/normalMap.ts +11 -2
- package/src/render/shaders/flat/preamble.ts +6 -0
- package/src/render/shaders/generated/ambientOcclusion.wgsl.ts +6 -1
- package/src/render/shaders/generated/flat.wgsl.ts +215 -87
- package/src/render/surfaceLayerLooks.ts +155 -0
- package/src/render/surfaceLayers.ts +187 -23
- package/src/render/surfaceTexture.ts +13 -4
- package/src/render/transmission.ts +27 -0
- package/src/ui/splash.ts +83 -14
|
@@ -282,7 +282,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
282
282
|
};
|
|
283
283
|
};
|
|
284
284
|
readonly materialUniforms: 2;
|
|
285
|
-
readonly materialSize:
|
|
285
|
+
readonly materialSize: 912;
|
|
286
286
|
readonly materialFields: {
|
|
287
287
|
readonly uSeeThrough: {
|
|
288
288
|
readonly offset: 0;
|
|
@@ -407,9 +407,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
407
407
|
};
|
|
408
408
|
readonly uLayers: {
|
|
409
409
|
readonly offset: 608;
|
|
410
|
-
readonly size:
|
|
410
|
+
readonly size: 64;
|
|
411
411
|
readonly type: "vec4";
|
|
412
|
-
readonly length:
|
|
412
|
+
readonly length: 4;
|
|
413
|
+
readonly stride: 16;
|
|
414
|
+
};
|
|
415
|
+
readonly uLayerLooks: {
|
|
416
|
+
readonly offset: 672;
|
|
417
|
+
readonly size: 240;
|
|
418
|
+
readonly type: "vec4";
|
|
419
|
+
readonly length: 15;
|
|
413
420
|
readonly stride: 16;
|
|
414
421
|
};
|
|
415
422
|
};
|
|
@@ -493,6 +500,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
493
500
|
readonly REFLECTION_MAPS: 17;
|
|
494
501
|
readonly WORLD_UVS: 18;
|
|
495
502
|
readonly LAYERED: 19;
|
|
503
|
+
readonly LAYER_LOOKS: 20;
|
|
496
504
|
};
|
|
497
505
|
};
|
|
498
506
|
readonly pointShadows: {
|
|
@@ -894,7 +902,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
894
902
|
};
|
|
895
903
|
};
|
|
896
904
|
readonly materialUniforms: 2;
|
|
897
|
-
readonly materialSize:
|
|
905
|
+
readonly materialSize: 912;
|
|
898
906
|
readonly materialFields: {
|
|
899
907
|
readonly uSeeThrough: {
|
|
900
908
|
readonly offset: 0;
|
|
@@ -1019,9 +1027,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
1019
1027
|
};
|
|
1020
1028
|
readonly uLayers: {
|
|
1021
1029
|
readonly offset: 608;
|
|
1022
|
-
readonly size:
|
|
1030
|
+
readonly size: 64;
|
|
1023
1031
|
readonly type: "vec4";
|
|
1024
|
-
readonly length:
|
|
1032
|
+
readonly length: 4;
|
|
1033
|
+
readonly stride: 16;
|
|
1034
|
+
};
|
|
1035
|
+
readonly uLayerLooks: {
|
|
1036
|
+
readonly offset: 672;
|
|
1037
|
+
readonly size: 240;
|
|
1038
|
+
readonly type: "vec4";
|
|
1039
|
+
readonly length: 15;
|
|
1025
1040
|
readonly stride: 16;
|
|
1026
1041
|
};
|
|
1027
1042
|
};
|
|
@@ -1117,6 +1132,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
1117
1132
|
readonly REFLECTION_MAPS: 17;
|
|
1118
1133
|
readonly WORLD_UVS: 18;
|
|
1119
1134
|
readonly LAYERED: 19;
|
|
1135
|
+
readonly LAYER_LOOKS: 20;
|
|
1120
1136
|
};
|
|
1121
1137
|
};
|
|
1122
1138
|
readonly directionalShadows: {
|
|
@@ -1422,7 +1438,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
1422
1438
|
};
|
|
1423
1439
|
};
|
|
1424
1440
|
readonly materialUniforms: 2;
|
|
1425
|
-
readonly materialSize:
|
|
1441
|
+
readonly materialSize: 912;
|
|
1426
1442
|
readonly materialFields: {
|
|
1427
1443
|
readonly uSeeThrough: {
|
|
1428
1444
|
readonly offset: 0;
|
|
@@ -1547,9 +1563,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
1547
1563
|
};
|
|
1548
1564
|
readonly uLayers: {
|
|
1549
1565
|
readonly offset: 608;
|
|
1550
|
-
readonly size:
|
|
1566
|
+
readonly size: 64;
|
|
1551
1567
|
readonly type: "vec4";
|
|
1552
|
-
readonly length:
|
|
1568
|
+
readonly length: 4;
|
|
1569
|
+
readonly stride: 16;
|
|
1570
|
+
};
|
|
1571
|
+
readonly uLayerLooks: {
|
|
1572
|
+
readonly offset: 672;
|
|
1573
|
+
readonly size: 240;
|
|
1574
|
+
readonly type: "vec4";
|
|
1575
|
+
readonly length: 15;
|
|
1553
1576
|
readonly stride: 16;
|
|
1554
1577
|
};
|
|
1555
1578
|
};
|
|
@@ -1645,6 +1668,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
1645
1668
|
readonly REFLECTION_MAPS: 17;
|
|
1646
1669
|
readonly WORLD_UVS: 18;
|
|
1647
1670
|
readonly LAYERED: 19;
|
|
1671
|
+
readonly LAYER_LOOKS: 20;
|
|
1648
1672
|
};
|
|
1649
1673
|
};
|
|
1650
1674
|
readonly "directionalShadows+pointShadows": {
|
|
@@ -2076,7 +2100,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
2076
2100
|
};
|
|
2077
2101
|
};
|
|
2078
2102
|
readonly materialUniforms: 2;
|
|
2079
|
-
readonly materialSize:
|
|
2103
|
+
readonly materialSize: 912;
|
|
2080
2104
|
readonly materialFields: {
|
|
2081
2105
|
readonly uSeeThrough: {
|
|
2082
2106
|
readonly offset: 0;
|
|
@@ -2201,9 +2225,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
2201
2225
|
};
|
|
2202
2226
|
readonly uLayers: {
|
|
2203
2227
|
readonly offset: 608;
|
|
2204
|
-
readonly size:
|
|
2228
|
+
readonly size: 64;
|
|
2205
2229
|
readonly type: "vec4";
|
|
2206
|
-
readonly length:
|
|
2230
|
+
readonly length: 4;
|
|
2231
|
+
readonly stride: 16;
|
|
2232
|
+
};
|
|
2233
|
+
readonly uLayerLooks: {
|
|
2234
|
+
readonly offset: 672;
|
|
2235
|
+
readonly size: 240;
|
|
2236
|
+
readonly type: "vec4";
|
|
2237
|
+
readonly length: 15;
|
|
2207
2238
|
readonly stride: 16;
|
|
2208
2239
|
};
|
|
2209
2240
|
};
|
|
@@ -2311,6 +2342,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
2311
2342
|
readonly REFLECTION_MAPS: 17;
|
|
2312
2343
|
readonly WORLD_UVS: 18;
|
|
2313
2344
|
readonly LAYERED: 19;
|
|
2345
|
+
readonly LAYER_LOOKS: 20;
|
|
2314
2346
|
};
|
|
2315
2347
|
};
|
|
2316
2348
|
readonly environmentProbe: {
|
|
@@ -2636,7 +2668,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
2636
2668
|
};
|
|
2637
2669
|
};
|
|
2638
2670
|
readonly materialUniforms: 2;
|
|
2639
|
-
readonly materialSize:
|
|
2671
|
+
readonly materialSize: 912;
|
|
2640
2672
|
readonly materialFields: {
|
|
2641
2673
|
readonly uSeeThrough: {
|
|
2642
2674
|
readonly offset: 0;
|
|
@@ -2761,9 +2793,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
2761
2793
|
};
|
|
2762
2794
|
readonly uLayers: {
|
|
2763
2795
|
readonly offset: 608;
|
|
2764
|
-
readonly size:
|
|
2796
|
+
readonly size: 64;
|
|
2765
2797
|
readonly type: "vec4";
|
|
2766
|
-
readonly length:
|
|
2798
|
+
readonly length: 4;
|
|
2799
|
+
readonly stride: 16;
|
|
2800
|
+
};
|
|
2801
|
+
readonly uLayerLooks: {
|
|
2802
|
+
readonly offset: 672;
|
|
2803
|
+
readonly size: 240;
|
|
2804
|
+
readonly type: "vec4";
|
|
2805
|
+
readonly length: 15;
|
|
2767
2806
|
readonly stride: 16;
|
|
2768
2807
|
};
|
|
2769
2808
|
};
|
|
@@ -2852,6 +2891,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
2852
2891
|
readonly REFLECTION_MAPS: 17;
|
|
2853
2892
|
readonly WORLD_UVS: 18;
|
|
2854
2893
|
readonly LAYERED: 19;
|
|
2894
|
+
readonly LAYER_LOOKS: 20;
|
|
2855
2895
|
};
|
|
2856
2896
|
};
|
|
2857
2897
|
readonly "environmentProbe+pointShadows": {
|
|
@@ -3303,7 +3343,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
3303
3343
|
};
|
|
3304
3344
|
};
|
|
3305
3345
|
readonly materialUniforms: 2;
|
|
3306
|
-
readonly materialSize:
|
|
3346
|
+
readonly materialSize: 912;
|
|
3307
3347
|
readonly materialFields: {
|
|
3308
3348
|
readonly uSeeThrough: {
|
|
3309
3349
|
readonly offset: 0;
|
|
@@ -3428,9 +3468,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
3428
3468
|
};
|
|
3429
3469
|
readonly uLayers: {
|
|
3430
3470
|
readonly offset: 608;
|
|
3431
|
-
readonly size:
|
|
3471
|
+
readonly size: 64;
|
|
3432
3472
|
readonly type: "vec4";
|
|
3433
|
-
readonly length:
|
|
3473
|
+
readonly length: 4;
|
|
3474
|
+
readonly stride: 16;
|
|
3475
|
+
};
|
|
3476
|
+
readonly uLayerLooks: {
|
|
3477
|
+
readonly offset: 672;
|
|
3478
|
+
readonly size: 240;
|
|
3479
|
+
readonly type: "vec4";
|
|
3480
|
+
readonly length: 15;
|
|
3434
3481
|
readonly stride: 16;
|
|
3435
3482
|
};
|
|
3436
3483
|
};
|
|
@@ -3531,6 +3578,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
3531
3578
|
readonly REFLECTION_MAPS: 17;
|
|
3532
3579
|
readonly WORLD_UVS: 18;
|
|
3533
3580
|
readonly LAYERED: 19;
|
|
3581
|
+
readonly LAYER_LOOKS: 20;
|
|
3534
3582
|
};
|
|
3535
3583
|
};
|
|
3536
3584
|
readonly "directionalShadows+environmentProbe": {
|
|
@@ -3886,7 +3934,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
3886
3934
|
};
|
|
3887
3935
|
};
|
|
3888
3936
|
readonly materialUniforms: 2;
|
|
3889
|
-
readonly materialSize:
|
|
3937
|
+
readonly materialSize: 912;
|
|
3890
3938
|
readonly materialFields: {
|
|
3891
3939
|
readonly uSeeThrough: {
|
|
3892
3940
|
readonly offset: 0;
|
|
@@ -4011,9 +4059,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
4011
4059
|
};
|
|
4012
4060
|
readonly uLayers: {
|
|
4013
4061
|
readonly offset: 608;
|
|
4014
|
-
readonly size:
|
|
4062
|
+
readonly size: 64;
|
|
4015
4063
|
readonly type: "vec4";
|
|
4016
|
-
readonly length:
|
|
4064
|
+
readonly length: 4;
|
|
4065
|
+
readonly stride: 16;
|
|
4066
|
+
};
|
|
4067
|
+
readonly uLayerLooks: {
|
|
4068
|
+
readonly offset: 672;
|
|
4069
|
+
readonly size: 240;
|
|
4070
|
+
readonly type: "vec4";
|
|
4071
|
+
readonly length: 15;
|
|
4017
4072
|
readonly stride: 16;
|
|
4018
4073
|
};
|
|
4019
4074
|
};
|
|
@@ -4114,6 +4169,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
4114
4169
|
readonly REFLECTION_MAPS: 17;
|
|
4115
4170
|
readonly WORLD_UVS: 18;
|
|
4116
4171
|
readonly LAYERED: 19;
|
|
4172
|
+
readonly LAYER_LOOKS: 20;
|
|
4117
4173
|
};
|
|
4118
4174
|
};
|
|
4119
4175
|
readonly "directionalShadows+environmentProbe+pointShadows": {
|
|
@@ -4595,7 +4651,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
4595
4651
|
};
|
|
4596
4652
|
};
|
|
4597
4653
|
readonly materialUniforms: 2;
|
|
4598
|
-
readonly materialSize:
|
|
4654
|
+
readonly materialSize: 912;
|
|
4599
4655
|
readonly materialFields: {
|
|
4600
4656
|
readonly uSeeThrough: {
|
|
4601
4657
|
readonly offset: 0;
|
|
@@ -4720,9 +4776,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
4720
4776
|
};
|
|
4721
4777
|
readonly uLayers: {
|
|
4722
4778
|
readonly offset: 608;
|
|
4723
|
-
readonly size:
|
|
4779
|
+
readonly size: 64;
|
|
4724
4780
|
readonly type: "vec4";
|
|
4725
|
-
readonly length:
|
|
4781
|
+
readonly length: 4;
|
|
4782
|
+
readonly stride: 16;
|
|
4783
|
+
};
|
|
4784
|
+
readonly uLayerLooks: {
|
|
4785
|
+
readonly offset: 672;
|
|
4786
|
+
readonly size: 240;
|
|
4787
|
+
readonly type: "vec4";
|
|
4788
|
+
readonly length: 15;
|
|
4726
4789
|
readonly stride: 16;
|
|
4727
4790
|
};
|
|
4728
4791
|
};
|
|
@@ -4835,6 +4898,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
4835
4898
|
readonly REFLECTION_MAPS: 17;
|
|
4836
4899
|
readonly WORLD_UVS: 18;
|
|
4837
4900
|
readonly LAYERED: 19;
|
|
4901
|
+
readonly LAYER_LOOKS: 20;
|
|
4838
4902
|
};
|
|
4839
4903
|
};
|
|
4840
4904
|
readonly nightEmissive: {
|
|
@@ -5115,7 +5179,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
5115
5179
|
};
|
|
5116
5180
|
};
|
|
5117
5181
|
readonly materialUniforms: 2;
|
|
5118
|
-
readonly materialSize:
|
|
5182
|
+
readonly materialSize: 912;
|
|
5119
5183
|
readonly materialFields: {
|
|
5120
5184
|
readonly uSeeThrough: {
|
|
5121
5185
|
readonly offset: 0;
|
|
@@ -5240,9 +5304,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
5240
5304
|
};
|
|
5241
5305
|
readonly uLayers: {
|
|
5242
5306
|
readonly offset: 608;
|
|
5243
|
-
readonly size:
|
|
5307
|
+
readonly size: 64;
|
|
5244
5308
|
readonly type: "vec4";
|
|
5245
|
-
readonly length:
|
|
5309
|
+
readonly length: 4;
|
|
5310
|
+
readonly stride: 16;
|
|
5311
|
+
};
|
|
5312
|
+
readonly uLayerLooks: {
|
|
5313
|
+
readonly offset: 672;
|
|
5314
|
+
readonly size: 240;
|
|
5315
|
+
readonly type: "vec4";
|
|
5316
|
+
readonly length: 15;
|
|
5246
5317
|
readonly stride: 16;
|
|
5247
5318
|
};
|
|
5248
5319
|
};
|
|
@@ -5326,6 +5397,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
5326
5397
|
readonly REFLECTION_MAPS: 17;
|
|
5327
5398
|
readonly WORLD_UVS: 18;
|
|
5328
5399
|
readonly LAYERED: 19;
|
|
5400
|
+
readonly LAYER_LOOKS: 20;
|
|
5329
5401
|
};
|
|
5330
5402
|
};
|
|
5331
5403
|
readonly "nightEmissive+pointShadows": {
|
|
@@ -5732,7 +5804,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
5732
5804
|
};
|
|
5733
5805
|
};
|
|
5734
5806
|
readonly materialUniforms: 2;
|
|
5735
|
-
readonly materialSize:
|
|
5807
|
+
readonly materialSize: 912;
|
|
5736
5808
|
readonly materialFields: {
|
|
5737
5809
|
readonly uSeeThrough: {
|
|
5738
5810
|
readonly offset: 0;
|
|
@@ -5857,9 +5929,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
5857
5929
|
};
|
|
5858
5930
|
readonly uLayers: {
|
|
5859
5931
|
readonly offset: 608;
|
|
5860
|
-
readonly size:
|
|
5932
|
+
readonly size: 64;
|
|
5861
5933
|
readonly type: "vec4";
|
|
5862
|
-
readonly length:
|
|
5934
|
+
readonly length: 4;
|
|
5935
|
+
readonly stride: 16;
|
|
5936
|
+
};
|
|
5937
|
+
readonly uLayerLooks: {
|
|
5938
|
+
readonly offset: 672;
|
|
5939
|
+
readonly size: 240;
|
|
5940
|
+
readonly type: "vec4";
|
|
5941
|
+
readonly length: 15;
|
|
5863
5942
|
readonly stride: 16;
|
|
5864
5943
|
};
|
|
5865
5944
|
};
|
|
@@ -5955,6 +6034,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
5955
6034
|
readonly REFLECTION_MAPS: 17;
|
|
5956
6035
|
readonly WORLD_UVS: 18;
|
|
5957
6036
|
readonly LAYERED: 19;
|
|
6037
|
+
readonly LAYER_LOOKS: 20;
|
|
5958
6038
|
};
|
|
5959
6039
|
};
|
|
5960
6040
|
readonly "directionalShadows+nightEmissive": {
|
|
@@ -6265,7 +6345,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
6265
6345
|
};
|
|
6266
6346
|
};
|
|
6267
6347
|
readonly materialUniforms: 2;
|
|
6268
|
-
readonly materialSize:
|
|
6348
|
+
readonly materialSize: 912;
|
|
6269
6349
|
readonly materialFields: {
|
|
6270
6350
|
readonly uSeeThrough: {
|
|
6271
6351
|
readonly offset: 0;
|
|
@@ -6390,9 +6470,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
6390
6470
|
};
|
|
6391
6471
|
readonly uLayers: {
|
|
6392
6472
|
readonly offset: 608;
|
|
6393
|
-
readonly size:
|
|
6473
|
+
readonly size: 64;
|
|
6394
6474
|
readonly type: "vec4";
|
|
6395
|
-
readonly length:
|
|
6475
|
+
readonly length: 4;
|
|
6476
|
+
readonly stride: 16;
|
|
6477
|
+
};
|
|
6478
|
+
readonly uLayerLooks: {
|
|
6479
|
+
readonly offset: 672;
|
|
6480
|
+
readonly size: 240;
|
|
6481
|
+
readonly type: "vec4";
|
|
6482
|
+
readonly length: 15;
|
|
6396
6483
|
readonly stride: 16;
|
|
6397
6484
|
};
|
|
6398
6485
|
};
|
|
@@ -6488,6 +6575,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
6488
6575
|
readonly REFLECTION_MAPS: 17;
|
|
6489
6576
|
readonly WORLD_UVS: 18;
|
|
6490
6577
|
readonly LAYERED: 19;
|
|
6578
|
+
readonly LAYER_LOOKS: 20;
|
|
6491
6579
|
};
|
|
6492
6580
|
};
|
|
6493
6581
|
readonly "directionalShadows+nightEmissive+pointShadows": {
|
|
@@ -6924,7 +7012,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
6924
7012
|
};
|
|
6925
7013
|
};
|
|
6926
7014
|
readonly materialUniforms: 2;
|
|
6927
|
-
readonly materialSize:
|
|
7015
|
+
readonly materialSize: 912;
|
|
6928
7016
|
readonly materialFields: {
|
|
6929
7017
|
readonly uSeeThrough: {
|
|
6930
7018
|
readonly offset: 0;
|
|
@@ -7049,9 +7137,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
7049
7137
|
};
|
|
7050
7138
|
readonly uLayers: {
|
|
7051
7139
|
readonly offset: 608;
|
|
7052
|
-
readonly size:
|
|
7140
|
+
readonly size: 64;
|
|
7053
7141
|
readonly type: "vec4";
|
|
7054
|
-
readonly length:
|
|
7142
|
+
readonly length: 4;
|
|
7143
|
+
readonly stride: 16;
|
|
7144
|
+
};
|
|
7145
|
+
readonly uLayerLooks: {
|
|
7146
|
+
readonly offset: 672;
|
|
7147
|
+
readonly size: 240;
|
|
7148
|
+
readonly type: "vec4";
|
|
7149
|
+
readonly length: 15;
|
|
7055
7150
|
readonly stride: 16;
|
|
7056
7151
|
};
|
|
7057
7152
|
};
|
|
@@ -7159,6 +7254,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
7159
7254
|
readonly REFLECTION_MAPS: 17;
|
|
7160
7255
|
readonly WORLD_UVS: 18;
|
|
7161
7256
|
readonly LAYERED: 19;
|
|
7257
|
+
readonly LAYER_LOOKS: 20;
|
|
7162
7258
|
};
|
|
7163
7259
|
};
|
|
7164
7260
|
readonly "environmentProbe+nightEmissive": {
|
|
@@ -7489,7 +7585,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
7489
7585
|
};
|
|
7490
7586
|
};
|
|
7491
7587
|
readonly materialUniforms: 2;
|
|
7492
|
-
readonly materialSize:
|
|
7588
|
+
readonly materialSize: 912;
|
|
7493
7589
|
readonly materialFields: {
|
|
7494
7590
|
readonly uSeeThrough: {
|
|
7495
7591
|
readonly offset: 0;
|
|
@@ -7614,9 +7710,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
7614
7710
|
};
|
|
7615
7711
|
readonly uLayers: {
|
|
7616
7712
|
readonly offset: 608;
|
|
7617
|
-
readonly size:
|
|
7713
|
+
readonly size: 64;
|
|
7618
7714
|
readonly type: "vec4";
|
|
7619
|
-
readonly length:
|
|
7715
|
+
readonly length: 4;
|
|
7716
|
+
readonly stride: 16;
|
|
7717
|
+
};
|
|
7718
|
+
readonly uLayerLooks: {
|
|
7719
|
+
readonly offset: 672;
|
|
7720
|
+
readonly size: 240;
|
|
7721
|
+
readonly type: "vec4";
|
|
7722
|
+
readonly length: 15;
|
|
7620
7723
|
readonly stride: 16;
|
|
7621
7724
|
};
|
|
7622
7725
|
};
|
|
@@ -7705,6 +7808,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
7705
7808
|
readonly REFLECTION_MAPS: 17;
|
|
7706
7809
|
readonly WORLD_UVS: 18;
|
|
7707
7810
|
readonly LAYERED: 19;
|
|
7811
|
+
readonly LAYER_LOOKS: 20;
|
|
7708
7812
|
};
|
|
7709
7813
|
};
|
|
7710
7814
|
readonly "environmentProbe+nightEmissive+pointShadows": {
|
|
@@ -8161,7 +8265,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
8161
8265
|
};
|
|
8162
8266
|
};
|
|
8163
8267
|
readonly materialUniforms: 2;
|
|
8164
|
-
readonly materialSize:
|
|
8268
|
+
readonly materialSize: 912;
|
|
8165
8269
|
readonly materialFields: {
|
|
8166
8270
|
readonly uSeeThrough: {
|
|
8167
8271
|
readonly offset: 0;
|
|
@@ -8286,9 +8390,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
8286
8390
|
};
|
|
8287
8391
|
readonly uLayers: {
|
|
8288
8392
|
readonly offset: 608;
|
|
8289
|
-
readonly size:
|
|
8393
|
+
readonly size: 64;
|
|
8290
8394
|
readonly type: "vec4";
|
|
8291
|
-
readonly length:
|
|
8395
|
+
readonly length: 4;
|
|
8396
|
+
readonly stride: 16;
|
|
8397
|
+
};
|
|
8398
|
+
readonly uLayerLooks: {
|
|
8399
|
+
readonly offset: 672;
|
|
8400
|
+
readonly size: 240;
|
|
8401
|
+
readonly type: "vec4";
|
|
8402
|
+
readonly length: 15;
|
|
8292
8403
|
readonly stride: 16;
|
|
8293
8404
|
};
|
|
8294
8405
|
};
|
|
@@ -8389,6 +8500,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
8389
8500
|
readonly REFLECTION_MAPS: 17;
|
|
8390
8501
|
readonly WORLD_UVS: 18;
|
|
8391
8502
|
readonly LAYERED: 19;
|
|
8503
|
+
readonly LAYER_LOOKS: 20;
|
|
8392
8504
|
};
|
|
8393
8505
|
};
|
|
8394
8506
|
readonly "directionalShadows+environmentProbe+nightEmissive": {
|
|
@@ -8749,7 +8861,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
8749
8861
|
};
|
|
8750
8862
|
};
|
|
8751
8863
|
readonly materialUniforms: 2;
|
|
8752
|
-
readonly materialSize:
|
|
8864
|
+
readonly materialSize: 912;
|
|
8753
8865
|
readonly materialFields: {
|
|
8754
8866
|
readonly uSeeThrough: {
|
|
8755
8867
|
readonly offset: 0;
|
|
@@ -8874,9 +8986,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
8874
8986
|
};
|
|
8875
8987
|
readonly uLayers: {
|
|
8876
8988
|
readonly offset: 608;
|
|
8877
|
-
readonly size:
|
|
8989
|
+
readonly size: 64;
|
|
8878
8990
|
readonly type: "vec4";
|
|
8879
|
-
readonly length:
|
|
8991
|
+
readonly length: 4;
|
|
8992
|
+
readonly stride: 16;
|
|
8993
|
+
};
|
|
8994
|
+
readonly uLayerLooks: {
|
|
8995
|
+
readonly offset: 672;
|
|
8996
|
+
readonly size: 240;
|
|
8997
|
+
readonly type: "vec4";
|
|
8998
|
+
readonly length: 15;
|
|
8880
8999
|
readonly stride: 16;
|
|
8881
9000
|
};
|
|
8882
9001
|
};
|
|
@@ -8977,6 +9096,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
8977
9096
|
readonly REFLECTION_MAPS: 17;
|
|
8978
9097
|
readonly WORLD_UVS: 18;
|
|
8979
9098
|
readonly LAYERED: 19;
|
|
9099
|
+
readonly LAYER_LOOKS: 20;
|
|
8980
9100
|
};
|
|
8981
9101
|
};
|
|
8982
9102
|
readonly "directionalShadows+environmentProbe+nightEmissive+pointShadows": {
|
|
@@ -9463,7 +9583,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
9463
9583
|
};
|
|
9464
9584
|
};
|
|
9465
9585
|
readonly materialUniforms: 2;
|
|
9466
|
-
readonly materialSize:
|
|
9586
|
+
readonly materialSize: 912;
|
|
9467
9587
|
readonly materialFields: {
|
|
9468
9588
|
readonly uSeeThrough: {
|
|
9469
9589
|
readonly offset: 0;
|
|
@@ -9588,9 +9708,16 @@ export declare const FLAT_BINDINGS: {
|
|
|
9588
9708
|
};
|
|
9589
9709
|
readonly uLayers: {
|
|
9590
9710
|
readonly offset: 608;
|
|
9591
|
-
readonly size:
|
|
9711
|
+
readonly size: 64;
|
|
9592
9712
|
readonly type: "vec4";
|
|
9593
|
-
readonly length:
|
|
9713
|
+
readonly length: 4;
|
|
9714
|
+
readonly stride: 16;
|
|
9715
|
+
};
|
|
9716
|
+
readonly uLayerLooks: {
|
|
9717
|
+
readonly offset: 672;
|
|
9718
|
+
readonly size: 240;
|
|
9719
|
+
readonly type: "vec4";
|
|
9720
|
+
readonly length: 15;
|
|
9594
9721
|
readonly stride: 16;
|
|
9595
9722
|
};
|
|
9596
9723
|
};
|
|
@@ -9703,6 +9830,7 @@ export declare const FLAT_BINDINGS: {
|
|
|
9703
9830
|
readonly REFLECTION_MAPS: 17;
|
|
9704
9831
|
readonly WORLD_UVS: 18;
|
|
9705
9832
|
readonly LAYERED: 19;
|
|
9833
|
+
readonly LAYER_LOOKS: 20;
|
|
9706
9834
|
};
|
|
9707
9835
|
};
|
|
9708
9836
|
};
|