@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,466 @@
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, each primitive colored by its material row, on geometry deformed by translation and rotation, with the cut a clip plane leaves filled.",
14
+ "id": "deform6.surface.capped",
15
+ "capabilities": [
16
+ "deform6",
17
+ "material-map-r16ui",
18
+ "material",
19
+ "material-table",
20
+ "material-surface-finish",
21
+ "cap-backface",
22
+ "mask",
23
+ "mask-lut-r8ui",
24
+ "transform",
25
+ "transform-lut-r32ui",
26
+ "transform-map-r16ui",
27
+ "clip"
28
+ ],
29
+ "inputs": [
30
+ {
31
+ "name": "a_position",
32
+ "type": "vec3",
33
+ "semantic": "coordinates"
34
+ },
35
+ {
36
+ "name": "a_deformation",
37
+ "type": "vec3",
38
+ "semantic": "deformation"
39
+ },
40
+ {
41
+ "name": "a_rotation",
42
+ "type": "vec3",
43
+ "semantic": "rotation"
44
+ },
45
+ {
46
+ "name": "a_atomId",
47
+ "type": "int",
48
+ "semantic": "atom-id"
49
+ },
50
+ {
51
+ "name": "a_normal",
52
+ "type": "vec3",
53
+ "semantic": "normal"
54
+ },
55
+ {
56
+ "name": "a_capEnabled",
57
+ "type": "int",
58
+ "semantic": "cap.enabled"
59
+ }
60
+ ],
61
+ "uniforms": [
62
+ {
63
+ "name": "u_mvpMatrix",
64
+ "type": "mat4"
65
+ },
66
+ {
67
+ "name": "u_modelViewMatrix",
68
+ "type": "mat4"
69
+ },
70
+ {
71
+ "name": "u_deformScale",
72
+ "type": "vec3"
73
+ },
74
+ {
75
+ "name": "u_deformRotationCenter",
76
+ "type": "vec3"
77
+ },
78
+ {
79
+ "name": "u_maskLutWidth",
80
+ "type": "int"
81
+ },
82
+ {
83
+ "name": "u_maskLutBase",
84
+ "type": "int"
85
+ },
86
+ {
87
+ "name": "u_transformLutWidth",
88
+ "type": "int"
89
+ },
90
+ {
91
+ "name": "u_transformLutStride",
92
+ "type": "int"
93
+ },
94
+ {
95
+ "name": "u_transformLutBase",
96
+ "type": "int"
97
+ },
98
+ {
99
+ "name": "u_transformMapWidth",
100
+ "type": "int"
101
+ },
102
+ {
103
+ "name": "u_transformMapBase",
104
+ "type": "int"
105
+ },
106
+ {
107
+ "name": "u_clipPlanes",
108
+ "type": "vec4[6]"
109
+ },
110
+ {
111
+ "name": "u_clipPlaneCount",
112
+ "type": "int"
113
+ },
114
+ {
115
+ "name": "u_materialMapWidth",
116
+ "type": "int"
117
+ },
118
+ {
119
+ "name": "u_materialMapBase",
120
+ "type": "int"
121
+ },
122
+ {
123
+ "name": "u_viewPosition",
124
+ "type": "vec3"
125
+ },
126
+ {
127
+ "name": "u_environmentSky",
128
+ "type": "vec3"
129
+ },
130
+ {
131
+ "name": "u_environmentGround",
132
+ "type": "vec3"
133
+ },
134
+ {
135
+ "name": "u_environmentUp",
136
+ "type": "vec3"
137
+ },
138
+ {
139
+ "name": "u_lightPositions",
140
+ "type": "vec4[4]"
141
+ },
142
+ {
143
+ "name": "u_lightColors",
144
+ "type": "vec3[4]"
145
+ },
146
+ {
147
+ "name": "u_lightCount",
148
+ "type": "int"
149
+ },
150
+ {
151
+ "name": "u_surfaceFinishScale",
152
+ "type": "float"
153
+ },
154
+ {
155
+ "name": "u_surfaceFinishRoughness",
156
+ "type": "float"
157
+ },
158
+ {
159
+ "name": "u_surfaceFinishColor",
160
+ "type": "float"
161
+ },
162
+ {
163
+ "name": "u_colorSource",
164
+ "type": "int",
165
+ "namedValues": {
166
+ "material": 0,
167
+ "material-unlit": 3
168
+ }
169
+ },
170
+ {
171
+ "name": "u_opacity",
172
+ "type": "float"
173
+ },
174
+ {
175
+ "name": "u_capTint",
176
+ "type": "vec4"
177
+ },
178
+ {
179
+ "name": "u_modelEyePosition",
180
+ "type": "vec3"
181
+ }
182
+ ],
183
+ "outputs": [
184
+ {
185
+ "name": "fragColor",
186
+ "type": "vec4",
187
+ "format": null
188
+ }
189
+ ],
190
+ "tables": [
191
+ {
192
+ "name": "u_maskLut",
193
+ "type": "Texture2D<uint4>",
194
+ "format": "r8ui",
195
+ "semantic": "mask"
196
+ },
197
+ {
198
+ "name": "u_transformLut",
199
+ "type": "Texture2D<uint4>",
200
+ "format": "r32ui",
201
+ "semantic": "transform"
202
+ },
203
+ {
204
+ "name": "u_transformMap",
205
+ "type": "Texture2D<uint4>",
206
+ "format": "r16ui",
207
+ "semantic": "transform-map"
208
+ },
209
+ {
210
+ "name": "u_materialMap",
211
+ "type": "Texture2D<uint4>",
212
+ "format": "r16ui",
213
+ "semantic": "material-map"
214
+ },
215
+ {
216
+ "name": "u_materialTable",
217
+ "type": "Texture2D<float4>",
218
+ "format": "rgba32f",
219
+ "semantic": "material"
220
+ }
221
+ ],
222
+ "textures": [],
223
+ "samplers": []
224
+ },
225
+ "contractSha256": "50e6a0351582cfa346ef8025b1e7d7073b872f4861d9a5f32c92ace87d5af61c",
226
+ "languages": {
227
+ "glsl": {
228
+ "blockSize": 560,
229
+ "layout": {
230
+ "u_mvpMatrix": {
231
+ "offset": 0,
232
+ "size": 64,
233
+ "elementStride": 0,
234
+ "encoding": "mat4",
235
+ "majorness": "row"
236
+ },
237
+ "u_modelViewMatrix": {
238
+ "offset": 64,
239
+ "size": 64,
240
+ "elementStride": 0,
241
+ "encoding": "mat4",
242
+ "majorness": "row"
243
+ },
244
+ "u_deformScale": {
245
+ "offset": 128,
246
+ "size": 12,
247
+ "elementStride": 4,
248
+ "encoding": "vec3"
249
+ },
250
+ "u_deformRotationCenter": {
251
+ "offset": 144,
252
+ "size": 12,
253
+ "elementStride": 4,
254
+ "encoding": "vec3"
255
+ },
256
+ "u_maskLutWidth": {
257
+ "offset": 156,
258
+ "size": 4,
259
+ "elementStride": 0,
260
+ "encoding": "int"
261
+ },
262
+ "u_maskLutBase": {
263
+ "offset": 160,
264
+ "size": 4,
265
+ "elementStride": 0,
266
+ "encoding": "int"
267
+ },
268
+ "u_transformLutWidth": {
269
+ "offset": 164,
270
+ "size": 4,
271
+ "elementStride": 0,
272
+ "encoding": "int"
273
+ },
274
+ "u_transformLutStride": {
275
+ "offset": 168,
276
+ "size": 4,
277
+ "elementStride": 0,
278
+ "encoding": "int"
279
+ },
280
+ "u_transformLutBase": {
281
+ "offset": 172,
282
+ "size": 4,
283
+ "elementStride": 0,
284
+ "encoding": "int"
285
+ },
286
+ "u_transformMapWidth": {
287
+ "offset": 176,
288
+ "size": 4,
289
+ "elementStride": 0,
290
+ "encoding": "int"
291
+ },
292
+ "u_transformMapBase": {
293
+ "offset": 180,
294
+ "size": 4,
295
+ "elementStride": 0,
296
+ "encoding": "int"
297
+ },
298
+ "u_clipPlanes": {
299
+ "offset": 192,
300
+ "size": 96,
301
+ "elementStride": 16,
302
+ "encoding": "vec4[]"
303
+ },
304
+ "u_clipPlaneCount": {
305
+ "offset": 288,
306
+ "size": 4,
307
+ "elementStride": 0,
308
+ "encoding": "int"
309
+ },
310
+ "u_materialMapWidth": {
311
+ "offset": 292,
312
+ "size": 4,
313
+ "elementStride": 0,
314
+ "encoding": "int"
315
+ },
316
+ "u_materialMapBase": {
317
+ "offset": 296,
318
+ "size": 4,
319
+ "elementStride": 0,
320
+ "encoding": "int"
321
+ },
322
+ "u_viewPosition": {
323
+ "offset": 304,
324
+ "size": 12,
325
+ "elementStride": 4,
326
+ "encoding": "vec3"
327
+ },
328
+ "u_environmentSky": {
329
+ "offset": 320,
330
+ "size": 12,
331
+ "elementStride": 4,
332
+ "encoding": "vec3"
333
+ },
334
+ "u_environmentGround": {
335
+ "offset": 336,
336
+ "size": 12,
337
+ "elementStride": 4,
338
+ "encoding": "vec3"
339
+ },
340
+ "u_environmentUp": {
341
+ "offset": 352,
342
+ "size": 12,
343
+ "elementStride": 4,
344
+ "encoding": "vec3"
345
+ },
346
+ "u_lightPositions": {
347
+ "offset": 368,
348
+ "size": 64,
349
+ "elementStride": 16,
350
+ "encoding": "vec4[]"
351
+ },
352
+ "u_lightColors": {
353
+ "offset": 432,
354
+ "size": 64,
355
+ "elementStride": 16,
356
+ "encoding": "vec3[]"
357
+ },
358
+ "u_lightCount": {
359
+ "offset": 496,
360
+ "size": 4,
361
+ "elementStride": 0,
362
+ "encoding": "int"
363
+ },
364
+ "u_surfaceFinishScale": {
365
+ "offset": 500,
366
+ "size": 4,
367
+ "elementStride": 0,
368
+ "encoding": "float"
369
+ },
370
+ "u_surfaceFinishRoughness": {
371
+ "offset": 504,
372
+ "size": 4,
373
+ "elementStride": 0,
374
+ "encoding": "float"
375
+ },
376
+ "u_surfaceFinishColor": {
377
+ "offset": 508,
378
+ "size": 4,
379
+ "elementStride": 0,
380
+ "encoding": "float"
381
+ },
382
+ "u_colorSource": {
383
+ "offset": 512,
384
+ "size": 4,
385
+ "elementStride": 0,
386
+ "encoding": "int"
387
+ },
388
+ "u_opacity": {
389
+ "offset": 516,
390
+ "size": 4,
391
+ "elementStride": 0,
392
+ "encoding": "float"
393
+ },
394
+ "u_capTint": {
395
+ "offset": 528,
396
+ "size": 16,
397
+ "elementStride": 4,
398
+ "encoding": "vec4"
399
+ },
400
+ "u_modelEyePosition": {
401
+ "offset": 544,
402
+ "size": 12,
403
+ "elementStride": 4,
404
+ "encoding": "vec3"
405
+ }
406
+ },
407
+ "bindings": [
408
+ {
409
+ "semantic": "mask",
410
+ "texture": "u_maskLut",
411
+ "sampler": null,
412
+ "uniform": "SPIRV_Cross_Combinedu_maskLutSPIRV_Cross_DummySampler",
413
+ "component": "uint",
414
+ "stage": "vertex",
415
+ "unit": 0
416
+ },
417
+ {
418
+ "semantic": "material-map",
419
+ "texture": "u_materialMap",
420
+ "sampler": null,
421
+ "uniform": "SPIRV_Cross_Combinedu_materialMapSPIRV_Cross_DummySampler",
422
+ "component": "uint",
423
+ "stage": "vertex",
424
+ "unit": 1
425
+ },
426
+ {
427
+ "semantic": "transform",
428
+ "texture": "u_transformLut",
429
+ "sampler": null,
430
+ "uniform": "SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler",
431
+ "component": "uint",
432
+ "stage": "vertex",
433
+ "unit": 2
434
+ },
435
+ {
436
+ "semantic": "transform-map",
437
+ "texture": "u_transformMap",
438
+ "sampler": null,
439
+ "uniform": "SPIRV_Cross_Combinedu_transformMapSPIRV_Cross_DummySampler",
440
+ "component": "uint",
441
+ "stage": "vertex",
442
+ "unit": 3
443
+ },
444
+ {
445
+ "semantic": "material",
446
+ "texture": "u_materialTable",
447
+ "sampler": null,
448
+ "uniform": "SPIRV_Cross_Combinedu_materialTableSPIRV_Cross_DummySampler",
449
+ "component": "float",
450
+ "stage": "fragment",
451
+ "unit": 4
452
+ }
453
+ ],
454
+ "stages": {
455
+ "vertex": {
456
+ "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 int u_materialMapWidth;\n int u_materialMapBase;\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 vec4 u_capTint;\n vec3 u_modelEyePosition;\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;\nuniform highp usampler2D SPIRV_Cross_Combinedu_materialMapSPIRV_Cross_DummySampler;\n\nlayout(location = 3) in int a_atomId;\nout vec3 v0;\nout vec3 v1;\nout vec3 v2;\nout vec3 v3;\nflat out int v4;\nflat out int v5;\nflat out int v6;\nlayout(location = 0) in vec3 a_position;\nlayout(location = 1) in vec3 a_deformation;\nlayout(location = 2) in vec3 a_rotation;\nlayout(location = 4) in vec3 a_normal;\nlayout(location = 5) in int a_capEnabled;\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 _499 = globalParams.u_maskLutBase + a_atomId;\n if (!(texelFetch(SPIRV_Cross_Combinedu_maskLutSPIRV_Cross_DummySampler, ivec2(_499 - globalParams.u_maskLutWidth * (_499 / globalParams.u_maskLutWidth), _499 / 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 = 0;\n v5 = 0;\n v6 = 0;\n break;\n }\n vec3 _529 = a_position - globalParams.u_deformRotationCenter;\n float _530 = length(a_rotation);\n vec3 _526;\n if (_530 > 9.9999999392252902907785028219223e-09)\n {\n vec3 _534 = a_rotation / vec3(_530);\n float _535 = cos(_530);\n _526 = ((_529 * _535) + (cross(_534, _529) * sin(_530))) + ((_534 * dot(_534, _529)) * (1.0 - _535));\n }\n else\n {\n _526 = _529;\n }\n vec3 _551 = (globalParams.u_deformRotationCenter + _526) + (globalParams.u_deformScale * a_deformation);\n int _667 = globalParams.u_transformMapBase + a_atomId;\n int _675 = int(texelFetch(SPIRV_Cross_Combinedu_transformMapSPIRV_Cross_DummySampler, ivec2(_667 - globalParams.u_transformMapWidth * (_667 / globalParams.u_transformMapWidth), _667 / globalParams.u_transformMapWidth), 0).x);\n int _679 = (globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride;\n int _552;\n vec3 _553;\n vec3 _554;\n if (texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_679 - globalParams.u_transformLutWidth * (_679 / globalParams.u_transformLutWidth), _679 / globalParams.u_transformLutWidth), 0).x != 0u)\n {\n int _695 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 1;\n int _707 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 2;\n int _719 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 3;\n int _737 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 4;\n int _749 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 5;\n int _761 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 6;\n int _773 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 7;\n vec4 _787 = vec4(uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_737 - globalParams.u_transformLutWidth * (_737 / globalParams.u_transformLutWidth), _737 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_749 - globalParams.u_transformLutWidth * (_749 / globalParams.u_transformLutWidth), _749 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_761 - globalParams.u_transformLutWidth * (_761 / globalParams.u_transformLutWidth), _761 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_773 - globalParams.u_transformLutWidth * (_773 / globalParams.u_transformLutWidth), _773 / globalParams.u_transformLutWidth), 0).x));\n int _792 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 8;\n int _804 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 9;\n int _816 = ((globalParams.u_transformLutBase + _675) * globalParams.u_transformLutStride) + 10;\n vec3 _829 = vec3(uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_792 - globalParams.u_transformLutWidth * (_792 / globalParams.u_transformLutWidth), _792 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_804 - globalParams.u_transformLutWidth * (_804 / globalParams.u_transformLutWidth), _804 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_816 - globalParams.u_transformLutWidth * (_816 / globalParams.u_transformLutWidth), _816 / globalParams.u_transformLutWidth), 0).x));\n vec3 _832 = _829 * _551;\n vec3 _837 = _787.xyz;\n vec3 _839 = cross(_837, _832) * 2.0;\n vec3 _847 = a_normal / _829;\n vec3 _852 = _787.xyz;\n vec3 _854 = cross(_852, _847) * 2.0;\n if (((_829.x * _829.y) * _829.z) < 0.0)\n {\n _552 = 1;\n }\n else\n {\n _552 = 0;\n }\n _553 = ((_832 + (_839 * _787.w)) + cross(_837, _839)) + vec3(uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_695 - globalParams.u_transformLutWidth * (_695 / globalParams.u_transformLutWidth), _695 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_707 - globalParams.u_transformLutWidth * (_707 / globalParams.u_transformLutWidth), _707 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_719 - globalParams.u_transformLutWidth * (_719 / globalParams.u_transformLutWidth), _719 / globalParams.u_transformLutWidth), 0).x));\n _554 = normalize((_847 + (_854 * _787.w)) + cross(_852, _854));\n }\n else\n {\n _553 = _551;\n _554 = a_normal;\n _552 = 0;\n }\n vec4 _641 = vec4(_553, 1.0);\n int _862 = globalParams.u_materialMapBase + a_atomId;\n gl_Position = _641 * spvWorkaroundRowMajor(globalParams.u_mvpMatrix);\n v0 = _553;\n v1 = (_641 * spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)).xyz;\n v2 = _554 * mat3(spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[0].xyz, spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[1].xyz, spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[2].xyz);\n v3 = a_position;\n v4 = int(texelFetch(SPIRV_Cross_Combinedu_materialMapSPIRV_Cross_DummySampler, ivec2(_862 - globalParams.u_materialMapWidth * (_862 / globalParams.u_materialMapWidth), _862 / globalParams.u_materialMapWidth), 0).x);\n v5 = a_capEnabled;\n v6 = _552;\n break;\n } while(false);\n}\n\n",
457
+ "sha256": "63f4cfbab02204169f5bd066570aab9f2d2344f87a44184824a844739fde83c1"
458
+ },
459
+ "fragment": {
460
+ "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 int u_materialMapWidth;\n int u_materialMapBase;\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 highp vec4 u_capTint;\n highp vec3 u_modelEyePosition;\n} globalParams;\n\nuniform highp sampler2D SPIRV_Cross_Combinedu_materialTableSPIRV_Cross_DummySampler;\n\nin highp vec3 v0;\nflat in int v6;\nflat in int v5;\nflat in int v4;\nin highp vec3 v3;\nlayout(location = 0) out highp vec4 entryPointParam_fragmentMain;\nin highp vec3 v2;\nin highp vec3 v1;\n\nhighp mat4 spvWorkaroundRowMajor(highp mat4 wrap) { return wrap; }\nmediump mat4 spvWorkaroundRowMajorMP(mediump mat4 wrap) { return wrap; }\n\nvoid main()\n{\n bool _977 = false;\n do\n {\n _977 = false;\n bool _978;\n do\n {\n int _979 = 0;\n for (;;)\n {\n if (!(_979 < 6))\n {\n break;\n }\n if (_979 >= globalParams.u_clipPlaneCount)\n {\n break;\n }\n if ((dot(globalParams.u_clipPlanes.data[_979].xyz, v0) + globalParams.u_clipPlanes.data[_979].w) < 0.0)\n {\n _977 = true;\n _978 = false;\n break;\n }\n _979++;\n continue;\n }\n if (_977)\n {\n break;\n }\n _977 = true;\n _978 = true;\n break;\n } while(false);\n if (!_978)\n {\n discard;\n }\n bool _1023 = gl_FrontFacing != (v6 != 0);\n bool _1024;\n if (!_1023)\n {\n _1024 = v5 == 0;\n }\n else\n {\n _1024 = false;\n }\n if (_1024)\n {\n discard;\n }\n highp vec3 _172 = v0 - globalParams.u_modelEyePosition;\n int _1033 = -1;\n highp float _1035 = 0.0;\n int _1034 = 0;\n bool _1036;\n int _1037;\n highp float _1038;\n for (;;)\n {\n bool _1044_ladder_break = false;\n do\n {\n if (!(_1034 < 6))\n {\n _1044_ladder_break = true;\n break;\n }\n if (_1034 >= globalParams.u_clipPlaneCount)\n {\n _1044_ladder_break = true;\n break;\n }\n highp float _1059 = dot(globalParams.u_clipPlanes.data[_1034].xyz, _172);\n if (_1059 <= 0.0)\n {\n break;\n }\n highp float _1065 = (-(dot(globalParams.u_clipPlanes.data[_1034].xyz, globalParams.u_modelEyePosition) + globalParams.u_clipPlanes.data[_1034].w)) / _1059;\n if (_1033 < 0)\n {\n _1036 = true;\n }\n else\n {\n _1036 = _1065 > _1035;\n }\n if (_1036)\n {\n _1037 = _1034;\n _1038 = _1065;\n }\n else\n {\n _1037 = _1033;\n _1038 = _1035;\n }\n _1033 = _1037;\n _1035 = _1038;\n break;\n } while(false);\n if (_1044_ladder_break)\n {\n break;\n }\n _1034++;\n continue;\n }\n bool _7;\n if (_1033 < 0)\n {\n bool _1095;\n if (!_1023)\n {\n _1095 = v5 != 0;\n }\n else\n {\n _1095 = false;\n }\n _7 = _1095;\n }\n else\n {\n _7 = false;\n }\n if (_7)\n {\n discard;\n }\n highp vec4 _1109 = texelFetch(SPIRV_Cross_Combinedu_materialTableSPIRV_Cross_DummySampler, ivec2(v4, 0), 0);\n highp vec4 _1113 = texelFetch(SPIRV_Cross_Combinedu_materialTableSPIRV_Cross_DummySampler, ivec2(v4, 1), 0);\n highp vec4 _1117 = texelFetch(SPIRV_Cross_Combinedu_materialTableSPIRV_Cross_DummySampler, ivec2(v4, 2), 0);\n highp vec3 _1120 = _1109.xyz;\n highp float _1122 = _1109.w;\n highp vec3 _1124 = _1113.xyz;\n highp float _1126 = _1113.w;\n highp float _1128 = _1117.x;\n highp vec3 _1786 = _1120;\n highp float _1787 = _1122;\n highp float _1788 = _1126;\n highp float _1789 = _1128;\n highp vec3 _1790 = _1124;\n highp vec3 _1814 = _1120;\n highp float _1815 = _1122;\n highp float _1816 = _1126;\n highp float _1817 = _1128;\n highp vec3 _1818 = _1124;\n highp float _1836 = globalParams.u_surfaceFinishScale;\n highp float _1837 = globalParams.u_surfaceFinishRoughness;\n highp float _1838 = globalParams.u_surfaceFinishColor;\n highp vec3 _1706;\n highp float _1707;\n highp float _1708;\n highp float _1709;\n highp vec3 _1710;\n do\n {\n if (_1836 <= 0.0)\n {\n _1706 = _1814;\n _1707 = _1815;\n _1708 = _1816;\n _1709 = _1817;\n _1710 = _1818;\n break;\n }\n highp vec3 _1143 = v3 / vec3(_1836);\n highp vec3 _1170 = floor(_1143);\n highp vec3 _1171 = _1143 - _1170;\n highp vec3 _1176 = (_1171 * _1171) * (vec3(3.0) - (_1171 * 2.0));\n ivec3 _1177 = ivec3(_1170);\n uint _1216 = (((uint(_1177.x) * 2376512323u) + (uint(_1177.y) * 3625334849u)) + (uint(_1177.z) * 3407524639u)) + 2654435769u;\n uint _1219 = (_1216 ^ (_1216 >> uint(15))) * 739982445u;\n uint _1222 = (_1219 ^ (_1219 >> uint(12))) * 695872825u;\n ivec3 _1179 = _1177 + ivec3(1, 0, 0);\n uint _1241 = (((uint(_1179.x) * 2376512323u) + (uint(_1179.y) * 3625334849u)) + (uint(_1179.z) * 3407524639u)) + 2654435769u;\n uint _1244 = (_1241 ^ (_1241 >> uint(15))) * 739982445u;\n uint _1247 = (_1244 ^ (_1244 >> uint(12))) * 695872825u;\n ivec3 _1181 = _1177 + ivec3(0, 1, 0);\n uint _1266 = (((uint(_1181.x) * 2376512323u) + (uint(_1181.y) * 3625334849u)) + (uint(_1181.z) * 3407524639u)) + 2654435769u;\n uint _1269 = (_1266 ^ (_1266 >> uint(15))) * 739982445u;\n uint _1272 = (_1269 ^ (_1269 >> uint(12))) * 695872825u;\n ivec3 _1183 = _1177 + ivec3(1, 1, 0);\n uint _1291 = (((uint(_1183.x) * 2376512323u) + (uint(_1183.y) * 3625334849u)) + (uint(_1183.z) * 3407524639u)) + 2654435769u;\n uint _1294 = (_1291 ^ (_1291 >> uint(15))) * 739982445u;\n uint _1297 = (_1294 ^ (_1294 >> uint(12))) * 695872825u;\n ivec3 _1185 = _1177 + ivec3(0, 0, 1);\n uint _1316 = (((uint(_1185.x) * 2376512323u) + (uint(_1185.y) * 3625334849u)) + (uint(_1185.z) * 3407524639u)) + 2654435769u;\n uint _1319 = (_1316 ^ (_1316 >> uint(15))) * 739982445u;\n uint _1322 = (_1319 ^ (_1319 >> uint(12))) * 695872825u;\n ivec3 _1187 = _1177 + ivec3(1, 0, 1);\n uint _1341 = (((uint(_1187.x) * 2376512323u) + (uint(_1187.y) * 3625334849u)) + (uint(_1187.z) * 3407524639u)) + 2654435769u;\n uint _1344 = (_1341 ^ (_1341 >> uint(15))) * 739982445u;\n uint _1347 = (_1344 ^ (_1344 >> uint(12))) * 695872825u;\n ivec3 _1189 = _1177 + ivec3(0, 1, 1);\n uint _1366 = (((uint(_1189.x) * 2376512323u) + (uint(_1189.y) * 3625334849u)) + (uint(_1189.z) * 3407524639u)) + 2654435769u;\n uint _1369 = (_1366 ^ (_1366 >> uint(15))) * 739982445u;\n uint _1372 = (_1369 ^ (_1369 >> uint(12))) * 695872825u;\n ivec3 _1191 = _1177 + ivec3(1);\n uint _1391 = (((uint(_1191.x) * 2376512323u) + (uint(_1191.y) * 3625334849u)) + (uint(_1191.z) * 3407524639u)) + 2654435769u;\n uint _1394 = (_1391 ^ (_1391 >> uint(15))) * 739982445u;\n uint _1397 = (_1394 ^ (_1394 >> uint(12))) * 695872825u;\n highp float _1193 = _1176.x;\n highp float _1198 = _1176.y;\n highp float _1146 = (mix(mix(mix(float((_1222 ^ (_1222 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1247 ^ (_1247 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1193), mix(float((_1272 ^ (_1272 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1297 ^ (_1297 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1193), _1198), mix(mix(float((_1322 ^ (_1322 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1347 ^ (_1347 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1193), mix(float((_1372 ^ (_1372 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1397 ^ (_1397 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1193), _1198), _1176.z) * 2.0) - 1.0;\n _1706 = clamp(_1814 * (1.0 + (_1146 * _1838)), vec3(0.0), vec3(1.0));\n _1707 = _1815;\n _1708 = clamp(_1816 + (_1146 * _1837), 0.0, 1.0);\n _1709 = _1817;\n _1710 = _1818;\n break;\n } while(false);\n _1786 = _1706;\n _1787 = _1707;\n _1788 = _1708;\n _1789 = _1709;\n _1790 = _1710;\n highp vec3 _1407;\n do\n {\n bool _1422;\n if (!_1023)\n {\n _1422 = v5 != 0;\n }\n else\n {\n _1422 = false;\n }\n if (_1422)\n {\n _1407 = (_1706 * (1.0 - globalParams.u_capTint.w)) + (globalParams.u_capTint.xyz * globalParams.u_capTint.w);\n break;\n }\n _1407 = _1706;\n break;\n } while(false);\n _1786 = _1407;\n if (globalParams.u_colorSource == 3)\n {\n entryPointParam_fragmentMain = vec4(_1786, globalParams.u_opacity);\n break;\n }\n bool _1431;\n if (!_1023)\n {\n _1431 = v5 != 0;\n }\n else\n {\n _1431 = false;\n }\n highp vec3 N;\n if (_1431)\n {\n N = normalize((-globalParams.u_clipPlanes.data[max(_1033, 0)].xyz) * mat3(spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[0].xyz, spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[1].xyz, spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[2].xyz));\n }\n else\n {\n N = normalize(v2);\n }\n highp vec3 _1447 = normalize(globalParams.u_viewPosition - v1);\n highp vec3 _1849 = _1786;\n highp float _1850 = _1787;\n highp float _1851 = _1788;\n highp float _1852 = _1789;\n highp vec3 _1853 = _1790;\n highp vec3 _1859 = globalParams.u_environmentSky;\n highp vec3 _1860 = globalParams.u_environmentGround;\n highp vec3 _1861 = globalParams.u_environmentUp;\n int _1448 = 0;\n highp vec3 _1449 = vec3(0.0);\n highp vec3 _1490;\n highp vec3 _1491;\n highp vec3 _1492;\n highp float _1493;\n for (;;)\n {\n if (!(_1448 < 4))\n {\n break;\n }\n if (_1448 < globalParams.u_lightCount)\n {\n do\n {\n bool _1498 = globalParams.u_lightPositions.data[_1448].w == 0.0;\n if (_1498)\n {\n _1491 = globalParams.u_lightPositions.data[_1448].xyz;\n }\n else\n {\n _1491 = globalParams.u_lightPositions.data[_1448].xyz - v1;\n }\n highp float _1507 = dot(_1491, _1491);\n if (_1498)\n {\n _1492 = normalize(globalParams.u_lightPositions.data[_1448].xyz);\n }\n else\n {\n _1492 = _1491 * inversesqrt(_1507);\n }\n if (_1498)\n {\n _1493 = 1.0;\n }\n else\n {\n _1493 = 1.0 / _1507;\n }\n highp float _1523 = dot(N, _1492);\n if (_1523 <= 0.0)\n {\n _1490 = vec3(0.0);\n break;\n }\n highp vec3 _1528 = _1447 + _1492;\n highp float _1529 = dot(_1528, _1528);\n if (_1529 <= 9.9999999600419720025001879548654e-13)\n {\n _1490 = vec3(0.0);\n break;\n }\n highp vec3 _1534 = _1528 * inversesqrt(_1529);\n highp float _1536 = max(dot(N, _1447), 0.0);\n highp float _1538 = max(dot(N, _1534), 0.0);\n highp float _1543 = max(_1851, 0.039999999105930328369140625);\n highp vec3 _1575 = mix(vec3(0.039999999105930328369140625), _1849, vec3(_1850));\n highp float _1578 = _1543 * _1543;\n highp float _1579 = _1578 * _1578;\n highp float _1583 = ((_1538 * _1538) * (_1579 - 1.0)) + 1.0;\n highp float _1594 = _1543 + 1.0;\n highp float _1596 = (_1594 * _1594) * 0.125;\n highp float _1603 = _1543 + 1.0;\n highp float _1605 = (_1603 * _1603) * 0.125;\n highp vec3 _1618 = _1575 + ((vec3(1.0) - _1575) * pow(clamp(1.0 - max(dot(_1534, _1447), 0.0), 0.0, 1.0), 5.0));\n _1490 = ((((clamp((vec3(1.0) - _1618) * (1.0 - _1850), vec3(0.0), vec3(1.0)) * _1849) * vec3(0.3183098733425140380859375)) + ((_1618 * ((_1579 / ((3.1415927410125732421875 * _1583) * _1583)) * ((_1536 / ((_1536 * (1.0 - _1596)) + _1596)) * (_1523 / ((_1523 * (1.0 - _1605)) + _1605))))) / vec3(((4.0 * _1536) * _1523) + 9.9999997473787516355514526367188e-05))) * (globalParams.u_lightColors.data[_1448] * _1493)) * _1523;\n break;\n } while(false);\n _1449 += _1490;\n }\n _1448++;\n continue;\n }\n highp vec3 _1654 = mix(vec3(0.039999999105930328369140625), _1849, vec3(_1850));\n highp vec3 _1665 = _1654 + ((max(vec3(1.0 - max(_1851, 0.039999999105930328369140625)), _1654) - _1654) * pow(clamp(1.0 - max(dot(N, _1447), 0.0), 0.0, 1.0), 5.0));\n highp vec3 _1488 = (((((clamp((vec3(1.0) - _1665) * (1.0 - _1850), vec3(0.0), vec3(1.0)) * mix(_1860, _1859, vec3((dot(N, _1861) * 0.5) + 0.5))) * _1849) + (mix(_1860, _1859, vec3((dot(reflect(-_1447, N), _1861) * 0.5) + 0.5)) * _1665)) * _1852) + _1449) + _1853;\n entryPointParam_fragmentMain = vec4(pow(_1488 / (_1488 + vec3(1.0)), vec3(0.454545438289642333984375)), globalParams.u_opacity);\n break;\n } while(false);\n}\n\n",
461
+ "sha256": "2d06f767d14ef58e15c853e6c0d9c342418025cc0c2509238e080182217e3f67"
462
+ }
463
+ }
464
+ }
465
+ }
466
+ }