@driftengine/core 4.4.2 → 4.5.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.
Files changed (193) hide show
  1. package/CHANGELOG.json +46 -0
  2. package/README.md +1 -1
  3. package/dist/index.d.ts +5 -1
  4. package/dist/index.js +7 -0
  5. package/dist/render/backend/api.d.ts +17 -11
  6. package/dist/render/backend/webgl2/glassTintPrograms.d.ts +13 -0
  7. package/dist/render/backend/webgl2/glassTintPrograms.js +38 -0
  8. package/dist/render/backend/webgl2/renderer.d.ts +79 -8
  9. package/dist/render/backend/webgl2/renderer.js +360 -105
  10. package/dist/render/backend/webgpu/buffers.d.ts +19 -1
  11. package/dist/render/backend/webgpu/buffers.js +27 -1
  12. package/dist/render/backend/webgpu/depthPass.d.ts +1 -1
  13. package/dist/render/backend/webgpu/depthPass.js +2 -1
  14. package/dist/render/backend/webgpu/flatPass.d.ts +2 -0
  15. package/dist/render/backend/webgpu/flatPass.js +20 -1
  16. package/dist/render/backend/webgpu/glassTintPass.d.ts +28 -0
  17. package/dist/render/backend/webgpu/glassTintPass.js +205 -0
  18. package/dist/render/backend/webgpu/gpuDrivenPass.d.ts +60 -1
  19. package/dist/render/backend/webgpu/gpuDrivenPass.js +305 -5
  20. package/dist/render/backend/webgpu/instanced.d.ts +12 -1
  21. package/dist/render/backend/webgpu/instanced.js +20 -1
  22. package/dist/render/backend/webgpu/latePass.d.ts +26 -0
  23. package/dist/render/backend/webgpu/latePass.js +133 -0
  24. package/dist/render/backend/webgpu/lightVolumePass.js +5 -1
  25. package/dist/render/backend/webgpu/motionPass.d.ts +95 -0
  26. package/dist/render/backend/webgpu/motionPass.js +491 -0
  27. package/dist/render/backend/webgpu/pipelineCache.d.ts +10 -1
  28. package/dist/render/backend/webgpu/pipelineCache.js +11 -1
  29. package/dist/render/backend/webgpu/pointGlassTintPass.d.ts +32 -0
  30. package/dist/render/backend/webgpu/pointGlassTintPass.js +193 -0
  31. package/dist/render/backend/webgpu/pointShadowPass.d.ts +35 -6
  32. package/dist/render/backend/webgpu/pointShadowPass.js +105 -20
  33. package/dist/render/backend/webgpu/postPass.d.ts +2 -12
  34. package/dist/render/backend/webgpu/renderer.d.ts +171 -54
  35. package/dist/render/backend/webgpu/renderer.js +944 -390
  36. package/dist/render/backend/webgpu/scatterPass.js +2 -1
  37. package/dist/render/backend/webgpu/skinPaletteRing.d.ts +4 -0
  38. package/dist/render/backend/webgpu/skinPaletteRing.js +4 -0
  39. package/dist/render/backend/webgpu/snapshotMips.d.ts +29 -0
  40. package/dist/render/backend/webgpu/snapshotMips.js +52 -0
  41. package/dist/render/backend/webgpu/surfaceTexturePass.d.ts +5 -0
  42. package/dist/render/backend/webgpu/surfaceTexturePass.js +1 -1
  43. package/dist/render/glass.d.ts +45 -0
  44. package/dist/render/glass.js +39 -0
  45. package/dist/render/glassCasters.d.ts +40 -0
  46. package/dist/render/glassCasters.js +84 -0
  47. package/dist/render/glassShadow.d.ts +78 -0
  48. package/dist/render/glassShadow.js +125 -0
  49. package/dist/render/globalMediumPass.d.ts +2 -3
  50. package/dist/render/globalMediumPass.js +2 -8
  51. package/dist/render/gpudriven/lit.d.ts +12 -0
  52. package/dist/render/gpudriven/lit.js +23 -0
  53. package/dist/render/gpudriven/materialTable.d.ts +15 -5
  54. package/dist/render/gpudriven/materialTable.js +26 -6
  55. package/dist/render/gpudriven/pipeline.d.ts +1 -1
  56. package/dist/render/gpudriven/pipeline.js +4 -3
  57. package/dist/render/gpudriven/sunGlass.d.ts +35 -0
  58. package/dist/render/gpudriven/sunGlass.js +89 -0
  59. package/dist/render/lightBudget.d.ts +17 -5
  60. package/dist/render/lightBudget.js +17 -5
  61. package/dist/render/pointGlassTint.d.ts +59 -0
  62. package/dist/render/pointGlassTint.js +198 -0
  63. package/dist/render/pointShadowArray.d.ts +56 -3
  64. package/dist/render/pointShadowArray.js +127 -16
  65. package/dist/render/pointShadowMap.d.ts +23 -1
  66. package/dist/render/pointShadowMap.js +27 -1
  67. package/dist/render/recon/changeFrames.d.ts +15 -0
  68. package/dist/render/recon/changeFrames.js +21 -0
  69. package/dist/render/recon/lateRouting.d.ts +14 -0
  70. package/dist/render/recon/lateRouting.js +18 -0
  71. package/dist/render/recon/mover.d.ts +57 -0
  72. package/dist/render/recon/mover.js +86 -0
  73. package/dist/render/renderQuality.d.ts +35 -0
  74. package/dist/render/renderQuality.js +7 -0
  75. package/dist/render/rendererHarness.js +12 -0
  76. package/dist/render/sceneTarget.d.ts +7 -1
  77. package/dist/render/sceneTarget.js +58 -12
  78. package/dist/render/shaders/depth.d.ts +16 -1
  79. package/dist/render/shaders/depth.js +85 -9
  80. package/dist/render/shaders/flat/directionalShadow.js +91 -6
  81. package/dist/render/shaders/flat/glassTint.d.ts +6 -0
  82. package/dist/render/shaders/flat/glassTint.js +25 -0
  83. package/dist/render/shaders/flat/index.d.ts +13 -0
  84. package/dist/render/shaders/flat/index.js +4 -0
  85. package/dist/render/shaders/flat/lampGlass.d.ts +1 -0
  86. package/dist/render/shaders/flat/lampGlass.js +183 -0
  87. package/dist/render/shaders/flat/main.d.ts +1 -1
  88. package/dist/render/shaders/flat/main.js +115 -15
  89. package/dist/render/shaders/flat/pointShadow.d.ts +1 -1
  90. package/dist/render/shaders/flat/pointShadow.js +2 -0
  91. package/dist/render/shaders/flat/preamble.js +21 -6
  92. package/dist/render/shaders/generated/depth.wgsl.d.ts +227 -4
  93. package/dist/render/shaders/generated/depth.wgsl.js +227 -4
  94. package/dist/render/shaders/generated/flat.wgsl.d.ts +360 -312
  95. package/dist/render/shaders/generated/flat.wgsl.js +376 -328
  96. package/dist/render/shaders/generated/globalMedium.wgsl.d.ts +3 -13
  97. package/dist/render/shaders/generated/globalMedium.wgsl.js +3 -13
  98. package/dist/render/shaders/generated/lightVolume.wgsl.d.ts +3 -13
  99. package/dist/render/shaders/generated/lightVolume.wgsl.js +4 -14
  100. package/dist/render/shaders/generated/octahedralResolve.wgsl.d.ts +29 -0
  101. package/dist/render/shaders/generated/octahedralResolve.wgsl.js +29 -0
  102. package/dist/render/shaders/globalMedium.js +6 -6
  103. package/dist/render/shaders/gpudriven/blendRaster.wgsl.d.ts +7 -0
  104. package/dist/render/shaders/gpudriven/blendRaster.wgsl.js +86 -1
  105. package/dist/render/shaders/gpudriven/cull.wgsl.d.ts +1 -1
  106. package/dist/render/shaders/gpudriven/cull.wgsl.js +11 -2
  107. package/dist/render/shaders/gpudriven/materialTable.wgsl.d.ts +1 -1
  108. package/dist/render/shaders/gpudriven/materialTable.wgsl.js +3 -1
  109. package/dist/render/shaders/gpudriven/shade.wgsl.js +50 -1
  110. package/dist/render/shaders/gpudriven/sunGlass.wgsl.d.ts +9 -0
  111. package/dist/render/shaders/gpudriven/sunGlass.wgsl.js +133 -0
  112. package/dist/render/shaders/lightVolume.js +6 -6
  113. package/dist/render/shaders/octahedralResolve.d.ts +8 -0
  114. package/dist/render/shaders/octahedralResolve.js +48 -17
  115. package/dist/render/shaders/recon/lateDepth.wgsl.d.ts +1 -0
  116. package/dist/render/shaders/recon/lateDepth.wgsl.js +44 -0
  117. package/dist/render/shaders/recon/motion.wgsl.d.ts +1 -1
  118. package/dist/render/shaders/recon/motion.wgsl.js +84 -0
  119. package/dist/render/shadowCasters.d.ts +20 -1
  120. package/dist/render/shadowCasters.js +15 -1
  121. package/dist/render/shadowMap.d.ts +54 -5
  122. package/dist/render/shadowMap.js +190 -36
  123. package/dist/render/sunGlassTint.d.ts +25 -0
  124. package/dist/render/sunGlassTint.js +79 -0
  125. package/dist/render/translucentQueue.d.ts +6 -0
  126. package/dist/render/translucentQueue.js +15 -1
  127. package/package.json +6 -6
  128. package/src/index.ts +10 -0
  129. package/src/render/backend/api.ts +15 -9
  130. package/src/render/backend/webgl2/glassTintPrograms.ts +58 -0
  131. package/src/render/backend/webgl2/renderer.ts +401 -108
  132. package/src/render/backend/webgpu/buffers.ts +50 -2
  133. package/src/render/backend/webgpu/depthPass.ts +2 -1
  134. package/src/render/backend/webgpu/flatPass.ts +22 -1
  135. package/src/render/backend/webgpu/glassTintPass.ts +244 -0
  136. package/src/render/backend/webgpu/gpuDrivenPass.ts +349 -5
  137. package/src/render/backend/webgpu/instanced.ts +21 -1
  138. package/src/render/backend/webgpu/latePass.ts +152 -0
  139. package/src/render/backend/webgpu/lightVolumePass.ts +5 -1
  140. package/src/render/backend/webgpu/motionPass.ts +535 -0
  141. package/src/render/backend/webgpu/pipelineCache.ts +12 -1
  142. package/src/render/backend/webgpu/pointGlassTintPass.ts +233 -0
  143. package/src/render/backend/webgpu/pointShadowPass.ts +158 -26
  144. package/src/render/backend/webgpu/renderer.ts +1108 -421
  145. package/src/render/backend/webgpu/scatterPass.ts +2 -1
  146. package/src/render/backend/webgpu/skinPaletteRing.ts +4 -0
  147. package/src/render/backend/webgpu/snapshotMips.ts +80 -0
  148. package/src/render/backend/webgpu/surfaceTexturePass.ts +1 -1
  149. package/src/render/glass.ts +74 -0
  150. package/src/render/glassCasters.ts +164 -0
  151. package/src/render/glassShadow.ts +153 -0
  152. package/src/render/globalMediumPass.ts +4 -11
  153. package/src/render/gpudriven/lit.ts +31 -0
  154. package/src/render/gpudriven/materialTable.ts +28 -6
  155. package/src/render/gpudriven/pipeline.ts +4 -3
  156. package/src/render/gpudriven/sunGlass.ts +117 -0
  157. package/src/render/lightBudget.ts +19 -5
  158. package/src/render/pointGlassTint.ts +250 -0
  159. package/src/render/pointShadowArray.ts +188 -22
  160. package/src/render/pointShadowMap.ts +41 -0
  161. package/src/render/recon/changeFrames.ts +24 -0
  162. package/src/render/recon/lateRouting.ts +29 -0
  163. package/src/render/recon/mover.ts +118 -0
  164. package/src/render/renderQuality.ts +47 -0
  165. package/src/render/rendererHarness.ts +12 -0
  166. package/src/render/sceneTarget.ts +58 -11
  167. package/src/render/shaders/depth.ts +109 -9
  168. package/src/render/shaders/flat/directionalShadow.ts +97 -6
  169. package/src/render/shaders/flat/glassTint.ts +25 -0
  170. package/src/render/shaders/flat/index.ts +17 -0
  171. package/src/render/shaders/flat/lampGlass.ts +185 -0
  172. package/src/render/shaders/flat/main.ts +115 -15
  173. package/src/render/shaders/flat/pointShadow.ts +2 -0
  174. package/src/render/shaders/flat/preamble.ts +21 -6
  175. package/src/render/shaders/generated/depth.wgsl.ts +234 -4
  176. package/src/render/shaders/generated/flat.wgsl.ts +376 -328
  177. package/src/render/shaders/generated/globalMedium.wgsl.ts +3 -13
  178. package/src/render/shaders/generated/lightVolume.wgsl.ts +4 -14
  179. package/src/render/shaders/generated/octahedralResolve.wgsl.ts +30 -0
  180. package/src/render/shaders/globalMedium.ts +6 -6
  181. package/src/render/shaders/gpudriven/blendRaster.wgsl.ts +88 -1
  182. package/src/render/shaders/gpudriven/cull.wgsl.ts +11 -2
  183. package/src/render/shaders/gpudriven/materialTable.wgsl.ts +3 -1
  184. package/src/render/shaders/gpudriven/shade.wgsl.ts +50 -1
  185. package/src/render/shaders/gpudriven/sunGlass.wgsl.ts +139 -0
  186. package/src/render/shaders/lightVolume.ts +6 -6
  187. package/src/render/shaders/octahedralResolve.ts +50 -17
  188. package/src/render/shaders/recon/lateDepth.wgsl.ts +47 -0
  189. package/src/render/shaders/recon/motion.wgsl.ts +84 -0
  190. package/src/render/shadowCasters.ts +28 -1
  191. package/src/render/shadowMap.ts +231 -37
  192. package/src/render/sunGlassTint.ts +86 -0
  193. package/src/render/translucentQueue.ts +20 -1
@@ -13,43 +13,43 @@ export declare const FLAT_BINDINGS: {
13
13
  readonly uniforms: 1;
14
14
  readonly uniformSize: 3472;
15
15
  readonly fields: {
16
- readonly uRefractStrength: {
16
+ readonly uSeeThrough: {
17
17
  readonly offset: 0;
18
- readonly size: 4;
19
- readonly type: "float";
18
+ readonly size: 16;
19
+ readonly type: "vec4";
20
20
  };
21
21
  readonly uRefractTint: {
22
22
  readonly offset: 16;
23
23
  readonly size: 12;
24
24
  readonly type: "vec3";
25
25
  };
26
- readonly uRefractThickness: {
27
- readonly offset: 28;
28
- readonly size: 4;
29
- readonly type: "float";
26
+ readonly uGlassTint: {
27
+ readonly offset: 32;
28
+ readonly size: 12;
29
+ readonly type: "vec3";
30
30
  };
31
31
  readonly uAlbedoEnabled: {
32
- readonly offset: 32;
32
+ readonly offset: 44;
33
33
  readonly size: 4;
34
34
  readonly type: "int";
35
35
  };
36
36
  readonly uAlbedoCutout: {
37
- readonly offset: 36;
37
+ readonly offset: 48;
38
38
  readonly size: 4;
39
39
  readonly type: "float";
40
40
  };
41
41
  readonly uDoubleSided: {
42
- readonly offset: 40;
42
+ readonly offset: 52;
43
43
  readonly size: 4;
44
44
  readonly type: "int";
45
45
  };
46
46
  readonly uNormalStrength: {
47
- readonly offset: 44;
47
+ readonly offset: 56;
48
48
  readonly size: 4;
49
49
  readonly type: "float";
50
50
  };
51
51
  readonly uOrmEnabled: {
52
- readonly offset: 48;
52
+ readonly offset: 60;
53
53
  readonly size: 4;
54
54
  readonly type: "int";
55
55
  };
@@ -470,48 +470,51 @@ export declare const FLAT_BINDINGS: {
470
470
  readonly type: "sampler3D";
471
471
  };
472
472
  };
473
+ readonly overrides: {
474
+ readonly GLASS_SHADOWS: 0;
475
+ };
473
476
  };
474
477
  readonly pointShadows: {
475
478
  readonly uniforms: 1;
476
479
  readonly uniformSize: 6544;
477
480
  readonly fields: {
478
- readonly uRefractStrength: {
481
+ readonly uSeeThrough: {
479
482
  readonly offset: 0;
480
- readonly size: 4;
481
- readonly type: "float";
483
+ readonly size: 16;
484
+ readonly type: "vec4";
482
485
  };
483
486
  readonly uRefractTint: {
484
487
  readonly offset: 16;
485
488
  readonly size: 12;
486
489
  readonly type: "vec3";
487
490
  };
488
- readonly uRefractThickness: {
489
- readonly offset: 28;
490
- readonly size: 4;
491
- readonly type: "float";
491
+ readonly uGlassTint: {
492
+ readonly offset: 32;
493
+ readonly size: 12;
494
+ readonly type: "vec3";
492
495
  };
493
496
  readonly uAlbedoEnabled: {
494
- readonly offset: 32;
497
+ readonly offset: 44;
495
498
  readonly size: 4;
496
499
  readonly type: "int";
497
500
  };
498
501
  readonly uAlbedoCutout: {
499
- readonly offset: 36;
502
+ readonly offset: 48;
500
503
  readonly size: 4;
501
504
  readonly type: "float";
502
505
  };
503
506
  readonly uDoubleSided: {
504
- readonly offset: 40;
507
+ readonly offset: 52;
505
508
  readonly size: 4;
506
509
  readonly type: "int";
507
510
  };
508
511
  readonly uNormalStrength: {
509
- readonly offset: 44;
512
+ readonly offset: 56;
510
513
  readonly size: 4;
511
514
  readonly type: "float";
512
515
  };
513
516
  readonly uOrmEnabled: {
514
- readonly offset: 48;
517
+ readonly offset: 60;
515
518
  readonly size: 4;
516
519
  readonly type: "int";
517
520
  };
@@ -1052,60 +1055,69 @@ export declare const FLAT_BINDINGS: {
1052
1055
  readonly type: "sampler2DArray";
1053
1056
  readonly share: "shadow";
1054
1057
  };
1055
- readonly uDriftLightIndex: {
1058
+ readonly uPointGlassTints: {
1056
1059
  readonly texture: 49;
1060
+ readonly sampler: 50;
1061
+ readonly type: "sampler2DArray";
1062
+ readonly share: "tint";
1063
+ };
1064
+ readonly uDriftLightIndex: {
1065
+ readonly texture: 51;
1057
1066
  readonly sampler: 43;
1058
1067
  readonly type: "usampler3D";
1059
1068
  readonly share: "shadow";
1060
1069
  };
1061
1070
  readonly uDriftLightAtlas: {
1062
- readonly texture: 50;
1063
- readonly sampler: 51;
1071
+ readonly texture: 52;
1072
+ readonly sampler: 53;
1064
1073
  readonly type: "sampler3D";
1065
1074
  };
1066
1075
  };
1076
+ readonly overrides: {
1077
+ readonly GLASS_SHADOWS: 0;
1078
+ };
1067
1079
  };
1068
1080
  readonly directionalShadows: {
1069
1081
  readonly uniforms: 1;
1070
1082
  readonly uniformSize: 3504;
1071
1083
  readonly fields: {
1072
- readonly uRefractStrength: {
1084
+ readonly uSeeThrough: {
1073
1085
  readonly offset: 0;
1074
- readonly size: 4;
1075
- readonly type: "float";
1086
+ readonly size: 16;
1087
+ readonly type: "vec4";
1076
1088
  };
1077
1089
  readonly uRefractTint: {
1078
1090
  readonly offset: 16;
1079
1091
  readonly size: 12;
1080
1092
  readonly type: "vec3";
1081
1093
  };
1082
- readonly uRefractThickness: {
1083
- readonly offset: 28;
1084
- readonly size: 4;
1085
- readonly type: "float";
1094
+ readonly uGlassTint: {
1095
+ readonly offset: 32;
1096
+ readonly size: 12;
1097
+ readonly type: "vec3";
1086
1098
  };
1087
1099
  readonly uAlbedoEnabled: {
1088
- readonly offset: 32;
1100
+ readonly offset: 44;
1089
1101
  readonly size: 4;
1090
1102
  readonly type: "int";
1091
1103
  };
1092
1104
  readonly uAlbedoCutout: {
1093
- readonly offset: 36;
1105
+ readonly offset: 48;
1094
1106
  readonly size: 4;
1095
1107
  readonly type: "float";
1096
1108
  };
1097
1109
  readonly uDoubleSided: {
1098
- readonly offset: 40;
1110
+ readonly offset: 52;
1099
1111
  readonly size: 4;
1100
1112
  readonly type: "int";
1101
1113
  };
1102
1114
  readonly uNormalStrength: {
1103
- readonly offset: 44;
1115
+ readonly offset: 56;
1104
1116
  readonly size: 4;
1105
1117
  readonly type: "float";
1106
1118
  };
1107
1119
  readonly uOrmEnabled: {
1108
- readonly offset: 48;
1120
+ readonly offset: 60;
1109
1121
  readonly size: 4;
1110
1122
  readonly type: "int";
1111
1123
  };
@@ -1528,23 +1540,17 @@ export declare const FLAT_BINDINGS: {
1528
1540
  readonly sampler: 41;
1529
1541
  readonly type: "sampler2D";
1530
1542
  };
1531
- readonly uStaticShadowMap: {
1543
+ readonly uSunShadows: {
1532
1544
  readonly texture: 42;
1533
1545
  readonly sampler: 43;
1534
- readonly type: "sampler2D";
1546
+ readonly type: "sampler2DArray";
1535
1547
  readonly share: "shadow";
1536
1548
  };
1537
- readonly uPeeledShadowMap: {
1549
+ readonly uSunGlassTints: {
1538
1550
  readonly texture: 44;
1539
- readonly sampler: 43;
1540
- readonly type: "sampler2D";
1541
- readonly share: "shadow";
1542
- };
1543
- readonly uDynamicShadowMap: {
1544
- readonly texture: 45;
1545
- readonly sampler: 43;
1546
- readonly type: "sampler2D";
1547
- readonly share: "shadow";
1551
+ readonly sampler: 45;
1552
+ readonly type: "sampler2DArray";
1553
+ readonly share: "tint";
1548
1554
  };
1549
1555
  readonly uClusterTable: {
1550
1556
  readonly texture: 46;
@@ -1574,48 +1580,51 @@ export declare const FLAT_BINDINGS: {
1574
1580
  readonly type: "sampler3D";
1575
1581
  };
1576
1582
  };
1583
+ readonly overrides: {
1584
+ readonly GLASS_SHADOWS: 0;
1585
+ };
1577
1586
  };
1578
1587
  readonly "directionalShadows+pointShadows": {
1579
1588
  readonly uniforms: 1;
1580
1589
  readonly uniformSize: 6576;
1581
1590
  readonly fields: {
1582
- readonly uRefractStrength: {
1591
+ readonly uSeeThrough: {
1583
1592
  readonly offset: 0;
1584
- readonly size: 4;
1585
- readonly type: "float";
1593
+ readonly size: 16;
1594
+ readonly type: "vec4";
1586
1595
  };
1587
1596
  readonly uRefractTint: {
1588
1597
  readonly offset: 16;
1589
1598
  readonly size: 12;
1590
1599
  readonly type: "vec3";
1591
1600
  };
1592
- readonly uRefractThickness: {
1593
- readonly offset: 28;
1594
- readonly size: 4;
1595
- readonly type: "float";
1601
+ readonly uGlassTint: {
1602
+ readonly offset: 32;
1603
+ readonly size: 12;
1604
+ readonly type: "vec3";
1596
1605
  };
1597
1606
  readonly uAlbedoEnabled: {
1598
- readonly offset: 32;
1607
+ readonly offset: 44;
1599
1608
  readonly size: 4;
1600
1609
  readonly type: "int";
1601
1610
  };
1602
1611
  readonly uAlbedoCutout: {
1603
- readonly offset: 36;
1612
+ readonly offset: 48;
1604
1613
  readonly size: 4;
1605
1614
  readonly type: "float";
1606
1615
  };
1607
1616
  readonly uDoubleSided: {
1608
- readonly offset: 40;
1617
+ readonly offset: 52;
1609
1618
  readonly size: 4;
1610
1619
  readonly type: "int";
1611
1620
  };
1612
1621
  readonly uNormalStrength: {
1613
- readonly offset: 44;
1622
+ readonly offset: 56;
1614
1623
  readonly size: 4;
1615
1624
  readonly type: "float";
1616
1625
  };
1617
1626
  readonly uOrmEnabled: {
1618
- readonly offset: 48;
1627
+ readonly offset: 60;
1619
1628
  readonly size: 4;
1620
1629
  readonly type: "int";
1621
1630
  };
@@ -2164,23 +2173,17 @@ export declare const FLAT_BINDINGS: {
2164
2173
  readonly sampler: 41;
2165
2174
  readonly type: "sampler2D";
2166
2175
  };
2167
- readonly uStaticShadowMap: {
2176
+ readonly uSunShadows: {
2168
2177
  readonly texture: 42;
2169
2178
  readonly sampler: 43;
2170
- readonly type: "sampler2D";
2179
+ readonly type: "sampler2DArray";
2171
2180
  readonly share: "shadow";
2172
2181
  };
2173
- readonly uPeeledShadowMap: {
2182
+ readonly uSunGlassTints: {
2174
2183
  readonly texture: 44;
2175
- readonly sampler: 43;
2176
- readonly type: "sampler2D";
2177
- readonly share: "shadow";
2178
- };
2179
- readonly uDynamicShadowMap: {
2180
- readonly texture: 45;
2181
- readonly sampler: 43;
2182
- readonly type: "sampler2D";
2183
- readonly share: "shadow";
2184
+ readonly sampler: 45;
2185
+ readonly type: "sampler2DArray";
2186
+ readonly share: "tint";
2184
2187
  };
2185
2188
  readonly uClusterTable: {
2186
2189
  readonly texture: 46;
@@ -2204,60 +2207,69 @@ export declare const FLAT_BINDINGS: {
2204
2207
  readonly type: "sampler2DArray";
2205
2208
  readonly share: "shadow";
2206
2209
  };
2207
- readonly uDriftLightIndex: {
2210
+ readonly uPointGlassTints: {
2208
2211
  readonly texture: 52;
2212
+ readonly sampler: 45;
2213
+ readonly type: "sampler2DArray";
2214
+ readonly share: "tint";
2215
+ };
2216
+ readonly uDriftLightIndex: {
2217
+ readonly texture: 53;
2209
2218
  readonly sampler: 43;
2210
2219
  readonly type: "usampler3D";
2211
2220
  readonly share: "shadow";
2212
2221
  };
2213
2222
  readonly uDriftLightAtlas: {
2214
- readonly texture: 53;
2215
- readonly sampler: 54;
2223
+ readonly texture: 54;
2224
+ readonly sampler: 55;
2216
2225
  readonly type: "sampler3D";
2217
2226
  };
2218
2227
  };
2228
+ readonly overrides: {
2229
+ readonly GLASS_SHADOWS: 0;
2230
+ };
2219
2231
  };
2220
2232
  readonly environmentProbe: {
2221
2233
  readonly uniforms: 1;
2222
2234
  readonly uniformSize: 3552;
2223
2235
  readonly fields: {
2224
- readonly uRefractStrength: {
2236
+ readonly uSeeThrough: {
2225
2237
  readonly offset: 0;
2226
- readonly size: 4;
2227
- readonly type: "float";
2238
+ readonly size: 16;
2239
+ readonly type: "vec4";
2228
2240
  };
2229
2241
  readonly uRefractTint: {
2230
2242
  readonly offset: 16;
2231
2243
  readonly size: 12;
2232
2244
  readonly type: "vec3";
2233
2245
  };
2234
- readonly uRefractThickness: {
2235
- readonly offset: 28;
2236
- readonly size: 4;
2237
- readonly type: "float";
2246
+ readonly uGlassTint: {
2247
+ readonly offset: 32;
2248
+ readonly size: 12;
2249
+ readonly type: "vec3";
2238
2250
  };
2239
2251
  readonly uAlbedoEnabled: {
2240
- readonly offset: 32;
2252
+ readonly offset: 44;
2241
2253
  readonly size: 4;
2242
2254
  readonly type: "int";
2243
2255
  };
2244
2256
  readonly uAlbedoCutout: {
2245
- readonly offset: 36;
2257
+ readonly offset: 48;
2246
2258
  readonly size: 4;
2247
2259
  readonly type: "float";
2248
2260
  };
2249
2261
  readonly uDoubleSided: {
2250
- readonly offset: 40;
2262
+ readonly offset: 52;
2251
2263
  readonly size: 4;
2252
2264
  readonly type: "int";
2253
2265
  };
2254
2266
  readonly uNormalStrength: {
2255
- readonly offset: 44;
2267
+ readonly offset: 56;
2256
2268
  readonly size: 4;
2257
2269
  readonly type: "float";
2258
2270
  };
2259
2271
  readonly uOrmEnabled: {
2260
- readonly offset: 48;
2272
+ readonly offset: 60;
2261
2273
  readonly size: 4;
2262
2274
  readonly type: "int";
2263
2275
  };
@@ -2733,48 +2745,51 @@ export declare const FLAT_BINDINGS: {
2733
2745
  readonly type: "sampler3D";
2734
2746
  };
2735
2747
  };
2748
+ readonly overrides: {
2749
+ readonly GLASS_SHADOWS: 0;
2750
+ };
2736
2751
  };
2737
2752
  readonly "environmentProbe+pointShadows": {
2738
2753
  readonly uniforms: 1;
2739
2754
  readonly uniformSize: 6624;
2740
2755
  readonly fields: {
2741
- readonly uRefractStrength: {
2756
+ readonly uSeeThrough: {
2742
2757
  readonly offset: 0;
2743
- readonly size: 4;
2744
- readonly type: "float";
2758
+ readonly size: 16;
2759
+ readonly type: "vec4";
2745
2760
  };
2746
2761
  readonly uRefractTint: {
2747
2762
  readonly offset: 16;
2748
2763
  readonly size: 12;
2749
2764
  readonly type: "vec3";
2750
2765
  };
2751
- readonly uRefractThickness: {
2752
- readonly offset: 28;
2753
- readonly size: 4;
2754
- readonly type: "float";
2766
+ readonly uGlassTint: {
2767
+ readonly offset: 32;
2768
+ readonly size: 12;
2769
+ readonly type: "vec3";
2755
2770
  };
2756
2771
  readonly uAlbedoEnabled: {
2757
- readonly offset: 32;
2772
+ readonly offset: 44;
2758
2773
  readonly size: 4;
2759
2774
  readonly type: "int";
2760
2775
  };
2761
2776
  readonly uAlbedoCutout: {
2762
- readonly offset: 36;
2777
+ readonly offset: 48;
2763
2778
  readonly size: 4;
2764
2779
  readonly type: "float";
2765
2780
  };
2766
2781
  readonly uDoubleSided: {
2767
- readonly offset: 40;
2782
+ readonly offset: 52;
2768
2783
  readonly size: 4;
2769
2784
  readonly type: "int";
2770
2785
  };
2771
2786
  readonly uNormalStrength: {
2772
- readonly offset: 44;
2787
+ readonly offset: 56;
2773
2788
  readonly size: 4;
2774
2789
  readonly type: "float";
2775
2790
  };
2776
2791
  readonly uOrmEnabled: {
2777
- readonly offset: 48;
2792
+ readonly offset: 60;
2778
2793
  readonly size: 4;
2779
2794
  readonly type: "int";
2780
2795
  };
@@ -3370,60 +3385,69 @@ export declare const FLAT_BINDINGS: {
3370
3385
  readonly type: "sampler2DArray";
3371
3386
  readonly share: "shadow";
3372
3387
  };
3373
- readonly uDriftLightIndex: {
3388
+ readonly uPointGlassTints: {
3374
3389
  readonly texture: 51;
3390
+ readonly sampler: 52;
3391
+ readonly type: "sampler2DArray";
3392
+ readonly share: "tint";
3393
+ };
3394
+ readonly uDriftLightIndex: {
3395
+ readonly texture: 53;
3375
3396
  readonly sampler: 45;
3376
3397
  readonly type: "usampler3D";
3377
3398
  readonly share: "shadow";
3378
3399
  };
3379
3400
  readonly uDriftLightAtlas: {
3380
- readonly texture: 52;
3381
- readonly sampler: 53;
3401
+ readonly texture: 54;
3402
+ readonly sampler: 55;
3382
3403
  readonly type: "sampler3D";
3383
3404
  };
3384
3405
  };
3406
+ readonly overrides: {
3407
+ readonly GLASS_SHADOWS: 0;
3408
+ };
3385
3409
  };
3386
3410
  readonly "directionalShadows+environmentProbe": {
3387
3411
  readonly uniforms: 1;
3388
3412
  readonly uniformSize: 3584;
3389
3413
  readonly fields: {
3390
- readonly uRefractStrength: {
3414
+ readonly uSeeThrough: {
3391
3415
  readonly offset: 0;
3392
- readonly size: 4;
3393
- readonly type: "float";
3416
+ readonly size: 16;
3417
+ readonly type: "vec4";
3394
3418
  };
3395
3419
  readonly uRefractTint: {
3396
3420
  readonly offset: 16;
3397
3421
  readonly size: 12;
3398
3422
  readonly type: "vec3";
3399
3423
  };
3400
- readonly uRefractThickness: {
3401
- readonly offset: 28;
3402
- readonly size: 4;
3403
- readonly type: "float";
3424
+ readonly uGlassTint: {
3425
+ readonly offset: 32;
3426
+ readonly size: 12;
3427
+ readonly type: "vec3";
3404
3428
  };
3405
3429
  readonly uAlbedoEnabled: {
3406
- readonly offset: 32;
3430
+ readonly offset: 44;
3407
3431
  readonly size: 4;
3408
3432
  readonly type: "int";
3409
3433
  };
3410
3434
  readonly uAlbedoCutout: {
3411
- readonly offset: 36;
3435
+ readonly offset: 48;
3412
3436
  readonly size: 4;
3413
3437
  readonly type: "float";
3414
3438
  };
3415
3439
  readonly uDoubleSided: {
3416
- readonly offset: 40;
3440
+ readonly offset: 52;
3417
3441
  readonly size: 4;
3418
3442
  readonly type: "int";
3419
3443
  };
3420
3444
  readonly uNormalStrength: {
3421
- readonly offset: 44;
3445
+ readonly offset: 56;
3422
3446
  readonly size: 4;
3423
3447
  readonly type: "float";
3424
3448
  };
3425
3449
  readonly uOrmEnabled: {
3426
- readonly offset: 48;
3450
+ readonly offset: 60;
3427
3451
  readonly size: 4;
3428
3452
  readonly type: "int";
3429
3453
  };
@@ -3896,23 +3920,17 @@ export declare const FLAT_BINDINGS: {
3896
3920
  readonly sampler: 41;
3897
3921
  readonly type: "sampler2D";
3898
3922
  };
3899
- readonly uStaticShadowMap: {
3923
+ readonly uSunShadows: {
3900
3924
  readonly texture: 42;
3901
3925
  readonly sampler: 43;
3902
- readonly type: "sampler2D";
3926
+ readonly type: "sampler2DArray";
3903
3927
  readonly share: "shadow";
3904
3928
  };
3905
- readonly uPeeledShadowMap: {
3929
+ readonly uSunGlassTints: {
3906
3930
  readonly texture: 44;
3907
- readonly sampler: 43;
3908
- readonly type: "sampler2D";
3909
- readonly share: "shadow";
3910
- };
3911
- readonly uDynamicShadowMap: {
3912
- readonly texture: 45;
3913
- readonly sampler: 43;
3914
- readonly type: "sampler2D";
3915
- readonly share: "shadow";
3931
+ readonly sampler: 45;
3932
+ readonly type: "sampler2DArray";
3933
+ readonly share: "tint";
3916
3934
  };
3917
3935
  readonly uEnvironment: {
3918
3936
  readonly texture: 46;
@@ -3947,48 +3965,51 @@ export declare const FLAT_BINDINGS: {
3947
3965
  readonly type: "sampler3D";
3948
3966
  };
3949
3967
  };
3968
+ readonly overrides: {
3969
+ readonly GLASS_SHADOWS: 0;
3970
+ };
3950
3971
  };
3951
3972
  readonly "directionalShadows+environmentProbe+pointShadows": {
3952
3973
  readonly uniforms: 1;
3953
3974
  readonly uniformSize: 6656;
3954
3975
  readonly fields: {
3955
- readonly uRefractStrength: {
3976
+ readonly uSeeThrough: {
3956
3977
  readonly offset: 0;
3957
- readonly size: 4;
3958
- readonly type: "float";
3978
+ readonly size: 16;
3979
+ readonly type: "vec4";
3959
3980
  };
3960
3981
  readonly uRefractTint: {
3961
3982
  readonly offset: 16;
3962
3983
  readonly size: 12;
3963
3984
  readonly type: "vec3";
3964
3985
  };
3965
- readonly uRefractThickness: {
3966
- readonly offset: 28;
3967
- readonly size: 4;
3968
- readonly type: "float";
3986
+ readonly uGlassTint: {
3987
+ readonly offset: 32;
3988
+ readonly size: 12;
3989
+ readonly type: "vec3";
3969
3990
  };
3970
3991
  readonly uAlbedoEnabled: {
3971
- readonly offset: 32;
3992
+ readonly offset: 44;
3972
3993
  readonly size: 4;
3973
3994
  readonly type: "int";
3974
3995
  };
3975
3996
  readonly uAlbedoCutout: {
3976
- readonly offset: 36;
3997
+ readonly offset: 48;
3977
3998
  readonly size: 4;
3978
3999
  readonly type: "float";
3979
4000
  };
3980
4001
  readonly uDoubleSided: {
3981
- readonly offset: 40;
4002
+ readonly offset: 52;
3982
4003
  readonly size: 4;
3983
4004
  readonly type: "int";
3984
4005
  };
3985
4006
  readonly uNormalStrength: {
3986
- readonly offset: 44;
4007
+ readonly offset: 56;
3987
4008
  readonly size: 4;
3988
4009
  readonly type: "float";
3989
4010
  };
3990
4011
  readonly uOrmEnabled: {
3991
- readonly offset: 48;
4012
+ readonly offset: 60;
3992
4013
  readonly size: 4;
3993
4014
  readonly type: "int";
3994
4015
  };
@@ -4587,23 +4608,17 @@ export declare const FLAT_BINDINGS: {
4587
4608
  readonly sampler: 41;
4588
4609
  readonly type: "sampler2D";
4589
4610
  };
4590
- readonly uStaticShadowMap: {
4611
+ readonly uSunShadows: {
4591
4612
  readonly texture: 42;
4592
4613
  readonly sampler: 43;
4593
- readonly type: "sampler2D";
4614
+ readonly type: "sampler2DArray";
4594
4615
  readonly share: "shadow";
4595
4616
  };
4596
- readonly uPeeledShadowMap: {
4617
+ readonly uSunGlassTints: {
4597
4618
  readonly texture: 44;
4598
- readonly sampler: 43;
4599
- readonly type: "sampler2D";
4600
- readonly share: "shadow";
4601
- };
4602
- readonly uDynamicShadowMap: {
4603
- readonly texture: 45;
4604
- readonly sampler: 43;
4605
- readonly type: "sampler2D";
4606
- readonly share: "shadow";
4619
+ readonly sampler: 45;
4620
+ readonly type: "sampler2DArray";
4621
+ readonly share: "tint";
4607
4622
  };
4608
4623
  readonly uEnvironment: {
4609
4624
  readonly texture: 46;
@@ -4632,60 +4647,69 @@ export declare const FLAT_BINDINGS: {
4632
4647
  readonly type: "sampler2DArray";
4633
4648
  readonly share: "shadow";
4634
4649
  };
4635
- readonly uDriftLightIndex: {
4650
+ readonly uPointGlassTints: {
4636
4651
  readonly texture: 54;
4652
+ readonly sampler: 45;
4653
+ readonly type: "sampler2DArray";
4654
+ readonly share: "tint";
4655
+ };
4656
+ readonly uDriftLightIndex: {
4657
+ readonly texture: 55;
4637
4658
  readonly sampler: 43;
4638
4659
  readonly type: "usampler3D";
4639
4660
  readonly share: "shadow";
4640
4661
  };
4641
4662
  readonly uDriftLightAtlas: {
4642
- readonly texture: 55;
4643
- readonly sampler: 56;
4663
+ readonly texture: 56;
4664
+ readonly sampler: 57;
4644
4665
  readonly type: "sampler3D";
4645
4666
  };
4646
4667
  };
4668
+ readonly overrides: {
4669
+ readonly GLASS_SHADOWS: 0;
4670
+ };
4647
4671
  };
4648
4672
  readonly nightEmissive: {
4649
4673
  readonly uniforms: 1;
4650
4674
  readonly uniformSize: 3472;
4651
4675
  readonly fields: {
4652
- readonly uRefractStrength: {
4676
+ readonly uSeeThrough: {
4653
4677
  readonly offset: 0;
4654
- readonly size: 4;
4655
- readonly type: "float";
4678
+ readonly size: 16;
4679
+ readonly type: "vec4";
4656
4680
  };
4657
4681
  readonly uRefractTint: {
4658
4682
  readonly offset: 16;
4659
4683
  readonly size: 12;
4660
4684
  readonly type: "vec3";
4661
4685
  };
4662
- readonly uRefractThickness: {
4663
- readonly offset: 28;
4664
- readonly size: 4;
4665
- readonly type: "float";
4686
+ readonly uGlassTint: {
4687
+ readonly offset: 32;
4688
+ readonly size: 12;
4689
+ readonly type: "vec3";
4666
4690
  };
4667
4691
  readonly uAlbedoEnabled: {
4668
- readonly offset: 32;
4692
+ readonly offset: 44;
4669
4693
  readonly size: 4;
4670
4694
  readonly type: "int";
4671
4695
  };
4672
4696
  readonly uAlbedoCutout: {
4673
- readonly offset: 36;
4697
+ readonly offset: 48;
4674
4698
  readonly size: 4;
4675
4699
  readonly type: "float";
4676
4700
  };
4677
4701
  readonly uDoubleSided: {
4678
- readonly offset: 40;
4702
+ readonly offset: 52;
4679
4703
  readonly size: 4;
4680
4704
  readonly type: "int";
4681
4705
  };
4682
4706
  readonly uNormalStrength: {
4683
- readonly offset: 44;
4707
+ readonly offset: 56;
4684
4708
  readonly size: 4;
4685
4709
  readonly type: "float";
4686
4710
  };
4687
4711
  readonly uOrmEnabled: {
4688
- readonly offset: 48;
4712
+ readonly offset: 60;
4689
4713
  readonly size: 4;
4690
4714
  readonly type: "int";
4691
4715
  };
@@ -5111,48 +5135,51 @@ export declare const FLAT_BINDINGS: {
5111
5135
  readonly type: "sampler3D";
5112
5136
  };
5113
5137
  };
5138
+ readonly overrides: {
5139
+ readonly GLASS_SHADOWS: 0;
5140
+ };
5114
5141
  };
5115
5142
  readonly "nightEmissive+pointShadows": {
5116
5143
  readonly uniforms: 1;
5117
5144
  readonly uniformSize: 6544;
5118
5145
  readonly fields: {
5119
- readonly uRefractStrength: {
5146
+ readonly uSeeThrough: {
5120
5147
  readonly offset: 0;
5121
- readonly size: 4;
5122
- readonly type: "float";
5148
+ readonly size: 16;
5149
+ readonly type: "vec4";
5123
5150
  };
5124
5151
  readonly uRefractTint: {
5125
5152
  readonly offset: 16;
5126
5153
  readonly size: 12;
5127
5154
  readonly type: "vec3";
5128
5155
  };
5129
- readonly uRefractThickness: {
5130
- readonly offset: 28;
5131
- readonly size: 4;
5132
- readonly type: "float";
5156
+ readonly uGlassTint: {
5157
+ readonly offset: 32;
5158
+ readonly size: 12;
5159
+ readonly type: "vec3";
5133
5160
  };
5134
5161
  readonly uAlbedoEnabled: {
5135
- readonly offset: 32;
5162
+ readonly offset: 44;
5136
5163
  readonly size: 4;
5137
5164
  readonly type: "int";
5138
5165
  };
5139
5166
  readonly uAlbedoCutout: {
5140
- readonly offset: 36;
5167
+ readonly offset: 48;
5141
5168
  readonly size: 4;
5142
5169
  readonly type: "float";
5143
5170
  };
5144
5171
  readonly uDoubleSided: {
5145
- readonly offset: 40;
5172
+ readonly offset: 52;
5146
5173
  readonly size: 4;
5147
5174
  readonly type: "int";
5148
5175
  };
5149
5176
  readonly uNormalStrength: {
5150
- readonly offset: 44;
5177
+ readonly offset: 56;
5151
5178
  readonly size: 4;
5152
5179
  readonly type: "float";
5153
5180
  };
5154
5181
  readonly uOrmEnabled: {
5155
- readonly offset: 48;
5182
+ readonly offset: 60;
5156
5183
  readonly size: 4;
5157
5184
  readonly type: "int";
5158
5185
  };
@@ -5698,60 +5725,69 @@ export declare const FLAT_BINDINGS: {
5698
5725
  readonly type: "sampler2DArray";
5699
5726
  readonly share: "shadow";
5700
5727
  };
5701
- readonly uDriftLightIndex: {
5728
+ readonly uPointGlassTints: {
5702
5729
  readonly texture: 49;
5730
+ readonly sampler: 50;
5731
+ readonly type: "sampler2DArray";
5732
+ readonly share: "tint";
5733
+ };
5734
+ readonly uDriftLightIndex: {
5735
+ readonly texture: 51;
5703
5736
  readonly sampler: 43;
5704
5737
  readonly type: "usampler3D";
5705
5738
  readonly share: "shadow";
5706
5739
  };
5707
5740
  readonly uDriftLightAtlas: {
5708
- readonly texture: 50;
5709
- readonly sampler: 51;
5741
+ readonly texture: 52;
5742
+ readonly sampler: 53;
5710
5743
  readonly type: "sampler3D";
5711
5744
  };
5712
5745
  };
5746
+ readonly overrides: {
5747
+ readonly GLASS_SHADOWS: 0;
5748
+ };
5713
5749
  };
5714
5750
  readonly "directionalShadows+nightEmissive": {
5715
5751
  readonly uniforms: 1;
5716
5752
  readonly uniformSize: 3504;
5717
5753
  readonly fields: {
5718
- readonly uRefractStrength: {
5754
+ readonly uSeeThrough: {
5719
5755
  readonly offset: 0;
5720
- readonly size: 4;
5721
- readonly type: "float";
5756
+ readonly size: 16;
5757
+ readonly type: "vec4";
5722
5758
  };
5723
5759
  readonly uRefractTint: {
5724
5760
  readonly offset: 16;
5725
5761
  readonly size: 12;
5726
5762
  readonly type: "vec3";
5727
5763
  };
5728
- readonly uRefractThickness: {
5729
- readonly offset: 28;
5730
- readonly size: 4;
5731
- readonly type: "float";
5764
+ readonly uGlassTint: {
5765
+ readonly offset: 32;
5766
+ readonly size: 12;
5767
+ readonly type: "vec3";
5732
5768
  };
5733
5769
  readonly uAlbedoEnabled: {
5734
- readonly offset: 32;
5770
+ readonly offset: 44;
5735
5771
  readonly size: 4;
5736
5772
  readonly type: "int";
5737
5773
  };
5738
5774
  readonly uAlbedoCutout: {
5739
- readonly offset: 36;
5775
+ readonly offset: 48;
5740
5776
  readonly size: 4;
5741
5777
  readonly type: "float";
5742
5778
  };
5743
5779
  readonly uDoubleSided: {
5744
- readonly offset: 40;
5780
+ readonly offset: 52;
5745
5781
  readonly size: 4;
5746
5782
  readonly type: "int";
5747
5783
  };
5748
5784
  readonly uNormalStrength: {
5749
- readonly offset: 44;
5785
+ readonly offset: 56;
5750
5786
  readonly size: 4;
5751
5787
  readonly type: "float";
5752
5788
  };
5753
5789
  readonly uOrmEnabled: {
5754
- readonly offset: 48;
5790
+ readonly offset: 60;
5755
5791
  readonly size: 4;
5756
5792
  readonly type: "int";
5757
5793
  };
@@ -6179,23 +6215,17 @@ export declare const FLAT_BINDINGS: {
6179
6215
  readonly sampler: 41;
6180
6216
  readonly type: "sampler2D";
6181
6217
  };
6182
- readonly uStaticShadowMap: {
6218
+ readonly uSunShadows: {
6183
6219
  readonly texture: 42;
6184
6220
  readonly sampler: 43;
6185
- readonly type: "sampler2D";
6221
+ readonly type: "sampler2DArray";
6186
6222
  readonly share: "shadow";
6187
6223
  };
6188
- readonly uPeeledShadowMap: {
6224
+ readonly uSunGlassTints: {
6189
6225
  readonly texture: 44;
6190
- readonly sampler: 43;
6191
- readonly type: "sampler2D";
6192
- readonly share: "shadow";
6193
- };
6194
- readonly uDynamicShadowMap: {
6195
- readonly texture: 45;
6196
- readonly sampler: 43;
6197
- readonly type: "sampler2D";
6198
- readonly share: "shadow";
6226
+ readonly sampler: 45;
6227
+ readonly type: "sampler2DArray";
6228
+ readonly share: "tint";
6199
6229
  };
6200
6230
  readonly uClusterTable: {
6201
6231
  readonly texture: 46;
@@ -6225,48 +6255,51 @@ export declare const FLAT_BINDINGS: {
6225
6255
  readonly type: "sampler3D";
6226
6256
  };
6227
6257
  };
6258
+ readonly overrides: {
6259
+ readonly GLASS_SHADOWS: 0;
6260
+ };
6228
6261
  };
6229
6262
  readonly "directionalShadows+nightEmissive+pointShadows": {
6230
6263
  readonly uniforms: 1;
6231
6264
  readonly uniformSize: 6576;
6232
6265
  readonly fields: {
6233
- readonly uRefractStrength: {
6266
+ readonly uSeeThrough: {
6234
6267
  readonly offset: 0;
6235
- readonly size: 4;
6236
- readonly type: "float";
6268
+ readonly size: 16;
6269
+ readonly type: "vec4";
6237
6270
  };
6238
6271
  readonly uRefractTint: {
6239
6272
  readonly offset: 16;
6240
6273
  readonly size: 12;
6241
6274
  readonly type: "vec3";
6242
6275
  };
6243
- readonly uRefractThickness: {
6244
- readonly offset: 28;
6245
- readonly size: 4;
6246
- readonly type: "float";
6276
+ readonly uGlassTint: {
6277
+ readonly offset: 32;
6278
+ readonly size: 12;
6279
+ readonly type: "vec3";
6247
6280
  };
6248
6281
  readonly uAlbedoEnabled: {
6249
- readonly offset: 32;
6282
+ readonly offset: 44;
6250
6283
  readonly size: 4;
6251
6284
  readonly type: "int";
6252
6285
  };
6253
6286
  readonly uAlbedoCutout: {
6254
- readonly offset: 36;
6287
+ readonly offset: 48;
6255
6288
  readonly size: 4;
6256
6289
  readonly type: "float";
6257
6290
  };
6258
6291
  readonly uDoubleSided: {
6259
- readonly offset: 40;
6292
+ readonly offset: 52;
6260
6293
  readonly size: 4;
6261
6294
  readonly type: "int";
6262
6295
  };
6263
6296
  readonly uNormalStrength: {
6264
- readonly offset: 44;
6297
+ readonly offset: 56;
6265
6298
  readonly size: 4;
6266
6299
  readonly type: "float";
6267
6300
  };
6268
6301
  readonly uOrmEnabled: {
6269
- readonly offset: 48;
6302
+ readonly offset: 60;
6270
6303
  readonly size: 4;
6271
6304
  readonly type: "int";
6272
6305
  };
@@ -6820,23 +6853,17 @@ export declare const FLAT_BINDINGS: {
6820
6853
  readonly sampler: 41;
6821
6854
  readonly type: "sampler2D";
6822
6855
  };
6823
- readonly uStaticShadowMap: {
6856
+ readonly uSunShadows: {
6824
6857
  readonly texture: 42;
6825
6858
  readonly sampler: 43;
6826
- readonly type: "sampler2D";
6859
+ readonly type: "sampler2DArray";
6827
6860
  readonly share: "shadow";
6828
6861
  };
6829
- readonly uPeeledShadowMap: {
6862
+ readonly uSunGlassTints: {
6830
6863
  readonly texture: 44;
6831
- readonly sampler: 43;
6832
- readonly type: "sampler2D";
6833
- readonly share: "shadow";
6834
- };
6835
- readonly uDynamicShadowMap: {
6836
- readonly texture: 45;
6837
- readonly sampler: 43;
6838
- readonly type: "sampler2D";
6839
- readonly share: "shadow";
6864
+ readonly sampler: 45;
6865
+ readonly type: "sampler2DArray";
6866
+ readonly share: "tint";
6840
6867
  };
6841
6868
  readonly uClusterTable: {
6842
6869
  readonly texture: 46;
@@ -6860,60 +6887,69 @@ export declare const FLAT_BINDINGS: {
6860
6887
  readonly type: "sampler2DArray";
6861
6888
  readonly share: "shadow";
6862
6889
  };
6863
- readonly uDriftLightIndex: {
6890
+ readonly uPointGlassTints: {
6864
6891
  readonly texture: 52;
6892
+ readonly sampler: 45;
6893
+ readonly type: "sampler2DArray";
6894
+ readonly share: "tint";
6895
+ };
6896
+ readonly uDriftLightIndex: {
6897
+ readonly texture: 53;
6865
6898
  readonly sampler: 43;
6866
6899
  readonly type: "usampler3D";
6867
6900
  readonly share: "shadow";
6868
6901
  };
6869
6902
  readonly uDriftLightAtlas: {
6870
- readonly texture: 53;
6871
- readonly sampler: 54;
6903
+ readonly texture: 54;
6904
+ readonly sampler: 55;
6872
6905
  readonly type: "sampler3D";
6873
6906
  };
6874
6907
  };
6908
+ readonly overrides: {
6909
+ readonly GLASS_SHADOWS: 0;
6910
+ };
6875
6911
  };
6876
6912
  readonly "environmentProbe+nightEmissive": {
6877
6913
  readonly uniforms: 1;
6878
6914
  readonly uniformSize: 3552;
6879
6915
  readonly fields: {
6880
- readonly uRefractStrength: {
6916
+ readonly uSeeThrough: {
6881
6917
  readonly offset: 0;
6882
- readonly size: 4;
6883
- readonly type: "float";
6918
+ readonly size: 16;
6919
+ readonly type: "vec4";
6884
6920
  };
6885
6921
  readonly uRefractTint: {
6886
6922
  readonly offset: 16;
6887
6923
  readonly size: 12;
6888
6924
  readonly type: "vec3";
6889
6925
  };
6890
- readonly uRefractThickness: {
6891
- readonly offset: 28;
6892
- readonly size: 4;
6893
- readonly type: "float";
6926
+ readonly uGlassTint: {
6927
+ readonly offset: 32;
6928
+ readonly size: 12;
6929
+ readonly type: "vec3";
6894
6930
  };
6895
6931
  readonly uAlbedoEnabled: {
6896
- readonly offset: 32;
6932
+ readonly offset: 44;
6897
6933
  readonly size: 4;
6898
6934
  readonly type: "int";
6899
6935
  };
6900
6936
  readonly uAlbedoCutout: {
6901
- readonly offset: 36;
6937
+ readonly offset: 48;
6902
6938
  readonly size: 4;
6903
6939
  readonly type: "float";
6904
6940
  };
6905
6941
  readonly uDoubleSided: {
6906
- readonly offset: 40;
6942
+ readonly offset: 52;
6907
6943
  readonly size: 4;
6908
6944
  readonly type: "int";
6909
6945
  };
6910
6946
  readonly uNormalStrength: {
6911
- readonly offset: 44;
6947
+ readonly offset: 56;
6912
6948
  readonly size: 4;
6913
6949
  readonly type: "float";
6914
6950
  };
6915
6951
  readonly uOrmEnabled: {
6916
- readonly offset: 48;
6952
+ readonly offset: 60;
6917
6953
  readonly size: 4;
6918
6954
  readonly type: "int";
6919
6955
  };
@@ -7394,48 +7430,51 @@ export declare const FLAT_BINDINGS: {
7394
7430
  readonly type: "sampler3D";
7395
7431
  };
7396
7432
  };
7433
+ readonly overrides: {
7434
+ readonly GLASS_SHADOWS: 0;
7435
+ };
7397
7436
  };
7398
7437
  readonly "environmentProbe+nightEmissive+pointShadows": {
7399
7438
  readonly uniforms: 1;
7400
7439
  readonly uniformSize: 6624;
7401
7440
  readonly fields: {
7402
- readonly uRefractStrength: {
7441
+ readonly uSeeThrough: {
7403
7442
  readonly offset: 0;
7404
- readonly size: 4;
7405
- readonly type: "float";
7443
+ readonly size: 16;
7444
+ readonly type: "vec4";
7406
7445
  };
7407
7446
  readonly uRefractTint: {
7408
7447
  readonly offset: 16;
7409
7448
  readonly size: 12;
7410
7449
  readonly type: "vec3";
7411
7450
  };
7412
- readonly uRefractThickness: {
7413
- readonly offset: 28;
7414
- readonly size: 4;
7415
- readonly type: "float";
7451
+ readonly uGlassTint: {
7452
+ readonly offset: 32;
7453
+ readonly size: 12;
7454
+ readonly type: "vec3";
7416
7455
  };
7417
7456
  readonly uAlbedoEnabled: {
7418
- readonly offset: 32;
7457
+ readonly offset: 44;
7419
7458
  readonly size: 4;
7420
7459
  readonly type: "int";
7421
7460
  };
7422
7461
  readonly uAlbedoCutout: {
7423
- readonly offset: 36;
7462
+ readonly offset: 48;
7424
7463
  readonly size: 4;
7425
7464
  readonly type: "float";
7426
7465
  };
7427
7466
  readonly uDoubleSided: {
7428
- readonly offset: 40;
7467
+ readonly offset: 52;
7429
7468
  readonly size: 4;
7430
7469
  readonly type: "int";
7431
7470
  };
7432
7471
  readonly uNormalStrength: {
7433
- readonly offset: 44;
7472
+ readonly offset: 56;
7434
7473
  readonly size: 4;
7435
7474
  readonly type: "float";
7436
7475
  };
7437
7476
  readonly uOrmEnabled: {
7438
- readonly offset: 48;
7477
+ readonly offset: 60;
7439
7478
  readonly size: 4;
7440
7479
  readonly type: "int";
7441
7480
  };
@@ -8036,60 +8075,69 @@ export declare const FLAT_BINDINGS: {
8036
8075
  readonly type: "sampler2DArray";
8037
8076
  readonly share: "shadow";
8038
8077
  };
8039
- readonly uDriftLightIndex: {
8078
+ readonly uPointGlassTints: {
8040
8079
  readonly texture: 51;
8080
+ readonly sampler: 52;
8081
+ readonly type: "sampler2DArray";
8082
+ readonly share: "tint";
8083
+ };
8084
+ readonly uDriftLightIndex: {
8085
+ readonly texture: 53;
8041
8086
  readonly sampler: 45;
8042
8087
  readonly type: "usampler3D";
8043
8088
  readonly share: "shadow";
8044
8089
  };
8045
8090
  readonly uDriftLightAtlas: {
8046
- readonly texture: 52;
8047
- readonly sampler: 53;
8091
+ readonly texture: 54;
8092
+ readonly sampler: 55;
8048
8093
  readonly type: "sampler3D";
8049
8094
  };
8050
8095
  };
8096
+ readonly overrides: {
8097
+ readonly GLASS_SHADOWS: 0;
8098
+ };
8051
8099
  };
8052
8100
  readonly "directionalShadows+environmentProbe+nightEmissive": {
8053
8101
  readonly uniforms: 1;
8054
8102
  readonly uniformSize: 3584;
8055
8103
  readonly fields: {
8056
- readonly uRefractStrength: {
8104
+ readonly uSeeThrough: {
8057
8105
  readonly offset: 0;
8058
- readonly size: 4;
8059
- readonly type: "float";
8106
+ readonly size: 16;
8107
+ readonly type: "vec4";
8060
8108
  };
8061
8109
  readonly uRefractTint: {
8062
8110
  readonly offset: 16;
8063
8111
  readonly size: 12;
8064
8112
  readonly type: "vec3";
8065
8113
  };
8066
- readonly uRefractThickness: {
8067
- readonly offset: 28;
8068
- readonly size: 4;
8069
- readonly type: "float";
8114
+ readonly uGlassTint: {
8115
+ readonly offset: 32;
8116
+ readonly size: 12;
8117
+ readonly type: "vec3";
8070
8118
  };
8071
8119
  readonly uAlbedoEnabled: {
8072
- readonly offset: 32;
8120
+ readonly offset: 44;
8073
8121
  readonly size: 4;
8074
8122
  readonly type: "int";
8075
8123
  };
8076
8124
  readonly uAlbedoCutout: {
8077
- readonly offset: 36;
8125
+ readonly offset: 48;
8078
8126
  readonly size: 4;
8079
8127
  readonly type: "float";
8080
8128
  };
8081
8129
  readonly uDoubleSided: {
8082
- readonly offset: 40;
8130
+ readonly offset: 52;
8083
8131
  readonly size: 4;
8084
8132
  readonly type: "int";
8085
8133
  };
8086
8134
  readonly uNormalStrength: {
8087
- readonly offset: 44;
8135
+ readonly offset: 56;
8088
8136
  readonly size: 4;
8089
8137
  readonly type: "float";
8090
8138
  };
8091
8139
  readonly uOrmEnabled: {
8092
- readonly offset: 48;
8140
+ readonly offset: 60;
8093
8141
  readonly size: 4;
8094
8142
  readonly type: "int";
8095
8143
  };
@@ -8567,23 +8615,17 @@ export declare const FLAT_BINDINGS: {
8567
8615
  readonly sampler: 41;
8568
8616
  readonly type: "sampler2D";
8569
8617
  };
8570
- readonly uStaticShadowMap: {
8618
+ readonly uSunShadows: {
8571
8619
  readonly texture: 42;
8572
8620
  readonly sampler: 43;
8573
- readonly type: "sampler2D";
8621
+ readonly type: "sampler2DArray";
8574
8622
  readonly share: "shadow";
8575
8623
  };
8576
- readonly uPeeledShadowMap: {
8624
+ readonly uSunGlassTints: {
8577
8625
  readonly texture: 44;
8578
- readonly sampler: 43;
8579
- readonly type: "sampler2D";
8580
- readonly share: "shadow";
8581
- };
8582
- readonly uDynamicShadowMap: {
8583
- readonly texture: 45;
8584
- readonly sampler: 43;
8585
- readonly type: "sampler2D";
8586
- readonly share: "shadow";
8626
+ readonly sampler: 45;
8627
+ readonly type: "sampler2DArray";
8628
+ readonly share: "tint";
8587
8629
  };
8588
8630
  readonly uEnvironment: {
8589
8631
  readonly texture: 46;
@@ -8618,48 +8660,51 @@ export declare const FLAT_BINDINGS: {
8618
8660
  readonly type: "sampler3D";
8619
8661
  };
8620
8662
  };
8663
+ readonly overrides: {
8664
+ readonly GLASS_SHADOWS: 0;
8665
+ };
8621
8666
  };
8622
8667
  readonly "directionalShadows+environmentProbe+nightEmissive+pointShadows": {
8623
8668
  readonly uniforms: 1;
8624
8669
  readonly uniformSize: 6656;
8625
8670
  readonly fields: {
8626
- readonly uRefractStrength: {
8671
+ readonly uSeeThrough: {
8627
8672
  readonly offset: 0;
8628
- readonly size: 4;
8629
- readonly type: "float";
8673
+ readonly size: 16;
8674
+ readonly type: "vec4";
8630
8675
  };
8631
8676
  readonly uRefractTint: {
8632
8677
  readonly offset: 16;
8633
8678
  readonly size: 12;
8634
8679
  readonly type: "vec3";
8635
8680
  };
8636
- readonly uRefractThickness: {
8637
- readonly offset: 28;
8638
- readonly size: 4;
8639
- readonly type: "float";
8681
+ readonly uGlassTint: {
8682
+ readonly offset: 32;
8683
+ readonly size: 12;
8684
+ readonly type: "vec3";
8640
8685
  };
8641
8686
  readonly uAlbedoEnabled: {
8642
- readonly offset: 32;
8687
+ readonly offset: 44;
8643
8688
  readonly size: 4;
8644
8689
  readonly type: "int";
8645
8690
  };
8646
8691
  readonly uAlbedoCutout: {
8647
- readonly offset: 36;
8692
+ readonly offset: 48;
8648
8693
  readonly size: 4;
8649
8694
  readonly type: "float";
8650
8695
  };
8651
8696
  readonly uDoubleSided: {
8652
- readonly offset: 40;
8697
+ readonly offset: 52;
8653
8698
  readonly size: 4;
8654
8699
  readonly type: "int";
8655
8700
  };
8656
8701
  readonly uNormalStrength: {
8657
- readonly offset: 44;
8702
+ readonly offset: 56;
8658
8703
  readonly size: 4;
8659
8704
  readonly type: "float";
8660
8705
  };
8661
8706
  readonly uOrmEnabled: {
8662
- readonly offset: 48;
8707
+ readonly offset: 60;
8663
8708
  readonly size: 4;
8664
8709
  readonly type: "int";
8665
8710
  };
@@ -9263,23 +9308,17 @@ export declare const FLAT_BINDINGS: {
9263
9308
  readonly sampler: 41;
9264
9309
  readonly type: "sampler2D";
9265
9310
  };
9266
- readonly uStaticShadowMap: {
9311
+ readonly uSunShadows: {
9267
9312
  readonly texture: 42;
9268
9313
  readonly sampler: 43;
9269
- readonly type: "sampler2D";
9314
+ readonly type: "sampler2DArray";
9270
9315
  readonly share: "shadow";
9271
9316
  };
9272
- readonly uPeeledShadowMap: {
9317
+ readonly uSunGlassTints: {
9273
9318
  readonly texture: 44;
9274
- readonly sampler: 43;
9275
- readonly type: "sampler2D";
9276
- readonly share: "shadow";
9277
- };
9278
- readonly uDynamicShadowMap: {
9279
- readonly texture: 45;
9280
- readonly sampler: 43;
9281
- readonly type: "sampler2D";
9282
- readonly share: "shadow";
9319
+ readonly sampler: 45;
9320
+ readonly type: "sampler2DArray";
9321
+ readonly share: "tint";
9283
9322
  };
9284
9323
  readonly uEnvironment: {
9285
9324
  readonly texture: 46;
@@ -9308,18 +9347,27 @@ export declare const FLAT_BINDINGS: {
9308
9347
  readonly type: "sampler2DArray";
9309
9348
  readonly share: "shadow";
9310
9349
  };
9311
- readonly uDriftLightIndex: {
9350
+ readonly uPointGlassTints: {
9312
9351
  readonly texture: 54;
9352
+ readonly sampler: 45;
9353
+ readonly type: "sampler2DArray";
9354
+ readonly share: "tint";
9355
+ };
9356
+ readonly uDriftLightIndex: {
9357
+ readonly texture: 55;
9313
9358
  readonly sampler: 43;
9314
9359
  readonly type: "usampler3D";
9315
9360
  readonly share: "shadow";
9316
9361
  };
9317
9362
  readonly uDriftLightAtlas: {
9318
- readonly texture: 55;
9319
- readonly sampler: 56;
9363
+ readonly texture: 56;
9364
+ readonly sampler: 57;
9320
9365
  readonly type: "sampler3D";
9321
9366
  };
9322
9367
  };
9368
+ readonly overrides: {
9369
+ readonly GLASS_SHADOWS: 0;
9370
+ };
9323
9371
  };
9324
9372
  };
9325
9373
  readonly flatVert: {