@vcollab/shader-artifacts 0.0.0-stage → 2.0.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 (175) hide show
  1. package/CHANGELOG.md +59 -0
  2. package/LICENSE +8 -0
  3. package/README.md +96 -2
  4. package/dist/generated/set.d.ts +32 -0
  5. package/dist/index.cjs +190 -0
  6. package/dist/index.cjs.map +1 -0
  7. package/dist/index.d.ts +21 -0
  8. package/dist/index.js +146 -0
  9. package/dist/index.js.map +1 -0
  10. package/dist/version.d.ts +2 -0
  11. package/package.json +60 -3
  12. package/set/SHA256SUMS +163 -0
  13. package/set/pipelines/category.capped.json +495 -0
  14. package/set/pipelines/category.json +469 -0
  15. package/set/pipelines/deform3.category.capped.json +505 -0
  16. package/set/pipelines/deform3.category.json +479 -0
  17. package/set/pipelines/deform3.dof6.capped.json +595 -0
  18. package/set/pipelines/deform3.dof6.json +569 -0
  19. package/set/pipelines/deform3.pick.capped.json +260 -0
  20. package/set/pipelines/deform3.pick.json +254 -0
  21. package/set/pipelines/deform3.scalar.capped.json +601 -0
  22. package/set/pipelines/deform3.scalar.json +575 -0
  23. package/set/pipelines/deform3.surface.capped.json +457 -0
  24. package/set/pipelines/deform3.surface.json +431 -0
  25. package/set/pipelines/deform3.symtensor.capped.json +623 -0
  26. package/set/pipelines/deform3.symtensor.json +597 -0
  27. package/set/pipelines/deform3.textured-normal.capped.json +590 -0
  28. package/set/pipelines/deform3.textured-normal.json +564 -0
  29. package/set/pipelines/deform3.textured.capped.json +549 -0
  30. package/set/pipelines/deform3.textured.json +523 -0
  31. package/set/pipelines/deform3.vector.capped.json +586 -0
  32. package/set/pipelines/deform3.vector.json +560 -0
  33. package/set/pipelines/deform6.category.capped.json +514 -0
  34. package/set/pipelines/deform6.category.json +488 -0
  35. package/set/pipelines/deform6.dof6.capped.json +604 -0
  36. package/set/pipelines/deform6.dof6.json +578 -0
  37. package/set/pipelines/deform6.pick.capped.json +269 -0
  38. package/set/pipelines/deform6.pick.json +263 -0
  39. package/set/pipelines/deform6.scalar.capped.json +610 -0
  40. package/set/pipelines/deform6.scalar.json +584 -0
  41. package/set/pipelines/deform6.surface.capped.json +466 -0
  42. package/set/pipelines/deform6.surface.json +440 -0
  43. package/set/pipelines/deform6.symtensor.capped.json +632 -0
  44. package/set/pipelines/deform6.symtensor.json +606 -0
  45. package/set/pipelines/deform6.textured-normal.capped.json +599 -0
  46. package/set/pipelines/deform6.textured-normal.json +573 -0
  47. package/set/pipelines/deform6.textured.capped.json +558 -0
  48. package/set/pipelines/deform6.textured.json +532 -0
  49. package/set/pipelines/deform6.vector.capped.json +595 -0
  50. package/set/pipelines/deform6.vector.json +569 -0
  51. package/set/pipelines/dof6.capped.json +585 -0
  52. package/set/pipelines/dof6.json +559 -0
  53. package/set/pipelines/pick.capped.json +250 -0
  54. package/set/pipelines/pick.json +244 -0
  55. package/set/pipelines/scalar.capped.json +591 -0
  56. package/set/pipelines/scalar.json +565 -0
  57. package/set/pipelines/surface.capped.json +447 -0
  58. package/set/pipelines/surface.json +421 -0
  59. package/set/pipelines/symtensor.capped.json +613 -0
  60. package/set/pipelines/symtensor.json +587 -0
  61. package/set/pipelines/textured-normal.capped.json +580 -0
  62. package/set/pipelines/textured-normal.json +554 -0
  63. package/set/pipelines/textured.capped.json +539 -0
  64. package/set/pipelines/textured.json +513 -0
  65. package/set/pipelines/vector.capped.json +576 -0
  66. package/set/pipelines/vector.json +550 -0
  67. package/set/registry.json +1097 -0
  68. package/set/shaders/category.capped.fragment.glsl +507 -0
  69. package/set/shaders/category.capped.vertex.glsl +164 -0
  70. package/set/shaders/category.fragment.glsl +349 -0
  71. package/set/shaders/category.vertex.glsl +145 -0
  72. package/set/shaders/deform3.category.capped.fragment.glsl +507 -0
  73. package/set/shaders/deform3.category.capped.vertex.glsl +166 -0
  74. package/set/shaders/deform3.category.fragment.glsl +349 -0
  75. package/set/shaders/deform3.category.vertex.glsl +147 -0
  76. package/set/shaders/deform3.dof6.capped.fragment.glsl +694 -0
  77. package/set/shaders/deform3.dof6.capped.vertex.glsl +187 -0
  78. package/set/shaders/deform3.dof6.fragment.glsl +536 -0
  79. package/set/shaders/deform3.dof6.vertex.glsl +168 -0
  80. package/set/shaders/deform3.pick.capped.fragment.glsl +89 -0
  81. package/set/shaders/deform3.pick.capped.vertex.glsl +111 -0
  82. package/set/shaders/deform3.pick.fragment.glsl +74 -0
  83. package/set/shaders/deform3.pick.vertex.glsl +93 -0
  84. package/set/shaders/deform3.scalar.capped.fragment.glsl +682 -0
  85. package/set/shaders/deform3.scalar.capped.vertex.glsl +179 -0
  86. package/set/shaders/deform3.scalar.fragment.glsl +524 -0
  87. package/set/shaders/deform3.scalar.vertex.glsl +160 -0
  88. package/set/shaders/deform3.surface.capped.fragment.glsl +425 -0
  89. package/set/shaders/deform3.surface.capped.vertex.glsl +148 -0
  90. package/set/shaders/deform3.surface.fragment.glsl +271 -0
  91. package/set/shaders/deform3.surface.vertex.glsl +129 -0
  92. package/set/shaders/deform3.symtensor.capped.fragment.glsl +1239 -0
  93. package/set/shaders/deform3.symtensor.capped.vertex.glsl +188 -0
  94. package/set/shaders/deform3.symtensor.fragment.glsl +1081 -0
  95. package/set/shaders/deform3.symtensor.vertex.glsl +169 -0
  96. package/set/shaders/deform3.textured-normal.capped.fragment.glsl +437 -0
  97. package/set/shaders/deform3.textured-normal.capped.vertex.glsl +167 -0
  98. package/set/shaders/deform3.textured-normal.fragment.glsl +283 -0
  99. package/set/shaders/deform3.textured-normal.vertex.glsl +148 -0
  100. package/set/shaders/deform3.textured.capped.fragment.glsl +428 -0
  101. package/set/shaders/deform3.textured.capped.vertex.glsl +150 -0
  102. package/set/shaders/deform3.textured.fragment.glsl +275 -0
  103. package/set/shaders/deform3.textured.vertex.glsl +131 -0
  104. package/set/shaders/deform3.vector.capped.fragment.glsl +657 -0
  105. package/set/shaders/deform3.vector.capped.vertex.glsl +183 -0
  106. package/set/shaders/deform3.vector.fragment.glsl +499 -0
  107. package/set/shaders/deform3.vector.vertex.glsl +164 -0
  108. package/set/shaders/deform6.category.capped.fragment.glsl +507 -0
  109. package/set/shaders/deform6.category.capped.vertex.glsl +180 -0
  110. package/set/shaders/deform6.category.fragment.glsl +349 -0
  111. package/set/shaders/deform6.category.vertex.glsl +161 -0
  112. package/set/shaders/deform6.dof6.capped.fragment.glsl +694 -0
  113. package/set/shaders/deform6.dof6.capped.vertex.glsl +201 -0
  114. package/set/shaders/deform6.dof6.fragment.glsl +536 -0
  115. package/set/shaders/deform6.dof6.vertex.glsl +182 -0
  116. package/set/shaders/deform6.pick.capped.fragment.glsl +89 -0
  117. package/set/shaders/deform6.pick.capped.vertex.glsl +125 -0
  118. package/set/shaders/deform6.pick.fragment.glsl +74 -0
  119. package/set/shaders/deform6.pick.vertex.glsl +107 -0
  120. package/set/shaders/deform6.scalar.capped.fragment.glsl +682 -0
  121. package/set/shaders/deform6.scalar.capped.vertex.glsl +193 -0
  122. package/set/shaders/deform6.scalar.fragment.glsl +524 -0
  123. package/set/shaders/deform6.scalar.vertex.glsl +174 -0
  124. package/set/shaders/deform6.surface.capped.fragment.glsl +425 -0
  125. package/set/shaders/deform6.surface.capped.vertex.glsl +162 -0
  126. package/set/shaders/deform6.surface.fragment.glsl +271 -0
  127. package/set/shaders/deform6.surface.vertex.glsl +143 -0
  128. package/set/shaders/deform6.symtensor.capped.fragment.glsl +1239 -0
  129. package/set/shaders/deform6.symtensor.capped.vertex.glsl +202 -0
  130. package/set/shaders/deform6.symtensor.fragment.glsl +1081 -0
  131. package/set/shaders/deform6.symtensor.vertex.glsl +183 -0
  132. package/set/shaders/deform6.textured-normal.capped.fragment.glsl +437 -0
  133. package/set/shaders/deform6.textured-normal.capped.vertex.glsl +181 -0
  134. package/set/shaders/deform6.textured-normal.fragment.glsl +283 -0
  135. package/set/shaders/deform6.textured-normal.vertex.glsl +162 -0
  136. package/set/shaders/deform6.textured.capped.fragment.glsl +428 -0
  137. package/set/shaders/deform6.textured.capped.vertex.glsl +164 -0
  138. package/set/shaders/deform6.textured.fragment.glsl +275 -0
  139. package/set/shaders/deform6.textured.vertex.glsl +145 -0
  140. package/set/shaders/deform6.vector.capped.fragment.glsl +657 -0
  141. package/set/shaders/deform6.vector.capped.vertex.glsl +197 -0
  142. package/set/shaders/deform6.vector.fragment.glsl +499 -0
  143. package/set/shaders/deform6.vector.vertex.glsl +178 -0
  144. package/set/shaders/dof6.capped.fragment.glsl +694 -0
  145. package/set/shaders/dof6.capped.vertex.glsl +185 -0
  146. package/set/shaders/dof6.fragment.glsl +536 -0
  147. package/set/shaders/dof6.vertex.glsl +166 -0
  148. package/set/shaders/pick.capped.fragment.glsl +89 -0
  149. package/set/shaders/pick.capped.vertex.glsl +109 -0
  150. package/set/shaders/pick.fragment.glsl +74 -0
  151. package/set/shaders/pick.vertex.glsl +91 -0
  152. package/set/shaders/scalar.capped.fragment.glsl +682 -0
  153. package/set/shaders/scalar.capped.vertex.glsl +177 -0
  154. package/set/shaders/scalar.fragment.glsl +524 -0
  155. package/set/shaders/scalar.vertex.glsl +158 -0
  156. package/set/shaders/surface.capped.fragment.glsl +425 -0
  157. package/set/shaders/surface.capped.vertex.glsl +146 -0
  158. package/set/shaders/surface.fragment.glsl +271 -0
  159. package/set/shaders/surface.vertex.glsl +127 -0
  160. package/set/shaders/symtensor.capped.fragment.glsl +1239 -0
  161. package/set/shaders/symtensor.capped.vertex.glsl +186 -0
  162. package/set/shaders/symtensor.fragment.glsl +1081 -0
  163. package/set/shaders/symtensor.vertex.glsl +167 -0
  164. package/set/shaders/textured-normal.capped.fragment.glsl +437 -0
  165. package/set/shaders/textured-normal.capped.vertex.glsl +165 -0
  166. package/set/shaders/textured-normal.fragment.glsl +283 -0
  167. package/set/shaders/textured-normal.vertex.glsl +146 -0
  168. package/set/shaders/textured.capped.fragment.glsl +428 -0
  169. package/set/shaders/textured.capped.vertex.glsl +148 -0
  170. package/set/shaders/textured.fragment.glsl +275 -0
  171. package/set/shaders/textured.vertex.glsl +129 -0
  172. package/set/shaders/vector.capped.fragment.glsl +657 -0
  173. package/set/shaders/vector.capped.vertex.glsl +181 -0
  174. package/set/shaders/vector.fragment.glsl +499 -0
  175. package/set/shaders/vector.vertex.glsl +162 -0
@@ -0,0 +1,564 @@
1
+ {
2
+ "schemaVersion": 3,
3
+ "generator": {
4
+ "name": "vcti-shader-foundry",
5
+ "version": "9.0.0",
6
+ "toolchain": {
7
+ "slangc": "2026.12.0.1",
8
+ "spirvCross": "vulkan-sdk-1.4.357.0",
9
+ "glslang": "11:16.5.0"
10
+ }
11
+ },
12
+ "pipeline": {
13
+ "description": "The material's shaded surface from authored images with a tangent-space normal map, on geometry deformed by translation.",
14
+ "id": "deform3.textured-normal",
15
+ "capabilities": [
16
+ "deform3",
17
+ "material",
18
+ "material-texture-normal",
19
+ "material-surface-finish",
20
+ "mask",
21
+ "mask-lut-r8ui",
22
+ "transform",
23
+ "transform-lut-r32ui",
24
+ "transform-map-r16ui",
25
+ "clip"
26
+ ],
27
+ "inputs": [
28
+ {
29
+ "name": "a_position",
30
+ "type": "vec3",
31
+ "semantic": "coordinates"
32
+ },
33
+ {
34
+ "name": "a_deformation",
35
+ "type": "vec3",
36
+ "semantic": "deformation"
37
+ },
38
+ {
39
+ "name": "a_atomId",
40
+ "type": "int",
41
+ "semantic": "atom-id"
42
+ },
43
+ {
44
+ "name": "a_normal",
45
+ "type": "vec3",
46
+ "semantic": "normal"
47
+ },
48
+ {
49
+ "name": "a_uv",
50
+ "type": "vec2",
51
+ "semantic": "uv.0"
52
+ },
53
+ {
54
+ "name": "a_tangent",
55
+ "type": "vec4",
56
+ "semantic": "tangent"
57
+ }
58
+ ],
59
+ "uniforms": [
60
+ {
61
+ "name": "u_mvpMatrix",
62
+ "type": "mat4"
63
+ },
64
+ {
65
+ "name": "u_modelViewMatrix",
66
+ "type": "mat4"
67
+ },
68
+ {
69
+ "name": "u_deformScale",
70
+ "type": "vec3"
71
+ },
72
+ {
73
+ "name": "u_maskLutWidth",
74
+ "type": "int"
75
+ },
76
+ {
77
+ "name": "u_maskLutBase",
78
+ "type": "int"
79
+ },
80
+ {
81
+ "name": "u_transformLutWidth",
82
+ "type": "int"
83
+ },
84
+ {
85
+ "name": "u_transformLutStride",
86
+ "type": "int"
87
+ },
88
+ {
89
+ "name": "u_transformLutBase",
90
+ "type": "int"
91
+ },
92
+ {
93
+ "name": "u_transformMapWidth",
94
+ "type": "int"
95
+ },
96
+ {
97
+ "name": "u_transformMapBase",
98
+ "type": "int"
99
+ },
100
+ {
101
+ "name": "u_clipPlanes",
102
+ "type": "vec4[6]"
103
+ },
104
+ {
105
+ "name": "u_clipPlaneCount",
106
+ "type": "int"
107
+ },
108
+ {
109
+ "name": "u_materialBaseColor",
110
+ "type": "vec3"
111
+ },
112
+ {
113
+ "name": "u_materialMetallic",
114
+ "type": "float"
115
+ },
116
+ {
117
+ "name": "u_materialRoughness",
118
+ "type": "float"
119
+ },
120
+ {
121
+ "name": "u_materialOcclusion",
122
+ "type": "float"
123
+ },
124
+ {
125
+ "name": "u_materialEmissive",
126
+ "type": "vec3"
127
+ },
128
+ {
129
+ "name": "u_materialNormalScale",
130
+ "type": "float"
131
+ },
132
+ {
133
+ "name": "u_viewPosition",
134
+ "type": "vec3"
135
+ },
136
+ {
137
+ "name": "u_environmentSky",
138
+ "type": "vec3"
139
+ },
140
+ {
141
+ "name": "u_environmentGround",
142
+ "type": "vec3"
143
+ },
144
+ {
145
+ "name": "u_environmentUp",
146
+ "type": "vec3"
147
+ },
148
+ {
149
+ "name": "u_lightPositions",
150
+ "type": "vec4[4]"
151
+ },
152
+ {
153
+ "name": "u_lightColors",
154
+ "type": "vec3[4]"
155
+ },
156
+ {
157
+ "name": "u_lightCount",
158
+ "type": "int"
159
+ },
160
+ {
161
+ "name": "u_surfaceFinishScale",
162
+ "type": "float"
163
+ },
164
+ {
165
+ "name": "u_surfaceFinishRoughness",
166
+ "type": "float"
167
+ },
168
+ {
169
+ "name": "u_surfaceFinishColor",
170
+ "type": "float"
171
+ },
172
+ {
173
+ "name": "u_colorSource",
174
+ "type": "int",
175
+ "namedValues": {
176
+ "material": 0,
177
+ "material-unlit": 3
178
+ }
179
+ },
180
+ {
181
+ "name": "u_opacity",
182
+ "type": "float"
183
+ }
184
+ ],
185
+ "outputs": [
186
+ {
187
+ "name": "fragColor",
188
+ "type": "vec4",
189
+ "format": null
190
+ }
191
+ ],
192
+ "tables": [
193
+ {
194
+ "name": "u_maskLut",
195
+ "type": "Texture2D<uint4>",
196
+ "format": "r8ui",
197
+ "semantic": "mask"
198
+ },
199
+ {
200
+ "name": "u_transformLut",
201
+ "type": "Texture2D<uint4>",
202
+ "format": "r32ui",
203
+ "semantic": "transform"
204
+ },
205
+ {
206
+ "name": "u_transformMap",
207
+ "type": "Texture2D<uint4>",
208
+ "format": "r16ui",
209
+ "semantic": "transform-map"
210
+ }
211
+ ],
212
+ "textures": [
213
+ {
214
+ "name": "u_materialBaseColorMap",
215
+ "semantic": "base-color",
216
+ "kind": "2d",
217
+ "component": "float4",
218
+ "format": "rgba8unorm-srgb",
219
+ "requiresMipChain": true,
220
+ "sampler": "u_materialSampler",
221
+ "uv": "uv.0",
222
+ "selection": "draw",
223
+ "neutral": [
224
+ 1.0,
225
+ 1.0,
226
+ 1.0,
227
+ 1.0
228
+ ]
229
+ },
230
+ {
231
+ "name": "u_materialPackedMap",
232
+ "semantic": "occlusion-roughness-metallic",
233
+ "kind": "2d",
234
+ "component": "float4",
235
+ "format": "rgba8unorm",
236
+ "requiresMipChain": true,
237
+ "sampler": "u_materialSampler",
238
+ "uv": "uv.0",
239
+ "selection": "draw",
240
+ "neutral": [
241
+ 1.0,
242
+ 1.0,
243
+ 1.0,
244
+ 1.0
245
+ ]
246
+ },
247
+ {
248
+ "name": "u_materialEmissiveMap",
249
+ "semantic": "emissive",
250
+ "kind": "2d",
251
+ "component": "float4",
252
+ "format": "rgba8unorm-srgb",
253
+ "requiresMipChain": true,
254
+ "sampler": "u_materialSampler",
255
+ "uv": "uv.0",
256
+ "selection": "draw",
257
+ "neutral": [
258
+ 1.0,
259
+ 1.0,
260
+ 1.0,
261
+ 1.0
262
+ ]
263
+ },
264
+ {
265
+ "name": "u_materialNormalMap",
266
+ "semantic": "normal",
267
+ "kind": "2d",
268
+ "component": "float4",
269
+ "format": "rgba8unorm",
270
+ "requiresMipChain": true,
271
+ "sampler": "u_materialSampler",
272
+ "uv": "uv.0",
273
+ "selection": "draw",
274
+ "neutral": [
275
+ 0.5,
276
+ 0.5,
277
+ 1.0,
278
+ 1.0
279
+ ]
280
+ }
281
+ ],
282
+ "samplers": [
283
+ {
284
+ "name": "u_materialSampler",
285
+ "magFilter": "linear",
286
+ "minFilter": "linear",
287
+ "mipmapFilter": "linear",
288
+ "wrapS": "repeat",
289
+ "wrapT": "repeat"
290
+ }
291
+ ]
292
+ },
293
+ "contractSha256": "1ffe68d8db57ab87a3dbc321a832df998c3c1b4f95a4830bc73a2033b8f8dd5e",
294
+ "languages": {
295
+ "glsl": {
296
+ "blockSize": 576,
297
+ "layout": {
298
+ "u_mvpMatrix": {
299
+ "offset": 0,
300
+ "size": 64,
301
+ "elementStride": 0,
302
+ "encoding": "mat4",
303
+ "majorness": "row"
304
+ },
305
+ "u_modelViewMatrix": {
306
+ "offset": 64,
307
+ "size": 64,
308
+ "elementStride": 0,
309
+ "encoding": "mat4",
310
+ "majorness": "row"
311
+ },
312
+ "u_deformScale": {
313
+ "offset": 128,
314
+ "size": 12,
315
+ "elementStride": 4,
316
+ "encoding": "vec3"
317
+ },
318
+ "u_deformRotationCenter": {
319
+ "offset": 144,
320
+ "size": 12,
321
+ "elementStride": 4,
322
+ "encoding": "vec3"
323
+ },
324
+ "u_maskLutWidth": {
325
+ "offset": 156,
326
+ "size": 4,
327
+ "elementStride": 0,
328
+ "encoding": "int"
329
+ },
330
+ "u_maskLutBase": {
331
+ "offset": 160,
332
+ "size": 4,
333
+ "elementStride": 0,
334
+ "encoding": "int"
335
+ },
336
+ "u_transformLutWidth": {
337
+ "offset": 164,
338
+ "size": 4,
339
+ "elementStride": 0,
340
+ "encoding": "int"
341
+ },
342
+ "u_transformLutStride": {
343
+ "offset": 168,
344
+ "size": 4,
345
+ "elementStride": 0,
346
+ "encoding": "int"
347
+ },
348
+ "u_transformLutBase": {
349
+ "offset": 172,
350
+ "size": 4,
351
+ "elementStride": 0,
352
+ "encoding": "int"
353
+ },
354
+ "u_transformMapWidth": {
355
+ "offset": 176,
356
+ "size": 4,
357
+ "elementStride": 0,
358
+ "encoding": "int"
359
+ },
360
+ "u_transformMapBase": {
361
+ "offset": 180,
362
+ "size": 4,
363
+ "elementStride": 0,
364
+ "encoding": "int"
365
+ },
366
+ "u_clipPlanes": {
367
+ "offset": 192,
368
+ "size": 96,
369
+ "elementStride": 16,
370
+ "encoding": "vec4[]"
371
+ },
372
+ "u_clipPlaneCount": {
373
+ "offset": 288,
374
+ "size": 4,
375
+ "elementStride": 0,
376
+ "encoding": "int"
377
+ },
378
+ "u_materialBaseColor": {
379
+ "offset": 304,
380
+ "size": 12,
381
+ "elementStride": 4,
382
+ "encoding": "vec3"
383
+ },
384
+ "u_materialMetallic": {
385
+ "offset": 316,
386
+ "size": 4,
387
+ "elementStride": 0,
388
+ "encoding": "float"
389
+ },
390
+ "u_materialRoughness": {
391
+ "offset": 320,
392
+ "size": 4,
393
+ "elementStride": 0,
394
+ "encoding": "float"
395
+ },
396
+ "u_materialOcclusion": {
397
+ "offset": 324,
398
+ "size": 4,
399
+ "elementStride": 0,
400
+ "encoding": "float"
401
+ },
402
+ "u_materialEmissive": {
403
+ "offset": 336,
404
+ "size": 12,
405
+ "elementStride": 4,
406
+ "encoding": "vec3"
407
+ },
408
+ "u_materialNormalScale": {
409
+ "offset": 348,
410
+ "size": 4,
411
+ "elementStride": 0,
412
+ "encoding": "float"
413
+ },
414
+ "u_viewPosition": {
415
+ "offset": 352,
416
+ "size": 12,
417
+ "elementStride": 4,
418
+ "encoding": "vec3"
419
+ },
420
+ "u_environmentSky": {
421
+ "offset": 368,
422
+ "size": 12,
423
+ "elementStride": 4,
424
+ "encoding": "vec3"
425
+ },
426
+ "u_environmentGround": {
427
+ "offset": 384,
428
+ "size": 12,
429
+ "elementStride": 4,
430
+ "encoding": "vec3"
431
+ },
432
+ "u_environmentUp": {
433
+ "offset": 400,
434
+ "size": 12,
435
+ "elementStride": 4,
436
+ "encoding": "vec3"
437
+ },
438
+ "u_lightPositions": {
439
+ "offset": 416,
440
+ "size": 64,
441
+ "elementStride": 16,
442
+ "encoding": "vec4[]"
443
+ },
444
+ "u_lightColors": {
445
+ "offset": 480,
446
+ "size": 64,
447
+ "elementStride": 16,
448
+ "encoding": "vec3[]"
449
+ },
450
+ "u_lightCount": {
451
+ "offset": 544,
452
+ "size": 4,
453
+ "elementStride": 0,
454
+ "encoding": "int"
455
+ },
456
+ "u_surfaceFinishScale": {
457
+ "offset": 548,
458
+ "size": 4,
459
+ "elementStride": 0,
460
+ "encoding": "float"
461
+ },
462
+ "u_surfaceFinishRoughness": {
463
+ "offset": 552,
464
+ "size": 4,
465
+ "elementStride": 0,
466
+ "encoding": "float"
467
+ },
468
+ "u_surfaceFinishColor": {
469
+ "offset": 556,
470
+ "size": 4,
471
+ "elementStride": 0,
472
+ "encoding": "float"
473
+ },
474
+ "u_colorSource": {
475
+ "offset": 560,
476
+ "size": 4,
477
+ "elementStride": 0,
478
+ "encoding": "int"
479
+ },
480
+ "u_opacity": {
481
+ "offset": 564,
482
+ "size": 4,
483
+ "elementStride": 0,
484
+ "encoding": "float"
485
+ }
486
+ },
487
+ "bindings": [
488
+ {
489
+ "semantic": "mask",
490
+ "texture": "u_maskLut",
491
+ "sampler": null,
492
+ "uniform": "SPIRV_Cross_Combinedu_maskLutSPIRV_Cross_DummySampler",
493
+ "component": "uint",
494
+ "stage": "vertex",
495
+ "unit": 0
496
+ },
497
+ {
498
+ "semantic": "transform",
499
+ "texture": "u_transformLut",
500
+ "sampler": null,
501
+ "uniform": "SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler",
502
+ "component": "uint",
503
+ "stage": "vertex",
504
+ "unit": 1
505
+ },
506
+ {
507
+ "semantic": "transform-map",
508
+ "texture": "u_transformMap",
509
+ "sampler": null,
510
+ "uniform": "SPIRV_Cross_Combinedu_transformMapSPIRV_Cross_DummySampler",
511
+ "component": "uint",
512
+ "stage": "vertex",
513
+ "unit": 2
514
+ },
515
+ {
516
+ "semantic": "base-color",
517
+ "texture": "u_materialBaseColorMap",
518
+ "sampler": "u_materialSampler",
519
+ "uniform": "SPIRV_Cross_Combinedu_materialBaseColorMapu_materialSampler",
520
+ "component": "float",
521
+ "stage": "fragment",
522
+ "unit": 3
523
+ },
524
+ {
525
+ "semantic": "emissive",
526
+ "texture": "u_materialEmissiveMap",
527
+ "sampler": "u_materialSampler",
528
+ "uniform": "SPIRV_Cross_Combinedu_materialEmissiveMapu_materialSampler",
529
+ "component": "float",
530
+ "stage": "fragment",
531
+ "unit": 4
532
+ },
533
+ {
534
+ "semantic": "normal",
535
+ "texture": "u_materialNormalMap",
536
+ "sampler": "u_materialSampler",
537
+ "uniform": "SPIRV_Cross_Combinedu_materialNormalMapu_materialSampler",
538
+ "component": "float",
539
+ "stage": "fragment",
540
+ "unit": 5
541
+ },
542
+ {
543
+ "semantic": "occlusion-roughness-metallic",
544
+ "texture": "u_materialPackedMap",
545
+ "sampler": "u_materialSampler",
546
+ "uniform": "SPIRV_Cross_Combinedu_materialPackedMapu_materialSampler",
547
+ "component": "float",
548
+ "stage": "fragment",
549
+ "unit": 6
550
+ }
551
+ ],
552
+ "stages": {
553
+ "vertex": {
554
+ "source": "#version 300 es\nprecision highp float;\nprecision highp int;\n\nstruct _Array_std140_vector_float_4_6\n{\n vec4 data[6];\n};\n\nstruct _Array_std140_vector_float_4_4\n{\n vec4 data[4];\n};\n\nstruct _Array_std140_vector_float_3_4\n{\n vec3 data[4];\n};\n\nlayout(std140) uniform GlobalParams_std140\n{\n layout(row_major) mat4 u_mvpMatrix;\n layout(row_major) mat4 u_modelViewMatrix;\n vec3 u_deformScale;\n vec3 u_deformRotationCenter;\n int u_maskLutWidth;\n int u_maskLutBase;\n int u_transformLutWidth;\n int u_transformLutStride;\n int u_transformLutBase;\n int u_transformMapWidth;\n int u_transformMapBase;\n _Array_std140_vector_float_4_6 u_clipPlanes;\n int u_clipPlaneCount;\n vec3 u_materialBaseColor;\n float u_materialMetallic;\n float u_materialRoughness;\n float u_materialOcclusion;\n vec3 u_materialEmissive;\n float u_materialNormalScale;\n vec3 u_viewPosition;\n vec3 u_environmentSky;\n vec3 u_environmentGround;\n vec3 u_environmentUp;\n _Array_std140_vector_float_4_4 u_lightPositions;\n _Array_std140_vector_float_3_4 u_lightColors;\n int u_lightCount;\n float u_surfaceFinishScale;\n float u_surfaceFinishRoughness;\n float u_surfaceFinishColor;\n int u_colorSource;\n float u_opacity;\n} globalParams;\n\nuniform highp usampler2D SPIRV_Cross_Combinedu_maskLutSPIRV_Cross_DummySampler;\nuniform highp usampler2D SPIRV_Cross_Combinedu_transformMapSPIRV_Cross_DummySampler;\nuniform highp usampler2D SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler;\n\nlayout(location = 2) in int a_atomId;\nout vec3 v0;\nout vec3 v1;\nout vec3 v2;\nout vec3 v3;\nout vec2 v4;\nout vec4 v5;\nlayout(location = 0) in vec3 a_position;\nlayout(location = 1) in vec3 a_deformation;\nlayout(location = 3) in vec3 a_normal;\nlayout(location = 4) in vec2 a_uv;\nlayout(location = 5) in vec4 a_tangent;\n\nhighp mat4 spvWorkaroundRowMajor(highp mat4 wrap) { return wrap; }\nmediump mat4 spvWorkaroundRowMajorMP(mediump mat4 wrap) { return wrap; }\n\nvoid main()\n{\n do\n {\n int _447 = globalParams.u_maskLutBase + a_atomId;\n if (!(texelFetch(SPIRV_Cross_Combinedu_maskLutSPIRV_Cross_DummySampler, ivec2(_447 - globalParams.u_maskLutWidth * (_447 / globalParams.u_maskLutWidth), _447 / globalParams.u_maskLutWidth), 0).x != 0u))\n {\n gl_Position = vec4(2.0, 2.0, 2.0, 1.0);\n v0 = vec3(0.0);\n v1 = vec3(0.0);\n v2 = vec3(0.0);\n v3 = vec3(0.0);\n v4 = vec2(0.0);\n v5 = vec4(0.0);\n break;\n }\n vec3 _478 = a_position + (globalParams.u_deformScale * a_deformation);\n vec4 _479 = a_tangent;\n int _596 = globalParams.u_transformMapBase + a_atomId;\n int _604 = int(texelFetch(SPIRV_Cross_Combinedu_transformMapSPIRV_Cross_DummySampler, ivec2(_596 - globalParams.u_transformMapWidth * (_596 / globalParams.u_transformMapWidth), _596 / globalParams.u_transformMapWidth), 0).x);\n int _608 = (globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride;\n vec3 _480;\n vec3 _481;\n if (texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_608 - globalParams.u_transformLutWidth * (_608 / globalParams.u_transformLutWidth), _608 / globalParams.u_transformLutWidth), 0).x != 0u)\n {\n int _624 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 1;\n int _636 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 2;\n int _648 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 3;\n int _666 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 4;\n int _678 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 5;\n int _690 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 6;\n int _702 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 7;\n vec4 _716 = vec4(uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_666 - globalParams.u_transformLutWidth * (_666 / globalParams.u_transformLutWidth), _666 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_678 - globalParams.u_transformLutWidth * (_678 / globalParams.u_transformLutWidth), _678 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_690 - globalParams.u_transformLutWidth * (_690 / globalParams.u_transformLutWidth), _690 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_702 - globalParams.u_transformLutWidth * (_702 / globalParams.u_transformLutWidth), _702 / globalParams.u_transformLutWidth), 0).x));\n int _721 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 8;\n int _733 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 9;\n int _745 = ((globalParams.u_transformLutBase + _604) * globalParams.u_transformLutStride) + 10;\n vec3 _758 = vec3(uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_721 - globalParams.u_transformLutWidth * (_721 / globalParams.u_transformLutWidth), _721 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_733 - globalParams.u_transformLutWidth * (_733 / globalParams.u_transformLutWidth), _733 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_745 - globalParams.u_transformLutWidth * (_745 / globalParams.u_transformLutWidth), _745 / globalParams.u_transformLutWidth), 0).x));\n vec3 _761 = _758 * _478;\n vec3 _766 = _716.xyz;\n vec3 _768 = cross(_766, _761) * 2.0;\n vec3 _776 = a_normal / _758;\n vec3 _781 = _716.xyz;\n vec3 _783 = cross(_781, _776) * 2.0;\n vec4 _544 = _479;\n vec3 _546 = _758 * _544.xyz;\n vec3 _791 = _716.xyz;\n vec3 _793 = cross(_791, _546) * 2.0;\n vec3 _548 = normalize((_546 + (_793 * _716.w)) + cross(_791, _793));\n vec4 _878 = _544;\n _878.x = _548.x;\n _878.y = _548.y;\n _878.z = _548.z;\n _479 = _878;\n _480 = ((_761 + (_768 * _716.w)) + cross(_766, _768)) + vec3(uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_624 - globalParams.u_transformLutWidth * (_624 / globalParams.u_transformLutWidth), _624 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_636 - globalParams.u_transformLutWidth * (_636 / globalParams.u_transformLutWidth), _636 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_648 - globalParams.u_transformLutWidth * (_648 / globalParams.u_transformLutWidth), _648 / globalParams.u_transformLutWidth), 0).x));\n _481 = normalize((_776 + (_783 * _716.w)) + cross(_781, _783));\n }\n else\n {\n _480 = _478;\n _481 = a_normal;\n }\n mat3 _567 = mat3(spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[0].xyz, spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[1].xyz, spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[2].xyz);\n vec4 _570 = vec4(_480, 1.0);\n gl_Position = _570 * spvWorkaroundRowMajor(globalParams.u_mvpMatrix);\n v0 = _480;\n v1 = (_570 * spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)).xyz;\n v2 = _481 * _567;\n v3 = a_position;\n v4 = a_uv;\n v5 = vec4(_479.xyz * _567, _479.w);\n break;\n } while(false);\n}\n\n",
555
+ "sha256": "1cc59adb672319938dc11bacb50a3a3764a0b88717693a9c0198d6a4ceb79df1"
556
+ },
557
+ "fragment": {
558
+ "source": "#version 300 es\nprecision highp float;\nprecision highp int;\n\nstruct _Array_std140_vector_float_4_6\n{\n highp vec4 data[6];\n};\n\nstruct _Array_std140_vector_float_4_4\n{\n highp vec4 data[4];\n};\n\nstruct _Array_std140_vector_float_3_4\n{\n highp vec3 data[4];\n};\n\nlayout(std140) uniform GlobalParams_std140\n{\n layout(row_major) highp mat4 u_mvpMatrix;\n layout(row_major) highp mat4 u_modelViewMatrix;\n highp vec3 u_deformScale;\n highp vec3 u_deformRotationCenter;\n int u_maskLutWidth;\n int u_maskLutBase;\n int u_transformLutWidth;\n int u_transformLutStride;\n int u_transformLutBase;\n int u_transformMapWidth;\n int u_transformMapBase;\n _Array_std140_vector_float_4_6 u_clipPlanes;\n int u_clipPlaneCount;\n highp vec3 u_materialBaseColor;\n highp float u_materialMetallic;\n highp float u_materialRoughness;\n highp float u_materialOcclusion;\n highp vec3 u_materialEmissive;\n highp float u_materialNormalScale;\n highp vec3 u_viewPosition;\n highp vec3 u_environmentSky;\n highp vec3 u_environmentGround;\n highp vec3 u_environmentUp;\n _Array_std140_vector_float_4_4 u_lightPositions;\n _Array_std140_vector_float_3_4 u_lightColors;\n int u_lightCount;\n highp float u_surfaceFinishScale;\n highp float u_surfaceFinishRoughness;\n highp float u_surfaceFinishColor;\n int u_colorSource;\n highp float u_opacity;\n} globalParams;\n\nuniform highp sampler2D SPIRV_Cross_Combinedu_materialBaseColorMapu_materialSampler;\nuniform highp sampler2D SPIRV_Cross_Combinedu_materialPackedMapu_materialSampler;\nuniform highp sampler2D SPIRV_Cross_Combinedu_materialEmissiveMapu_materialSampler;\nuniform highp sampler2D SPIRV_Cross_Combinedu_materialNormalMapu_materialSampler;\n\nin highp vec3 v0;\nin highp vec2 v4;\nin highp vec3 v3;\nlayout(location = 0) out highp vec4 entryPointParam_fragmentMain;\nin highp vec3 v2;\nin highp vec4 v5;\nin highp vec3 v1;\n\nvoid main()\n{\n bool _814 = false;\n do\n {\n _814 = false;\n bool _815;\n do\n {\n int _816 = 0;\n for (;;)\n {\n if (!(_816 < 6))\n {\n break;\n }\n if (_816 >= globalParams.u_clipPlaneCount)\n {\n break;\n }\n if ((dot(globalParams.u_clipPlanes.data[_816].xyz, v0) + globalParams.u_clipPlanes.data[_816].w) < 0.0)\n {\n _814 = true;\n _815 = false;\n break;\n }\n _816++;\n continue;\n }\n if (_814)\n {\n break;\n }\n _814 = true;\n _815 = true;\n break;\n } while(false);\n if (!_815)\n {\n discard;\n }\n highp vec4 _866 = texture(SPIRV_Cross_Combinedu_materialPackedMapu_materialSampler, v4);\n highp vec3 _1545 = globalParams.u_materialBaseColor * texture(SPIRV_Cross_Combinedu_materialBaseColorMapu_materialSampler, v4).xyz;\n highp float _1546 = globalParams.u_materialMetallic * _866.z;\n highp float _1547 = globalParams.u_materialRoughness * _866.y;\n highp float _1548 = globalParams.u_materialOcclusion * _866.x;\n highp vec3 _1549 = globalParams.u_materialEmissive * texture(SPIRV_Cross_Combinedu_materialEmissiveMapu_materialSampler, v4).xyz;\n highp float _1567 = globalParams.u_surfaceFinishScale;\n highp float _1568 = globalParams.u_surfaceFinishRoughness;\n highp float _1569 = globalParams.u_surfaceFinishColor;\n highp vec3 _1458;\n highp float _1459;\n highp float _1460;\n highp float _1461;\n highp vec3 _1462;\n do\n {\n if (_1567 <= 0.0)\n {\n _1458 = _1545;\n _1459 = _1546;\n _1460 = _1547;\n _1461 = _1548;\n _1462 = _1549;\n break;\n }\n highp vec3 _901 = v3 / vec3(_1567);\n highp vec3 _928 = floor(_901);\n highp vec3 _929 = _901 - _928;\n highp vec3 _934 = (_929 * _929) * (vec3(3.0) - (_929 * 2.0));\n ivec3 _935 = ivec3(_928);\n uint _974 = (((uint(_935.x) * 2376512323u) + (uint(_935.y) * 3625334849u)) + (uint(_935.z) * 3407524639u)) + 2654435769u;\n uint _977 = (_974 ^ (_974 >> uint(15))) * 739982445u;\n uint _980 = (_977 ^ (_977 >> uint(12))) * 695872825u;\n ivec3 _937 = _935 + ivec3(1, 0, 0);\n uint _999 = (((uint(_937.x) * 2376512323u) + (uint(_937.y) * 3625334849u)) + (uint(_937.z) * 3407524639u)) + 2654435769u;\n uint _1002 = (_999 ^ (_999 >> uint(15))) * 739982445u;\n uint _1005 = (_1002 ^ (_1002 >> uint(12))) * 695872825u;\n ivec3 _939 = _935 + ivec3(0, 1, 0);\n uint _1024 = (((uint(_939.x) * 2376512323u) + (uint(_939.y) * 3625334849u)) + (uint(_939.z) * 3407524639u)) + 2654435769u;\n uint _1027 = (_1024 ^ (_1024 >> uint(15))) * 739982445u;\n uint _1030 = (_1027 ^ (_1027 >> uint(12))) * 695872825u;\n ivec3 _941 = _935 + ivec3(1, 1, 0);\n uint _1049 = (((uint(_941.x) * 2376512323u) + (uint(_941.y) * 3625334849u)) + (uint(_941.z) * 3407524639u)) + 2654435769u;\n uint _1052 = (_1049 ^ (_1049 >> uint(15))) * 739982445u;\n uint _1055 = (_1052 ^ (_1052 >> uint(12))) * 695872825u;\n ivec3 _943 = _935 + ivec3(0, 0, 1);\n uint _1074 = (((uint(_943.x) * 2376512323u) + (uint(_943.y) * 3625334849u)) + (uint(_943.z) * 3407524639u)) + 2654435769u;\n uint _1077 = (_1074 ^ (_1074 >> uint(15))) * 739982445u;\n uint _1080 = (_1077 ^ (_1077 >> uint(12))) * 695872825u;\n ivec3 _945 = _935 + ivec3(1, 0, 1);\n uint _1099 = (((uint(_945.x) * 2376512323u) + (uint(_945.y) * 3625334849u)) + (uint(_945.z) * 3407524639u)) + 2654435769u;\n uint _1102 = (_1099 ^ (_1099 >> uint(15))) * 739982445u;\n uint _1105 = (_1102 ^ (_1102 >> uint(12))) * 695872825u;\n ivec3 _947 = _935 + ivec3(0, 1, 1);\n uint _1124 = (((uint(_947.x) * 2376512323u) + (uint(_947.y) * 3625334849u)) + (uint(_947.z) * 3407524639u)) + 2654435769u;\n uint _1127 = (_1124 ^ (_1124 >> uint(15))) * 739982445u;\n uint _1130 = (_1127 ^ (_1127 >> uint(12))) * 695872825u;\n ivec3 _949 = _935 + ivec3(1);\n uint _1149 = (((uint(_949.x) * 2376512323u) + (uint(_949.y) * 3625334849u)) + (uint(_949.z) * 3407524639u)) + 2654435769u;\n uint _1152 = (_1149 ^ (_1149 >> uint(15))) * 739982445u;\n uint _1155 = (_1152 ^ (_1152 >> uint(12))) * 695872825u;\n highp float _951 = _934.x;\n highp float _956 = _934.y;\n highp float _904 = (mix(mix(mix(float((_980 ^ (_980 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1005 ^ (_1005 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _951), mix(float((_1030 ^ (_1030 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1055 ^ (_1055 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _951), _956), mix(mix(float((_1080 ^ (_1080 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1105 ^ (_1105 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _951), mix(float((_1130 ^ (_1130 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1155 ^ (_1155 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _951), _956), _934.z) * 2.0) - 1.0;\n _1458 = clamp(_1545 * (1.0 + (_904 * _1569)), vec3(0.0), vec3(1.0));\n _1459 = _1546;\n _1460 = clamp(_1547 + (_904 * _1568), 0.0, 1.0);\n _1461 = _1548;\n _1462 = _1549;\n break;\n } while(false);\n if (globalParams.u_colorSource == 3)\n {\n entryPointParam_fragmentMain = vec4(_1458, globalParams.u_opacity);\n break;\n }\n highp vec4 _1168 = texture(SPIRV_Cross_Combinedu_materialNormalMapu_materialSampler, v4);\n highp vec3 _1173 = (_1168.xyz * 2.0) - vec3(1.0);\n highp vec2 _1175 = _1173.xy * globalParams.u_materialNormalScale;\n highp vec3 _1178 = normalize(normalize(v2));\n highp vec3 _1183 = normalize(v5.xyz - (_1178 * dot(_1178, v5.xyz)));\n highp vec3 _1195 = normalize(((_1183 * _1175.x) + ((cross(_1178, _1183) * v5.w) * _1175.y)) + (_1178 * _1173.z));\n highp vec3 _1199 = normalize(globalParams.u_viewPosition - v1);\n highp vec3 _1580 = _1458;\n highp float _1581 = _1459;\n highp float _1582 = _1460;\n highp float _1583 = _1461;\n highp vec3 _1584 = _1462;\n highp vec3 _1590 = globalParams.u_environmentSky;\n highp vec3 _1591 = globalParams.u_environmentGround;\n highp vec3 _1592 = globalParams.u_environmentUp;\n int _1200 = 0;\n highp vec3 _1201 = vec3(0.0);\n highp vec3 _1242;\n highp vec3 _1243;\n highp vec3 _1244;\n highp float _1245;\n for (;;)\n {\n if (!(_1200 < 4))\n {\n break;\n }\n if (_1200 < globalParams.u_lightCount)\n {\n do\n {\n bool _1250 = globalParams.u_lightPositions.data[_1200].w == 0.0;\n if (_1250)\n {\n _1243 = globalParams.u_lightPositions.data[_1200].xyz;\n }\n else\n {\n _1243 = globalParams.u_lightPositions.data[_1200].xyz - v1;\n }\n highp float _1259 = dot(_1243, _1243);\n if (_1250)\n {\n _1244 = normalize(globalParams.u_lightPositions.data[_1200].xyz);\n }\n else\n {\n _1244 = _1243 * inversesqrt(_1259);\n }\n if (_1250)\n {\n _1245 = 1.0;\n }\n else\n {\n _1245 = 1.0 / _1259;\n }\n highp float _1275 = dot(_1195, _1244);\n if (_1275 <= 0.0)\n {\n _1242 = vec3(0.0);\n break;\n }\n highp vec3 _1280 = _1199 + _1244;\n highp float _1281 = dot(_1280, _1280);\n if (_1281 <= 9.9999999600419720025001879548654e-13)\n {\n _1242 = vec3(0.0);\n break;\n }\n highp vec3 _1286 = _1280 * inversesqrt(_1281);\n highp float _1288 = max(dot(_1195, _1199), 0.0);\n highp float _1290 = max(dot(_1195, _1286), 0.0);\n highp float _1295 = max(_1582, 0.039999999105930328369140625);\n highp vec3 _1327 = mix(vec3(0.039999999105930328369140625), _1580, vec3(_1581));\n highp float _1330 = _1295 * _1295;\n highp float _1331 = _1330 * _1330;\n highp float _1335 = ((_1290 * _1290) * (_1331 - 1.0)) + 1.0;\n highp float _1346 = _1295 + 1.0;\n highp float _1348 = (_1346 * _1346) * 0.125;\n highp float _1355 = _1295 + 1.0;\n highp float _1357 = (_1355 * _1355) * 0.125;\n highp vec3 _1370 = _1327 + ((vec3(1.0) - _1327) * pow(clamp(1.0 - max(dot(_1286, _1199), 0.0), 0.0, 1.0), 5.0));\n _1242 = ((((clamp((vec3(1.0) - _1370) * (1.0 - _1581), vec3(0.0), vec3(1.0)) * _1580) * vec3(0.3183098733425140380859375)) + ((_1370 * ((_1331 / ((3.1415927410125732421875 * _1335) * _1335)) * ((_1288 / ((_1288 * (1.0 - _1348)) + _1348)) * (_1275 / ((_1275 * (1.0 - _1357)) + _1357))))) / vec3(((4.0 * _1288) * _1275) + 9.9999997473787516355514526367188e-05))) * (globalParams.u_lightColors.data[_1200] * _1245)) * _1275;\n break;\n } while(false);\n _1201 += _1242;\n }\n _1200++;\n continue;\n }\n highp vec3 _1406 = mix(vec3(0.039999999105930328369140625), _1580, vec3(_1581));\n highp vec3 _1417 = _1406 + ((max(vec3(1.0 - max(_1582, 0.039999999105930328369140625)), _1406) - _1406) * pow(clamp(1.0 - max(dot(_1195, _1199), 0.0), 0.0, 1.0), 5.0));\n highp vec3 _1240 = (((((clamp((vec3(1.0) - _1417) * (1.0 - _1581), vec3(0.0), vec3(1.0)) * mix(_1591, _1590, vec3((dot(_1195, _1592) * 0.5) + 0.5))) * _1580) + (mix(_1591, _1590, vec3((dot(reflect(-_1199, _1195), _1592) * 0.5) + 0.5)) * _1417)) * _1583) + _1201) + _1584;\n entryPointParam_fragmentMain = vec4(pow(_1240 / (_1240 + vec3(1.0)), vec3(0.454545438289642333984375)), globalParams.u_opacity);\n break;\n } while(false);\n}\n\n",
559
+ "sha256": "ed9d3c5e64640c5f6719150a847fe01e40d723d4ac032799403e879ebd8a070e"
560
+ }
561
+ }
562
+ }
563
+ }
564
+ }