@vcollab/shader-artifacts 1.0.0 → 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.
- package/CHANGELOG.md +26 -0
- package/README.md +2 -2
- package/dist/generated/set.d.ts +4 -4
- package/dist/index.cjs +5 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/set/SHA256SUMS +163 -163
- package/set/pipelines/category.capped.json +125 -43
- package/set/pipelines/category.json +123 -41
- package/set/pipelines/deform3.category.capped.json +125 -43
- package/set/pipelines/deform3.category.json +123 -41
- package/set/pipelines/deform3.dof6.capped.json +132 -50
- package/set/pipelines/deform3.dof6.json +130 -48
- package/set/pipelines/deform3.pick.capped.json +69 -18
- package/set/pipelines/deform3.pick.json +69 -18
- package/set/pipelines/deform3.scalar.capped.json +133 -51
- package/set/pipelines/deform3.scalar.json +131 -49
- package/set/pipelines/deform3.surface.capped.json +121 -39
- package/set/pipelines/deform3.surface.json +119 -37
- package/set/pipelines/deform3.symtensor.capped.json +133 -51
- package/set/pipelines/deform3.symtensor.json +131 -49
- package/set/pipelines/deform3.textured-normal.capped.json +93 -42
- package/set/pipelines/deform3.textured-normal.json +91 -40
- package/set/pipelines/deform3.textured.capped.json +91 -40
- package/set/pipelines/deform3.textured.json +89 -38
- package/set/pipelines/deform3.vector.capped.json +132 -50
- package/set/pipelines/deform3.vector.json +130 -48
- package/set/pipelines/deform6.category.capped.json +125 -43
- package/set/pipelines/deform6.category.json +123 -41
- package/set/pipelines/deform6.dof6.capped.json +132 -50
- package/set/pipelines/deform6.dof6.json +130 -48
- package/set/pipelines/deform6.pick.capped.json +69 -18
- package/set/pipelines/deform6.pick.json +69 -18
- package/set/pipelines/deform6.scalar.capped.json +133 -51
- package/set/pipelines/deform6.scalar.json +131 -49
- package/set/pipelines/deform6.surface.capped.json +121 -39
- package/set/pipelines/deform6.surface.json +119 -37
- package/set/pipelines/deform6.symtensor.capped.json +133 -51
- package/set/pipelines/deform6.symtensor.json +131 -49
- package/set/pipelines/deform6.textured-normal.capped.json +93 -42
- package/set/pipelines/deform6.textured-normal.json +91 -40
- package/set/pipelines/deform6.textured.capped.json +91 -40
- package/set/pipelines/deform6.textured.json +89 -38
- package/set/pipelines/deform6.vector.capped.json +132 -50
- package/set/pipelines/deform6.vector.json +130 -48
- package/set/pipelines/dof6.capped.json +132 -50
- package/set/pipelines/dof6.json +130 -48
- package/set/pipelines/pick.capped.json +69 -18
- package/set/pipelines/pick.json +69 -18
- package/set/pipelines/scalar.capped.json +133 -51
- package/set/pipelines/scalar.json +131 -49
- package/set/pipelines/surface.capped.json +121 -39
- package/set/pipelines/surface.json +119 -37
- package/set/pipelines/symtensor.capped.json +133 -51
- package/set/pipelines/symtensor.json +131 -49
- package/set/pipelines/textured-normal.capped.json +93 -42
- package/set/pipelines/textured-normal.json +91 -40
- package/set/pipelines/textured.capped.json +91 -40
- package/set/pipelines/textured.json +89 -38
- package/set/pipelines/vector.capped.json +132 -50
- package/set/pipelines/vector.json +130 -48
- package/set/registry.json +147 -55
- package/set/shaders/category.capped.fragment.glsl +6 -0
- package/set/shaders/category.capped.vertex.glsl +55 -45
- package/set/shaders/category.fragment.glsl +12 -6
- package/set/shaders/category.vertex.glsl +48 -38
- package/set/shaders/deform3.category.capped.fragment.glsl +6 -0
- package/set/shaders/deform3.category.capped.vertex.glsl +56 -46
- package/set/shaders/deform3.category.fragment.glsl +12 -6
- package/set/shaders/deform3.category.vertex.glsl +49 -39
- package/set/shaders/deform3.dof6.capped.fragment.glsl +6 -0
- package/set/shaders/deform3.dof6.capped.vertex.glsl +57 -47
- package/set/shaders/deform3.dof6.fragment.glsl +6 -0
- package/set/shaders/deform3.dof6.vertex.glsl +50 -40
- package/set/shaders/deform3.pick.capped.fragment.glsl +26 -21
- package/set/shaders/deform3.pick.capped.vertex.glsl +47 -37
- package/set/shaders/deform3.pick.fragment.glsl +20 -15
- package/set/shaders/deform3.pick.vertex.glsl +38 -28
- package/set/shaders/deform3.scalar.capped.fragment.glsl +6 -0
- package/set/shaders/deform3.scalar.capped.vertex.glsl +56 -46
- package/set/shaders/deform3.scalar.fragment.glsl +6 -0
- package/set/shaders/deform3.scalar.vertex.glsl +49 -39
- package/set/shaders/deform3.surface.capped.fragment.glsl +6 -0
- package/set/shaders/deform3.surface.capped.vertex.glsl +55 -45
- package/set/shaders/deform3.surface.fragment.glsl +12 -6
- package/set/shaders/deform3.surface.vertex.glsl +48 -38
- package/set/shaders/deform3.symtensor.capped.fragment.glsl +6 -0
- package/set/shaders/deform3.symtensor.capped.vertex.glsl +57 -47
- package/set/shaders/deform3.symtensor.fragment.glsl +6 -0
- package/set/shaders/deform3.symtensor.vertex.glsl +50 -40
- package/set/shaders/deform3.textured-normal.capped.fragment.glsl +4 -0
- package/set/shaders/deform3.textured-normal.capped.vertex.glsl +65 -57
- package/set/shaders/deform3.textured-normal.fragment.glsl +4 -0
- package/set/shaders/deform3.textured-normal.vertex.glsl +58 -50
- package/set/shaders/deform3.textured.capped.fragment.glsl +4 -0
- package/set/shaders/deform3.textured.capped.vertex.glsl +51 -44
- package/set/shaders/deform3.textured.fragment.glsl +10 -6
- package/set/shaders/deform3.textured.vertex.glsl +44 -37
- package/set/shaders/deform3.vector.capped.fragment.glsl +6 -0
- package/set/shaders/deform3.vector.capped.vertex.glsl +56 -46
- package/set/shaders/deform3.vector.fragment.glsl +6 -0
- package/set/shaders/deform3.vector.vertex.glsl +49 -39
- package/set/shaders/deform6.category.capped.fragment.glsl +6 -0
- package/set/shaders/deform6.category.capped.vertex.glsl +64 -54
- package/set/shaders/deform6.category.fragment.glsl +12 -6
- package/set/shaders/deform6.category.vertex.glsl +57 -47
- package/set/shaders/deform6.dof6.capped.fragment.glsl +6 -0
- package/set/shaders/deform6.dof6.capped.vertex.glsl +65 -55
- package/set/shaders/deform6.dof6.fragment.glsl +6 -0
- package/set/shaders/deform6.dof6.vertex.glsl +58 -48
- package/set/shaders/deform6.pick.capped.fragment.glsl +26 -21
- package/set/shaders/deform6.pick.capped.vertex.glsl +55 -45
- package/set/shaders/deform6.pick.fragment.glsl +20 -15
- package/set/shaders/deform6.pick.vertex.glsl +46 -36
- package/set/shaders/deform6.scalar.capped.fragment.glsl +6 -0
- package/set/shaders/deform6.scalar.capped.vertex.glsl +64 -54
- package/set/shaders/deform6.scalar.fragment.glsl +6 -0
- package/set/shaders/deform6.scalar.vertex.glsl +57 -47
- package/set/shaders/deform6.surface.capped.fragment.glsl +6 -0
- package/set/shaders/deform6.surface.capped.vertex.glsl +63 -53
- package/set/shaders/deform6.surface.fragment.glsl +12 -6
- package/set/shaders/deform6.surface.vertex.glsl +56 -46
- package/set/shaders/deform6.symtensor.capped.fragment.glsl +6 -0
- package/set/shaders/deform6.symtensor.capped.vertex.glsl +65 -55
- package/set/shaders/deform6.symtensor.fragment.glsl +6 -0
- package/set/shaders/deform6.symtensor.vertex.glsl +58 -48
- package/set/shaders/deform6.textured-normal.capped.fragment.glsl +4 -0
- package/set/shaders/deform6.textured-normal.capped.vertex.glsl +73 -65
- package/set/shaders/deform6.textured-normal.fragment.glsl +4 -0
- package/set/shaders/deform6.textured-normal.vertex.glsl +66 -58
- package/set/shaders/deform6.textured.capped.fragment.glsl +4 -0
- package/set/shaders/deform6.textured.capped.vertex.glsl +59 -52
- package/set/shaders/deform6.textured.fragment.glsl +10 -6
- package/set/shaders/deform6.textured.vertex.glsl +52 -45
- package/set/shaders/deform6.vector.capped.fragment.glsl +6 -0
- package/set/shaders/deform6.vector.capped.vertex.glsl +64 -54
- package/set/shaders/deform6.vector.fragment.glsl +6 -0
- package/set/shaders/deform6.vector.vertex.glsl +57 -47
- package/set/shaders/dof6.capped.fragment.glsl +6 -0
- package/set/shaders/dof6.capped.vertex.glsl +56 -46
- package/set/shaders/dof6.fragment.glsl +6 -0
- package/set/shaders/dof6.vertex.glsl +49 -39
- package/set/shaders/pick.capped.fragment.glsl +26 -21
- package/set/shaders/pick.capped.vertex.glsl +46 -36
- package/set/shaders/pick.fragment.glsl +20 -15
- package/set/shaders/pick.vertex.glsl +37 -27
- package/set/shaders/scalar.capped.fragment.glsl +6 -0
- package/set/shaders/scalar.capped.vertex.glsl +55 -45
- package/set/shaders/scalar.fragment.glsl +6 -0
- package/set/shaders/scalar.vertex.glsl +48 -38
- package/set/shaders/surface.capped.fragment.glsl +6 -0
- package/set/shaders/surface.capped.vertex.glsl +54 -44
- package/set/shaders/surface.fragment.glsl +12 -6
- package/set/shaders/surface.vertex.glsl +47 -37
- package/set/shaders/symtensor.capped.fragment.glsl +6 -0
- package/set/shaders/symtensor.capped.vertex.glsl +56 -46
- package/set/shaders/symtensor.fragment.glsl +6 -0
- package/set/shaders/symtensor.vertex.glsl +49 -39
- package/set/shaders/textured-normal.capped.fragment.glsl +4 -0
- package/set/shaders/textured-normal.capped.vertex.glsl +64 -56
- package/set/shaders/textured-normal.fragment.glsl +4 -0
- package/set/shaders/textured-normal.vertex.glsl +57 -49
- package/set/shaders/textured.capped.fragment.glsl +4 -0
- package/set/shaders/textured.capped.vertex.glsl +50 -43
- package/set/shaders/textured.fragment.glsl +10 -6
- package/set/shaders/textured.vertex.glsl +43 -36
- package/set/shaders/vector.capped.fragment.glsl +6 -0
- package/set/shaders/vector.capped.vertex.glsl +55 -45
- package/set/shaders/vector.fragment.glsl +6 -0
- package/set/shaders/vector.vertex.glsl +48 -38
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"schemaVersion": 3,
|
|
3
3
|
"generator": {
|
|
4
4
|
"name": "vcti-shader-foundry",
|
|
5
|
-
"version": "
|
|
5
|
+
"version": "9.0.0",
|
|
6
6
|
"toolchain": {
|
|
7
7
|
"slangc": "2026.12.0.1",
|
|
8
8
|
"spirvCross": "vulkan-sdk-1.4.357.0",
|
|
@@ -22,6 +22,7 @@
|
|
|
22
22
|
"mask-lut-r8ui",
|
|
23
23
|
"transform",
|
|
24
24
|
"transform-lut-r32ui",
|
|
25
|
+
"transform-map-r16ui",
|
|
25
26
|
"clip"
|
|
26
27
|
],
|
|
27
28
|
"inputs": [
|
|
@@ -41,14 +42,9 @@
|
|
|
41
42
|
"semantic": "rotation"
|
|
42
43
|
},
|
|
43
44
|
{
|
|
44
|
-
"name": "
|
|
45
|
+
"name": "a_atomId",
|
|
45
46
|
"type": "int",
|
|
46
|
-
"semantic": "
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
"name": "a_componentId",
|
|
50
|
-
"type": "int",
|
|
51
|
-
"semantic": "component-id"
|
|
47
|
+
"semantic": "atom-id"
|
|
52
48
|
},
|
|
53
49
|
{
|
|
54
50
|
"name": "a_normal",
|
|
@@ -92,6 +88,10 @@
|
|
|
92
88
|
"name": "u_maskLutWidth",
|
|
93
89
|
"type": "int"
|
|
94
90
|
},
|
|
91
|
+
{
|
|
92
|
+
"name": "u_maskLutBase",
|
|
93
|
+
"type": "int"
|
|
94
|
+
},
|
|
95
95
|
{
|
|
96
96
|
"name": "u_transformLutWidth",
|
|
97
97
|
"type": "int"
|
|
@@ -100,6 +100,18 @@
|
|
|
100
100
|
"name": "u_transformLutStride",
|
|
101
101
|
"type": "int"
|
|
102
102
|
},
|
|
103
|
+
{
|
|
104
|
+
"name": "u_transformLutBase",
|
|
105
|
+
"type": "int"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "u_transformMapWidth",
|
|
109
|
+
"type": "int"
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "u_transformMapBase",
|
|
113
|
+
"type": "int"
|
|
114
|
+
},
|
|
103
115
|
{
|
|
104
116
|
"name": "u_clipPlanes",
|
|
105
117
|
"type": "vec4[6]"
|
|
@@ -212,6 +224,12 @@
|
|
|
212
224
|
"type": "Texture2D<uint4>",
|
|
213
225
|
"format": "r32ui",
|
|
214
226
|
"semantic": "transform"
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "u_transformMap",
|
|
230
|
+
"type": "Texture2D<uint4>",
|
|
231
|
+
"format": "r16ui",
|
|
232
|
+
"semantic": "transform-map"
|
|
215
233
|
}
|
|
216
234
|
],
|
|
217
235
|
"textures": [
|
|
@@ -295,10 +313,10 @@
|
|
|
295
313
|
}
|
|
296
314
|
]
|
|
297
315
|
},
|
|
298
|
-
"contractSha256": "
|
|
316
|
+
"contractSha256": "9df3330adae5f8d474cb4b834e414de840e5f600e3b13a174c4892a89009820c",
|
|
299
317
|
"languages": {
|
|
300
318
|
"glsl": {
|
|
301
|
-
"blockSize":
|
|
319
|
+
"blockSize": 608,
|
|
302
320
|
"layout": {
|
|
303
321
|
"u_mvpMatrix": {
|
|
304
322
|
"offset": 0,
|
|
@@ -332,146 +350,170 @@
|
|
|
332
350
|
"elementStride": 0,
|
|
333
351
|
"encoding": "int"
|
|
334
352
|
},
|
|
335
|
-
"
|
|
353
|
+
"u_maskLutBase": {
|
|
336
354
|
"offset": 160,
|
|
337
355
|
"size": 4,
|
|
338
356
|
"elementStride": 0,
|
|
339
357
|
"encoding": "int"
|
|
340
358
|
},
|
|
341
|
-
"
|
|
359
|
+
"u_transformLutWidth": {
|
|
342
360
|
"offset": 164,
|
|
343
361
|
"size": 4,
|
|
344
362
|
"elementStride": 0,
|
|
345
363
|
"encoding": "int"
|
|
346
364
|
},
|
|
347
|
-
"
|
|
365
|
+
"u_transformLutStride": {
|
|
366
|
+
"offset": 168,
|
|
367
|
+
"size": 4,
|
|
368
|
+
"elementStride": 0,
|
|
369
|
+
"encoding": "int"
|
|
370
|
+
},
|
|
371
|
+
"u_transformLutBase": {
|
|
372
|
+
"offset": 172,
|
|
373
|
+
"size": 4,
|
|
374
|
+
"elementStride": 0,
|
|
375
|
+
"encoding": "int"
|
|
376
|
+
},
|
|
377
|
+
"u_transformMapWidth": {
|
|
348
378
|
"offset": 176,
|
|
379
|
+
"size": 4,
|
|
380
|
+
"elementStride": 0,
|
|
381
|
+
"encoding": "int"
|
|
382
|
+
},
|
|
383
|
+
"u_transformMapBase": {
|
|
384
|
+
"offset": 180,
|
|
385
|
+
"size": 4,
|
|
386
|
+
"elementStride": 0,
|
|
387
|
+
"encoding": "int"
|
|
388
|
+
},
|
|
389
|
+
"u_clipPlanes": {
|
|
390
|
+
"offset": 192,
|
|
349
391
|
"size": 96,
|
|
350
392
|
"elementStride": 16,
|
|
351
393
|
"encoding": "vec4[]"
|
|
352
394
|
},
|
|
353
395
|
"u_clipPlaneCount": {
|
|
354
|
-
"offset":
|
|
396
|
+
"offset": 288,
|
|
355
397
|
"size": 4,
|
|
356
398
|
"elementStride": 0,
|
|
357
399
|
"encoding": "int"
|
|
358
400
|
},
|
|
359
401
|
"u_materialBaseColor": {
|
|
360
|
-
"offset":
|
|
402
|
+
"offset": 304,
|
|
361
403
|
"size": 12,
|
|
362
404
|
"elementStride": 4,
|
|
363
405
|
"encoding": "vec3"
|
|
364
406
|
},
|
|
365
407
|
"u_materialMetallic": {
|
|
366
|
-
"offset":
|
|
408
|
+
"offset": 316,
|
|
367
409
|
"size": 4,
|
|
368
410
|
"elementStride": 0,
|
|
369
411
|
"encoding": "float"
|
|
370
412
|
},
|
|
371
413
|
"u_materialRoughness": {
|
|
372
|
-
"offset":
|
|
414
|
+
"offset": 320,
|
|
373
415
|
"size": 4,
|
|
374
416
|
"elementStride": 0,
|
|
375
417
|
"encoding": "float"
|
|
376
418
|
},
|
|
377
419
|
"u_materialOcclusion": {
|
|
378
|
-
"offset":
|
|
420
|
+
"offset": 324,
|
|
379
421
|
"size": 4,
|
|
380
422
|
"elementStride": 0,
|
|
381
423
|
"encoding": "float"
|
|
382
424
|
},
|
|
383
425
|
"u_materialEmissive": {
|
|
384
|
-
"offset":
|
|
426
|
+
"offset": 336,
|
|
385
427
|
"size": 12,
|
|
386
428
|
"elementStride": 4,
|
|
387
429
|
"encoding": "vec3"
|
|
388
430
|
},
|
|
389
431
|
"u_materialNormalScale": {
|
|
390
|
-
"offset":
|
|
432
|
+
"offset": 348,
|
|
391
433
|
"size": 4,
|
|
392
434
|
"elementStride": 0,
|
|
393
435
|
"encoding": "float"
|
|
394
436
|
},
|
|
395
437
|
"u_viewPosition": {
|
|
396
|
-
"offset":
|
|
438
|
+
"offset": 352,
|
|
397
439
|
"size": 12,
|
|
398
440
|
"elementStride": 4,
|
|
399
441
|
"encoding": "vec3"
|
|
400
442
|
},
|
|
401
443
|
"u_environmentSky": {
|
|
402
|
-
"offset":
|
|
444
|
+
"offset": 368,
|
|
403
445
|
"size": 12,
|
|
404
446
|
"elementStride": 4,
|
|
405
447
|
"encoding": "vec3"
|
|
406
448
|
},
|
|
407
449
|
"u_environmentGround": {
|
|
408
|
-
"offset":
|
|
450
|
+
"offset": 384,
|
|
409
451
|
"size": 12,
|
|
410
452
|
"elementStride": 4,
|
|
411
453
|
"encoding": "vec3"
|
|
412
454
|
},
|
|
413
455
|
"u_environmentUp": {
|
|
414
|
-
"offset":
|
|
456
|
+
"offset": 400,
|
|
415
457
|
"size": 12,
|
|
416
458
|
"elementStride": 4,
|
|
417
459
|
"encoding": "vec3"
|
|
418
460
|
},
|
|
419
461
|
"u_lightPositions": {
|
|
420
|
-
"offset":
|
|
462
|
+
"offset": 416,
|
|
421
463
|
"size": 64,
|
|
422
464
|
"elementStride": 16,
|
|
423
465
|
"encoding": "vec4[]"
|
|
424
466
|
},
|
|
425
467
|
"u_lightColors": {
|
|
426
|
-
"offset":
|
|
468
|
+
"offset": 480,
|
|
427
469
|
"size": 64,
|
|
428
470
|
"elementStride": 16,
|
|
429
471
|
"encoding": "vec3[]"
|
|
430
472
|
},
|
|
431
473
|
"u_lightCount": {
|
|
432
|
-
"offset":
|
|
474
|
+
"offset": 544,
|
|
433
475
|
"size": 4,
|
|
434
476
|
"elementStride": 0,
|
|
435
477
|
"encoding": "int"
|
|
436
478
|
},
|
|
437
479
|
"u_surfaceFinishScale": {
|
|
438
|
-
"offset":
|
|
480
|
+
"offset": 548,
|
|
439
481
|
"size": 4,
|
|
440
482
|
"elementStride": 0,
|
|
441
483
|
"encoding": "float"
|
|
442
484
|
},
|
|
443
485
|
"u_surfaceFinishRoughness": {
|
|
444
|
-
"offset":
|
|
486
|
+
"offset": 552,
|
|
445
487
|
"size": 4,
|
|
446
488
|
"elementStride": 0,
|
|
447
489
|
"encoding": "float"
|
|
448
490
|
},
|
|
449
491
|
"u_surfaceFinishColor": {
|
|
450
|
-
"offset":
|
|
492
|
+
"offset": 556,
|
|
451
493
|
"size": 4,
|
|
452
494
|
"elementStride": 0,
|
|
453
495
|
"encoding": "float"
|
|
454
496
|
},
|
|
455
497
|
"u_colorSource": {
|
|
456
|
-
"offset":
|
|
498
|
+
"offset": 560,
|
|
457
499
|
"size": 4,
|
|
458
500
|
"elementStride": 0,
|
|
459
501
|
"encoding": "int"
|
|
460
502
|
},
|
|
461
503
|
"u_opacity": {
|
|
462
|
-
"offset":
|
|
504
|
+
"offset": 564,
|
|
463
505
|
"size": 4,
|
|
464
506
|
"elementStride": 0,
|
|
465
507
|
"encoding": "float"
|
|
466
508
|
},
|
|
467
509
|
"u_capTint": {
|
|
468
|
-
"offset":
|
|
510
|
+
"offset": 576,
|
|
469
511
|
"size": 16,
|
|
470
512
|
"elementStride": 4,
|
|
471
513
|
"encoding": "vec4"
|
|
472
514
|
},
|
|
473
515
|
"u_modelEyePosition": {
|
|
474
|
-
"offset":
|
|
516
|
+
"offset": 592,
|
|
475
517
|
"size": 12,
|
|
476
518
|
"elementStride": 4,
|
|
477
519
|
"encoding": "vec3"
|
|
@@ -496,6 +538,15 @@
|
|
|
496
538
|
"stage": "vertex",
|
|
497
539
|
"unit": 1
|
|
498
540
|
},
|
|
541
|
+
{
|
|
542
|
+
"semantic": "transform-map",
|
|
543
|
+
"texture": "u_transformMap",
|
|
544
|
+
"sampler": null,
|
|
545
|
+
"uniform": "SPIRV_Cross_Combinedu_transformMapSPIRV_Cross_DummySampler",
|
|
546
|
+
"component": "uint",
|
|
547
|
+
"stage": "vertex",
|
|
548
|
+
"unit": 2
|
|
549
|
+
},
|
|
499
550
|
{
|
|
500
551
|
"semantic": "base-color",
|
|
501
552
|
"texture": "u_materialBaseColorMap",
|
|
@@ -503,7 +554,7 @@
|
|
|
503
554
|
"uniform": "SPIRV_Cross_Combinedu_materialBaseColorMapu_materialSampler",
|
|
504
555
|
"component": "float",
|
|
505
556
|
"stage": "fragment",
|
|
506
|
-
"unit":
|
|
557
|
+
"unit": 3
|
|
507
558
|
},
|
|
508
559
|
{
|
|
509
560
|
"semantic": "emissive",
|
|
@@ -512,7 +563,7 @@
|
|
|
512
563
|
"uniform": "SPIRV_Cross_Combinedu_materialEmissiveMapu_materialSampler",
|
|
513
564
|
"component": "float",
|
|
514
565
|
"stage": "fragment",
|
|
515
|
-
"unit":
|
|
566
|
+
"unit": 4
|
|
516
567
|
},
|
|
517
568
|
{
|
|
518
569
|
"semantic": "normal",
|
|
@@ -521,7 +572,7 @@
|
|
|
521
572
|
"uniform": "SPIRV_Cross_Combinedu_materialNormalMapu_materialSampler",
|
|
522
573
|
"component": "float",
|
|
523
574
|
"stage": "fragment",
|
|
524
|
-
"unit":
|
|
575
|
+
"unit": 5
|
|
525
576
|
},
|
|
526
577
|
{
|
|
527
578
|
"semantic": "occlusion-roughness-metallic",
|
|
@@ -530,17 +581,17 @@
|
|
|
530
581
|
"uniform": "SPIRV_Cross_Combinedu_materialPackedMapu_materialSampler",
|
|
531
582
|
"component": "float",
|
|
532
583
|
"stage": "fragment",
|
|
533
|
-
"unit":
|
|
584
|
+
"unit": 6
|
|
534
585
|
}
|
|
535
586
|
],
|
|
536
587
|
"stages": {
|
|
537
588
|
"vertex": {
|
|
538
|
-
"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_transformLutWidth;\n int u_transformLutStride;\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 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_transformLutSPIRV_Cross_DummySampler;\n\nlayout(location = 3) in int
|
|
539
|
-
"sha256": "
|
|
589
|
+
"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 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;\n\nlayout(location = 3) in int a_atomId;\nout vec3 v0;\nout vec3 v1;\nout vec3 v2;\nout vec3 v3;\nout vec2 v4;\nout vec4 v5;\nflat out int v6;\nflat out int v7;\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 vec2 a_uv;\nlayout(location = 6) in vec4 a_tangent;\nlayout(location = 7) 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 _522 = globalParams.u_maskLutBase + a_atomId;\n if (!(texelFetch(SPIRV_Cross_Combinedu_maskLutSPIRV_Cross_DummySampler, ivec2(_522 - globalParams.u_maskLutWidth * (_522 / globalParams.u_maskLutWidth), _522 / 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 v6 = 0;\n v7 = 0;\n break;\n }\n vec3 _555 = a_position - globalParams.u_deformRotationCenter;\n float _556 = length(a_rotation);\n vec3 _552;\n if (_556 > 9.9999999392252902907785028219223e-09)\n {\n vec3 _560 = a_rotation / vec3(_556);\n float _561 = cos(_556);\n _552 = ((_555 * _561) + (cross(_560, _555) * sin(_556))) + ((_560 * dot(_560, _555)) * (1.0 - _561));\n }\n else\n {\n _552 = _555;\n }\n vec3 _577 = (globalParams.u_deformRotationCenter + _552) + (globalParams.u_deformScale * a_deformation);\n vec4 _578 = a_tangent;\n int _707 = globalParams.u_transformMapBase + a_atomId;\n int _715 = int(texelFetch(SPIRV_Cross_Combinedu_transformMapSPIRV_Cross_DummySampler, ivec2(_707 - globalParams.u_transformMapWidth * (_707 / globalParams.u_transformMapWidth), _707 / globalParams.u_transformMapWidth), 0).x);\n int _719 = (globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride;\n int _579;\n vec3 _580;\n vec3 _581;\n if (texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_719 - globalParams.u_transformLutWidth * (_719 / globalParams.u_transformLutWidth), _719 / globalParams.u_transformLutWidth), 0).x != 0u)\n {\n int _735 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 1;\n int _747 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 2;\n int _759 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 3;\n int _777 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 4;\n int _789 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 5;\n int _801 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 6;\n int _813 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 7;\n vec4 _827 = vec4(uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_777 - globalParams.u_transformLutWidth * (_777 / globalParams.u_transformLutWidth), _777 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_789 - globalParams.u_transformLutWidth * (_789 / globalParams.u_transformLutWidth), _789 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_801 - globalParams.u_transformLutWidth * (_801 / globalParams.u_transformLutWidth), _801 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_813 - globalParams.u_transformLutWidth * (_813 / globalParams.u_transformLutWidth), _813 / globalParams.u_transformLutWidth), 0).x));\n int _832 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 8;\n int _844 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 9;\n int _856 = ((globalParams.u_transformLutBase + _715) * globalParams.u_transformLutStride) + 10;\n vec3 _869 = vec3(uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_832 - globalParams.u_transformLutWidth * (_832 / globalParams.u_transformLutWidth), _832 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_844 - globalParams.u_transformLutWidth * (_844 / globalParams.u_transformLutWidth), _844 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_856 - globalParams.u_transformLutWidth * (_856 / globalParams.u_transformLutWidth), _856 / globalParams.u_transformLutWidth), 0).x));\n vec3 _872 = _869 * _577;\n vec3 _877 = _827.xyz;\n vec3 _879 = cross(_877, _872) * 2.0;\n vec3 _887 = a_normal / _869;\n vec3 _892 = _827.xyz;\n vec3 _894 = cross(_892, _887) * 2.0;\n if (((_869.x * _869.y) * _869.z) < 0.0)\n {\n _579 = 1;\n }\n else\n {\n _579 = 0;\n }\n vec4 _653 = _578;\n vec3 _655 = _869 * _653.xyz;\n vec3 _902 = _827.xyz;\n vec3 _904 = cross(_902, _655) * 2.0;\n vec3 _657 = normalize((_655 + (_904 * _827.w)) + cross(_902, _904));\n vec4 _1008 = _653;\n _1008.x = _657.x;\n _1008.y = _657.y;\n _1008.z = _657.z;\n _578 = _1008;\n _580 = ((_872 + (_879 * _827.w)) + cross(_877, _879)) + vec3(uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_735 - globalParams.u_transformLutWidth * (_735 / globalParams.u_transformLutWidth), _735 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_747 - globalParams.u_transformLutWidth * (_747 / globalParams.u_transformLutWidth), _747 / globalParams.u_transformLutWidth), 0).x), uintBitsToFloat(texelFetch(SPIRV_Cross_Combinedu_transformLutSPIRV_Cross_DummySampler, ivec2(_759 - globalParams.u_transformLutWidth * (_759 / globalParams.u_transformLutWidth), _759 / globalParams.u_transformLutWidth), 0).x));\n _581 = normalize((_887 + (_894 * _827.w)) + cross(_892, _894));\n }\n else\n {\n _580 = _577;\n _581 = a_normal;\n _579 = 0;\n }\n mat3 _676 = mat3(spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[0].xyz, spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[1].xyz, spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)[2].xyz);\n vec4 _679 = vec4(_580, 1.0);\n gl_Position = _679 * spvWorkaroundRowMajor(globalParams.u_mvpMatrix);\n v0 = _580;\n v1 = (_679 * spvWorkaroundRowMajor(globalParams.u_modelViewMatrix)).xyz;\n v2 = _581 * _676;\n v3 = a_position;\n v4 = a_uv;\n v5 = vec4(_578.xyz * _676, _578.w);\n v6 = a_capEnabled;\n v7 = _579;\n break;\n } while(false);\n}\n\n",
|
|
590
|
+
"sha256": "965037a36d088bc5a271f8a2c157424f813546eedc1826a002719fbfc866bf8b"
|
|
540
591
|
},
|
|
541
592
|
"fragment": {
|
|
542
|
-
"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_transformLutWidth;\n int u_transformLutStride;\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 highp vec4 u_capTint;\n highp vec3 u_modelEyePosition;\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;\nflat in int v7;\nflat in int v6;\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\nhighp mat4 spvWorkaroundRowMajor(highp mat4 wrap) { return wrap; }\nmediump mat4 spvWorkaroundRowMajorMP(mediump mat4 wrap) { return wrap; }\n\nvoid main()\n{\n bool _1060 = false;\n do\n {\n _1060 = false;\n bool _1061;\n do\n {\n int _1062 = 0;\n for (;;)\n {\n if (!(_1062 < 6))\n {\n break;\n }\n if (_1062 >= globalParams.u_clipPlaneCount)\n {\n break;\n }\n if ((dot(globalParams.u_clipPlanes.data[_1062].xyz, v0) + globalParams.u_clipPlanes.data[_1062].w) < 0.0)\n {\n _1060 = true;\n _1061 = false;\n break;\n }\n _1062++;\n continue;\n }\n if (_1060)\n {\n break;\n }\n _1060 = true;\n _1061 = true;\n break;\n } while(false);\n if (!_1061)\n {\n discard;\n }\n bool _1106 = gl_FrontFacing != (v7 != 0);\n bool _1107;\n if (!_1106)\n {\n _1107 = v6 == 0;\n }\n else\n {\n _1107 = false;\n }\n if (_1107)\n {\n discard;\n }\n highp vec3 _172 = v0 - globalParams.u_modelEyePosition;\n int _1116 = -1;\n highp float _1118 = 0.0;\n int _1117 = 0;\n bool _1119;\n int _1120;\n highp float _1121;\n for (;;)\n {\n bool _1127_ladder_break = false;\n do\n {\n if (!(_1117 < 6))\n {\n _1127_ladder_break = true;\n break;\n }\n if (_1117 >= globalParams.u_clipPlaneCount)\n {\n _1127_ladder_break = true;\n break;\n }\n highp float _1142 = dot(globalParams.u_clipPlanes.data[_1117].xyz, _172);\n if (_1142 <= 0.0)\n {\n break;\n }\n highp float _1148 = (-(dot(globalParams.u_clipPlanes.data[_1117].xyz, globalParams.u_modelEyePosition) + globalParams.u_clipPlanes.data[_1117].w)) / _1142;\n if (_1116 < 0)\n {\n _1119 = true;\n }\n else\n {\n _1119 = _1148 > _1118;\n }\n if (_1119)\n {\n _1120 = _1117;\n _1121 = _1148;\n }\n else\n {\n _1120 = _1116;\n _1121 = _1118;\n }\n _1116 = _1120;\n _1118 = _1121;\n break;\n } while(false);\n if (_1127_ladder_break)\n {\n break;\n }\n _1117++;\n continue;\n }\n bool _7;\n if (_1116 < 0)\n {\n bool _1178;\n if (!_1106)\n {\n _1178 = v6 != 0;\n }\n else\n {\n _1178 = false;\n }\n _7 = _1178;\n }\n else\n {\n _7 = false;\n }\n if (_7)\n {\n discard;\n }\n highp vec4 _1196 = texture(SPIRV_Cross_Combinedu_materialPackedMapu_materialSampler, v4);\n highp vec3 _1204 = globalParams.u_materialBaseColor * texture(SPIRV_Cross_Combinedu_materialBaseColorMapu_materialSampler, v4).xyz;\n highp float _1207 = globalParams.u_materialOcclusion * _1196.x;\n highp float _1210 = globalParams.u_materialRoughness * _1196.y;\n highp float _1213 = globalParams.u_materialMetallic * _1196.z;\n highp vec3 _1216 = globalParams.u_materialEmissive * texture(SPIRV_Cross_Combinedu_materialEmissiveMapu_materialSampler, v4).xyz;\n highp vec3 _1906 = _1204;\n highp float _1907 = _1213;\n highp float _1908 = _1210;\n highp float _1909 = _1207;\n highp vec3 _1910 = _1216;\n highp vec3 _1934 = _1204;\n highp float _1935 = _1213;\n highp float _1936 = _1210;\n highp float _1937 = _1207;\n highp vec3 _1938 = _1216;\n highp float _1956 = globalParams.u_surfaceFinishScale;\n highp float _1957 = globalParams.u_surfaceFinishRoughness;\n highp float _1958 = globalParams.u_surfaceFinishColor;\n highp vec3 _1826;\n highp float _1827;\n highp float _1828;\n highp float _1829;\n highp vec3 _1830;\n do\n {\n if (_1956 <= 0.0)\n {\n _1826 = _1934;\n _1827 = _1935;\n _1828 = _1936;\n _1829 = _1937;\n _1830 = _1938;\n break;\n }\n highp vec3 _1231 = v3 / vec3(_1956);\n highp vec3 _1258 = floor(_1231);\n highp vec3 _1259 = _1231 - _1258;\n highp vec3 _1264 = (_1259 * _1259) * (vec3(3.0) - (_1259 * 2.0));\n ivec3 _1265 = ivec3(_1258);\n uint _1304 = (((uint(_1265.x) * 2376512323u) + (uint(_1265.y) * 3625334849u)) + (uint(_1265.z) * 3407524639u)) + 2654435769u;\n uint _1307 = (_1304 ^ (_1304 >> uint(15))) * 739982445u;\n uint _1310 = (_1307 ^ (_1307 >> uint(12))) * 695872825u;\n ivec3 _1267 = _1265 + ivec3(1, 0, 0);\n uint _1329 = (((uint(_1267.x) * 2376512323u) + (uint(_1267.y) * 3625334849u)) + (uint(_1267.z) * 3407524639u)) + 2654435769u;\n uint _1332 = (_1329 ^ (_1329 >> uint(15))) * 739982445u;\n uint _1335 = (_1332 ^ (_1332 >> uint(12))) * 695872825u;\n ivec3 _1269 = _1265 + ivec3(0, 1, 0);\n uint _1354 = (((uint(_1269.x) * 2376512323u) + (uint(_1269.y) * 3625334849u)) + (uint(_1269.z) * 3407524639u)) + 2654435769u;\n uint _1357 = (_1354 ^ (_1354 >> uint(15))) * 739982445u;\n uint _1360 = (_1357 ^ (_1357 >> uint(12))) * 695872825u;\n ivec3 _1271 = _1265 + ivec3(1, 1, 0);\n uint _1379 = (((uint(_1271.x) * 2376512323u) + (uint(_1271.y) * 3625334849u)) + (uint(_1271.z) * 3407524639u)) + 2654435769u;\n uint _1382 = (_1379 ^ (_1379 >> uint(15))) * 739982445u;\n uint _1385 = (_1382 ^ (_1382 >> uint(12))) * 695872825u;\n ivec3 _1273 = _1265 + ivec3(0, 0, 1);\n uint _1404 = (((uint(_1273.x) * 2376512323u) + (uint(_1273.y) * 3625334849u)) + (uint(_1273.z) * 3407524639u)) + 2654435769u;\n uint _1407 = (_1404 ^ (_1404 >> uint(15))) * 739982445u;\n uint _1410 = (_1407 ^ (_1407 >> uint(12))) * 695872825u;\n ivec3 _1275 = _1265 + ivec3(1, 0, 1);\n uint _1429 = (((uint(_1275.x) * 2376512323u) + (uint(_1275.y) * 3625334849u)) + (uint(_1275.z) * 3407524639u)) + 2654435769u;\n uint _1432 = (_1429 ^ (_1429 >> uint(15))) * 739982445u;\n uint _1435 = (_1432 ^ (_1432 >> uint(12))) * 695872825u;\n ivec3 _1277 = _1265 + ivec3(0, 1, 1);\n uint _1454 = (((uint(_1277.x) * 2376512323u) + (uint(_1277.y) * 3625334849u)) + (uint(_1277.z) * 3407524639u)) + 2654435769u;\n uint _1457 = (_1454 ^ (_1454 >> uint(15))) * 739982445u;\n uint _1460 = (_1457 ^ (_1457 >> uint(12))) * 695872825u;\n ivec3 _1279 = _1265 + ivec3(1);\n uint _1479 = (((uint(_1279.x) * 2376512323u) + (uint(_1279.y) * 3625334849u)) + (uint(_1279.z) * 3407524639u)) + 2654435769u;\n uint _1482 = (_1479 ^ (_1479 >> uint(15))) * 739982445u;\n uint _1485 = (_1482 ^ (_1482 >> uint(12))) * 695872825u;\n highp float _1281 = _1264.x;\n highp float _1286 = _1264.y;\n highp float _1234 = (mix(mix(mix(float((_1310 ^ (_1310 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1335 ^ (_1335 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1281), mix(float((_1360 ^ (_1360 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1385 ^ (_1385 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1281), _1286), mix(mix(float((_1410 ^ (_1410 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1435 ^ (_1435 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1281), mix(float((_1460 ^ (_1460 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1485 ^ (_1485 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1281), _1286), _1264.z) * 2.0) - 1.0;\n _1826 = clamp(_1934 * (1.0 + (_1234 * _1958)), vec3(0.0), vec3(1.0));\n _1827 = _1935;\n _1828 = clamp(_1936 + (_1234 * _1957), 0.0, 1.0);\n _1829 = _1937;\n _1830 = _1938;\n break;\n } while(false);\n _1906 = _1826;\n _1907 = _1827;\n _1908 = _1828;\n _1909 = _1829;\n _1910 = _1830;\n highp vec3 _1495;\n do\n {\n bool _1510;\n if (!_1106)\n {\n _1510 = v6 != 0;\n }\n else\n {\n _1510 = false;\n }\n if (_1510)\n {\n _1495 = (_1826 * (1.0 - globalParams.u_capTint.w)) + (globalParams.u_capTint.xyz * globalParams.u_capTint.w);\n break;\n }\n _1495 = _1826;\n break;\n } while(false);\n _1906 = _1495;\n if (globalParams.u_colorSource == 3)\n {\n entryPointParam_fragmentMain = vec4(_1906, globalParams.u_opacity);\n break;\n }\n bool _1519;\n if (!_1106)\n {\n _1519 = v6 != 0;\n }\n else\n {\n _1519 = false;\n }\n highp vec3 N;\n if (_1519)\n {\n N = normalize((-globalParams.u_clipPlanes.data[max(_1116, 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 vec4 _1536 = texture(SPIRV_Cross_Combinedu_materialNormalMapu_materialSampler, v4);\n highp vec3 _1541 = (_1536.xyz * 2.0) - vec3(1.0);\n highp vec2 _1543 = _1541.xy * globalParams.u_materialNormalScale;\n highp vec3 _1546 = normalize(N);\n highp vec3 _1551 = normalize(v5.xyz - (_1546 * dot(_1546, v5.xyz)));\n highp vec3 _1563 = normalize(((_1551 * _1543.x) + ((cross(_1546, _1551) * v5.w) * _1543.y)) + (_1546 * _1541.z));\n highp vec3 _1567 = normalize(globalParams.u_viewPosition - v1);\n highp vec3 _1969 = _1906;\n highp float _1970 = _1907;\n highp float _1971 = _1908;\n highp float _1972 = _1909;\n highp vec3 _1973 = _1910;\n highp vec3 _1979 = globalParams.u_environmentSky;\n highp vec3 _1980 = globalParams.u_environmentGround;\n highp vec3 _1981 = globalParams.u_environmentUp;\n int _1568 = 0;\n highp vec3 _1569 = vec3(0.0);\n highp vec3 _1610;\n highp vec3 _1611;\n highp vec3 _1612;\n highp float _1613;\n for (;;)\n {\n if (!(_1568 < 4))\n {\n break;\n }\n if (_1568 < globalParams.u_lightCount)\n {\n do\n {\n bool _1618 = globalParams.u_lightPositions.data[_1568].w == 0.0;\n if (_1618)\n {\n _1611 = globalParams.u_lightPositions.data[_1568].xyz;\n }\n else\n {\n _1611 = globalParams.u_lightPositions.data[_1568].xyz - v1;\n }\n highp float _1627 = dot(_1611, _1611);\n if (_1618)\n {\n _1612 = normalize(globalParams.u_lightPositions.data[_1568].xyz);\n }\n else\n {\n _1612 = _1611 * inversesqrt(_1627);\n }\n if (_1618)\n {\n _1613 = 1.0;\n }\n else\n {\n _1613 = 1.0 / _1627;\n }\n highp float _1643 = dot(_1563, _1612);\n if (_1643 <= 0.0)\n {\n _1610 = vec3(0.0);\n break;\n }\n highp vec3 _1648 = _1567 + _1612;\n highp float _1649 = dot(_1648, _1648);\n if (_1649 <= 9.9999999600419720025001879548654e-13)\n {\n _1610 = vec3(0.0);\n break;\n }\n highp vec3 _1654 = _1648 * inversesqrt(_1649);\n highp float _1656 = max(dot(_1563, _1567), 0.0);\n highp float _1658 = max(dot(_1563, _1654), 0.0);\n highp float _1663 = max(_1971, 0.039999999105930328369140625);\n highp vec3 _1695 = mix(vec3(0.039999999105930328369140625), _1969, vec3(_1970));\n highp float _1698 = _1663 * _1663;\n highp float _1699 = _1698 * _1698;\n highp float _1703 = ((_1658 * _1658) * (_1699 - 1.0)) + 1.0;\n highp float _1714 = _1663 + 1.0;\n highp float _1716 = (_1714 * _1714) * 0.125;\n highp float _1723 = _1663 + 1.0;\n highp float _1725 = (_1723 * _1723) * 0.125;\n highp vec3 _1738 = _1695 + ((vec3(1.0) - _1695) * pow(clamp(1.0 - max(dot(_1654, _1567), 0.0), 0.0, 1.0), 5.0));\n _1610 = ((((clamp((vec3(1.0) - _1738) * (1.0 - _1970), vec3(0.0), vec3(1.0)) * _1969) * vec3(0.3183098733425140380859375)) + ((_1738 * ((_1699 / ((3.1415927410125732421875 * _1703) * _1703)) * ((_1656 / ((_1656 * (1.0 - _1716)) + _1716)) * (_1643 / ((_1643 * (1.0 - _1725)) + _1725))))) / vec3(((4.0 * _1656) * _1643) + 9.9999997473787516355514526367188e-05))) * (globalParams.u_lightColors.data[_1568] * _1613)) * _1643;\n break;\n } while(false);\n _1569 += _1610;\n }\n _1568++;\n continue;\n }\n highp vec3 _1774 = mix(vec3(0.039999999105930328369140625), _1969, vec3(_1970));\n highp vec3 _1785 = _1774 + ((max(vec3(1.0 - max(_1971, 0.039999999105930328369140625)), _1774) - _1774) * pow(clamp(1.0 - max(dot(_1563, _1567), 0.0), 0.0, 1.0), 5.0));\n highp vec3 _1608 = (((((clamp((vec3(1.0) - _1785) * (1.0 - _1970), vec3(0.0), vec3(1.0)) * mix(_1980, _1979, vec3((dot(_1563, _1981) * 0.5) + 0.5))) * _1969) + (mix(_1980, _1979, vec3((dot(reflect(-_1567, _1563), _1981) * 0.5) + 0.5)) * _1785)) * _1972) + _1569) + _1973;\n entryPointParam_fragmentMain = vec4(pow(_1608 / (_1608 + vec3(1.0)), vec3(0.454545438289642333984375)), globalParams.u_opacity);\n break;\n } while(false);\n}\n\n",
|
|
543
|
-
"sha256": "
|
|
593
|
+
"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 highp vec4 u_capTint;\n highp vec3 u_modelEyePosition;\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;\nflat in int v7;\nflat in int v6;\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\nhighp mat4 spvWorkaroundRowMajor(highp mat4 wrap) { return wrap; }\nmediump mat4 spvWorkaroundRowMajorMP(mediump mat4 wrap) { return wrap; }\n\nvoid main()\n{\n bool _1060 = false;\n do\n {\n _1060 = false;\n bool _1061;\n do\n {\n int _1062 = 0;\n for (;;)\n {\n if (!(_1062 < 6))\n {\n break;\n }\n if (_1062 >= globalParams.u_clipPlaneCount)\n {\n break;\n }\n if ((dot(globalParams.u_clipPlanes.data[_1062].xyz, v0) + globalParams.u_clipPlanes.data[_1062].w) < 0.0)\n {\n _1060 = true;\n _1061 = false;\n break;\n }\n _1062++;\n continue;\n }\n if (_1060)\n {\n break;\n }\n _1060 = true;\n _1061 = true;\n break;\n } while(false);\n if (!_1061)\n {\n discard;\n }\n bool _1106 = gl_FrontFacing != (v7 != 0);\n bool _1107;\n if (!_1106)\n {\n _1107 = v6 == 0;\n }\n else\n {\n _1107 = false;\n }\n if (_1107)\n {\n discard;\n }\n highp vec3 _172 = v0 - globalParams.u_modelEyePosition;\n int _1116 = -1;\n highp float _1118 = 0.0;\n int _1117 = 0;\n bool _1119;\n int _1120;\n highp float _1121;\n for (;;)\n {\n bool _1127_ladder_break = false;\n do\n {\n if (!(_1117 < 6))\n {\n _1127_ladder_break = true;\n break;\n }\n if (_1117 >= globalParams.u_clipPlaneCount)\n {\n _1127_ladder_break = true;\n break;\n }\n highp float _1142 = dot(globalParams.u_clipPlanes.data[_1117].xyz, _172);\n if (_1142 <= 0.0)\n {\n break;\n }\n highp float _1148 = (-(dot(globalParams.u_clipPlanes.data[_1117].xyz, globalParams.u_modelEyePosition) + globalParams.u_clipPlanes.data[_1117].w)) / _1142;\n if (_1116 < 0)\n {\n _1119 = true;\n }\n else\n {\n _1119 = _1148 > _1118;\n }\n if (_1119)\n {\n _1120 = _1117;\n _1121 = _1148;\n }\n else\n {\n _1120 = _1116;\n _1121 = _1118;\n }\n _1116 = _1120;\n _1118 = _1121;\n break;\n } while(false);\n if (_1127_ladder_break)\n {\n break;\n }\n _1117++;\n continue;\n }\n bool _7;\n if (_1116 < 0)\n {\n bool _1178;\n if (!_1106)\n {\n _1178 = v6 != 0;\n }\n else\n {\n _1178 = false;\n }\n _7 = _1178;\n }\n else\n {\n _7 = false;\n }\n if (_7)\n {\n discard;\n }\n highp vec4 _1196 = texture(SPIRV_Cross_Combinedu_materialPackedMapu_materialSampler, v4);\n highp vec3 _1204 = globalParams.u_materialBaseColor * texture(SPIRV_Cross_Combinedu_materialBaseColorMapu_materialSampler, v4).xyz;\n highp float _1207 = globalParams.u_materialOcclusion * _1196.x;\n highp float _1210 = globalParams.u_materialRoughness * _1196.y;\n highp float _1213 = globalParams.u_materialMetallic * _1196.z;\n highp vec3 _1216 = globalParams.u_materialEmissive * texture(SPIRV_Cross_Combinedu_materialEmissiveMapu_materialSampler, v4).xyz;\n highp vec3 _1906 = _1204;\n highp float _1907 = _1213;\n highp float _1908 = _1210;\n highp float _1909 = _1207;\n highp vec3 _1910 = _1216;\n highp vec3 _1934 = _1204;\n highp float _1935 = _1213;\n highp float _1936 = _1210;\n highp float _1937 = _1207;\n highp vec3 _1938 = _1216;\n highp float _1956 = globalParams.u_surfaceFinishScale;\n highp float _1957 = globalParams.u_surfaceFinishRoughness;\n highp float _1958 = globalParams.u_surfaceFinishColor;\n highp vec3 _1826;\n highp float _1827;\n highp float _1828;\n highp float _1829;\n highp vec3 _1830;\n do\n {\n if (_1956 <= 0.0)\n {\n _1826 = _1934;\n _1827 = _1935;\n _1828 = _1936;\n _1829 = _1937;\n _1830 = _1938;\n break;\n }\n highp vec3 _1231 = v3 / vec3(_1956);\n highp vec3 _1258 = floor(_1231);\n highp vec3 _1259 = _1231 - _1258;\n highp vec3 _1264 = (_1259 * _1259) * (vec3(3.0) - (_1259 * 2.0));\n ivec3 _1265 = ivec3(_1258);\n uint _1304 = (((uint(_1265.x) * 2376512323u) + (uint(_1265.y) * 3625334849u)) + (uint(_1265.z) * 3407524639u)) + 2654435769u;\n uint _1307 = (_1304 ^ (_1304 >> uint(15))) * 739982445u;\n uint _1310 = (_1307 ^ (_1307 >> uint(12))) * 695872825u;\n ivec3 _1267 = _1265 + ivec3(1, 0, 0);\n uint _1329 = (((uint(_1267.x) * 2376512323u) + (uint(_1267.y) * 3625334849u)) + (uint(_1267.z) * 3407524639u)) + 2654435769u;\n uint _1332 = (_1329 ^ (_1329 >> uint(15))) * 739982445u;\n uint _1335 = (_1332 ^ (_1332 >> uint(12))) * 695872825u;\n ivec3 _1269 = _1265 + ivec3(0, 1, 0);\n uint _1354 = (((uint(_1269.x) * 2376512323u) + (uint(_1269.y) * 3625334849u)) + (uint(_1269.z) * 3407524639u)) + 2654435769u;\n uint _1357 = (_1354 ^ (_1354 >> uint(15))) * 739982445u;\n uint _1360 = (_1357 ^ (_1357 >> uint(12))) * 695872825u;\n ivec3 _1271 = _1265 + ivec3(1, 1, 0);\n uint _1379 = (((uint(_1271.x) * 2376512323u) + (uint(_1271.y) * 3625334849u)) + (uint(_1271.z) * 3407524639u)) + 2654435769u;\n uint _1382 = (_1379 ^ (_1379 >> uint(15))) * 739982445u;\n uint _1385 = (_1382 ^ (_1382 >> uint(12))) * 695872825u;\n ivec3 _1273 = _1265 + ivec3(0, 0, 1);\n uint _1404 = (((uint(_1273.x) * 2376512323u) + (uint(_1273.y) * 3625334849u)) + (uint(_1273.z) * 3407524639u)) + 2654435769u;\n uint _1407 = (_1404 ^ (_1404 >> uint(15))) * 739982445u;\n uint _1410 = (_1407 ^ (_1407 >> uint(12))) * 695872825u;\n ivec3 _1275 = _1265 + ivec3(1, 0, 1);\n uint _1429 = (((uint(_1275.x) * 2376512323u) + (uint(_1275.y) * 3625334849u)) + (uint(_1275.z) * 3407524639u)) + 2654435769u;\n uint _1432 = (_1429 ^ (_1429 >> uint(15))) * 739982445u;\n uint _1435 = (_1432 ^ (_1432 >> uint(12))) * 695872825u;\n ivec3 _1277 = _1265 + ivec3(0, 1, 1);\n uint _1454 = (((uint(_1277.x) * 2376512323u) + (uint(_1277.y) * 3625334849u)) + (uint(_1277.z) * 3407524639u)) + 2654435769u;\n uint _1457 = (_1454 ^ (_1454 >> uint(15))) * 739982445u;\n uint _1460 = (_1457 ^ (_1457 >> uint(12))) * 695872825u;\n ivec3 _1279 = _1265 + ivec3(1);\n uint _1479 = (((uint(_1279.x) * 2376512323u) + (uint(_1279.y) * 3625334849u)) + (uint(_1279.z) * 3407524639u)) + 2654435769u;\n uint _1482 = (_1479 ^ (_1479 >> uint(15))) * 739982445u;\n uint _1485 = (_1482 ^ (_1482 >> uint(12))) * 695872825u;\n highp float _1281 = _1264.x;\n highp float _1286 = _1264.y;\n highp float _1234 = (mix(mix(mix(float((_1310 ^ (_1310 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1335 ^ (_1335 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1281), mix(float((_1360 ^ (_1360 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1385 ^ (_1385 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1281), _1286), mix(mix(float((_1410 ^ (_1410 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1435 ^ (_1435 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1281), mix(float((_1460 ^ (_1460 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, float((_1485 ^ (_1485 >> uint(15))) & 16777215u) * 5.9604644775390625e-08, _1281), _1286), _1264.z) * 2.0) - 1.0;\n _1826 = clamp(_1934 * (1.0 + (_1234 * _1958)), vec3(0.0), vec3(1.0));\n _1827 = _1935;\n _1828 = clamp(_1936 + (_1234 * _1957), 0.0, 1.0);\n _1829 = _1937;\n _1830 = _1938;\n break;\n } while(false);\n _1906 = _1826;\n _1907 = _1827;\n _1908 = _1828;\n _1909 = _1829;\n _1910 = _1830;\n highp vec3 _1495;\n do\n {\n bool _1510;\n if (!_1106)\n {\n _1510 = v6 != 0;\n }\n else\n {\n _1510 = false;\n }\n if (_1510)\n {\n _1495 = (_1826 * (1.0 - globalParams.u_capTint.w)) + (globalParams.u_capTint.xyz * globalParams.u_capTint.w);\n break;\n }\n _1495 = _1826;\n break;\n } while(false);\n _1906 = _1495;\n if (globalParams.u_colorSource == 3)\n {\n entryPointParam_fragmentMain = vec4(_1906, globalParams.u_opacity);\n break;\n }\n bool _1519;\n if (!_1106)\n {\n _1519 = v6 != 0;\n }\n else\n {\n _1519 = false;\n }\n highp vec3 N;\n if (_1519)\n {\n N = normalize((-globalParams.u_clipPlanes.data[max(_1116, 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 vec4 _1536 = texture(SPIRV_Cross_Combinedu_materialNormalMapu_materialSampler, v4);\n highp vec3 _1541 = (_1536.xyz * 2.0) - vec3(1.0);\n highp vec2 _1543 = _1541.xy * globalParams.u_materialNormalScale;\n highp vec3 _1546 = normalize(N);\n highp vec3 _1551 = normalize(v5.xyz - (_1546 * dot(_1546, v5.xyz)));\n highp vec3 _1563 = normalize(((_1551 * _1543.x) + ((cross(_1546, _1551) * v5.w) * _1543.y)) + (_1546 * _1541.z));\n highp vec3 _1567 = normalize(globalParams.u_viewPosition - v1);\n highp vec3 _1969 = _1906;\n highp float _1970 = _1907;\n highp float _1971 = _1908;\n highp float _1972 = _1909;\n highp vec3 _1973 = _1910;\n highp vec3 _1979 = globalParams.u_environmentSky;\n highp vec3 _1980 = globalParams.u_environmentGround;\n highp vec3 _1981 = globalParams.u_environmentUp;\n int _1568 = 0;\n highp vec3 _1569 = vec3(0.0);\n highp vec3 _1610;\n highp vec3 _1611;\n highp vec3 _1612;\n highp float _1613;\n for (;;)\n {\n if (!(_1568 < 4))\n {\n break;\n }\n if (_1568 < globalParams.u_lightCount)\n {\n do\n {\n bool _1618 = globalParams.u_lightPositions.data[_1568].w == 0.0;\n if (_1618)\n {\n _1611 = globalParams.u_lightPositions.data[_1568].xyz;\n }\n else\n {\n _1611 = globalParams.u_lightPositions.data[_1568].xyz - v1;\n }\n highp float _1627 = dot(_1611, _1611);\n if (_1618)\n {\n _1612 = normalize(globalParams.u_lightPositions.data[_1568].xyz);\n }\n else\n {\n _1612 = _1611 * inversesqrt(_1627);\n }\n if (_1618)\n {\n _1613 = 1.0;\n }\n else\n {\n _1613 = 1.0 / _1627;\n }\n highp float _1643 = dot(_1563, _1612);\n if (_1643 <= 0.0)\n {\n _1610 = vec3(0.0);\n break;\n }\n highp vec3 _1648 = _1567 + _1612;\n highp float _1649 = dot(_1648, _1648);\n if (_1649 <= 9.9999999600419720025001879548654e-13)\n {\n _1610 = vec3(0.0);\n break;\n }\n highp vec3 _1654 = _1648 * inversesqrt(_1649);\n highp float _1656 = max(dot(_1563, _1567), 0.0);\n highp float _1658 = max(dot(_1563, _1654), 0.0);\n highp float _1663 = max(_1971, 0.039999999105930328369140625);\n highp vec3 _1695 = mix(vec3(0.039999999105930328369140625), _1969, vec3(_1970));\n highp float _1698 = _1663 * _1663;\n highp float _1699 = _1698 * _1698;\n highp float _1703 = ((_1658 * _1658) * (_1699 - 1.0)) + 1.0;\n highp float _1714 = _1663 + 1.0;\n highp float _1716 = (_1714 * _1714) * 0.125;\n highp float _1723 = _1663 + 1.0;\n highp float _1725 = (_1723 * _1723) * 0.125;\n highp vec3 _1738 = _1695 + ((vec3(1.0) - _1695) * pow(clamp(1.0 - max(dot(_1654, _1567), 0.0), 0.0, 1.0), 5.0));\n _1610 = ((((clamp((vec3(1.0) - _1738) * (1.0 - _1970), vec3(0.0), vec3(1.0)) * _1969) * vec3(0.3183098733425140380859375)) + ((_1738 * ((_1699 / ((3.1415927410125732421875 * _1703) * _1703)) * ((_1656 / ((_1656 * (1.0 - _1716)) + _1716)) * (_1643 / ((_1643 * (1.0 - _1725)) + _1725))))) / vec3(((4.0 * _1656) * _1643) + 9.9999997473787516355514526367188e-05))) * (globalParams.u_lightColors.data[_1568] * _1613)) * _1643;\n break;\n } while(false);\n _1569 += _1610;\n }\n _1568++;\n continue;\n }\n highp vec3 _1774 = mix(vec3(0.039999999105930328369140625), _1969, vec3(_1970));\n highp vec3 _1785 = _1774 + ((max(vec3(1.0 - max(_1971, 0.039999999105930328369140625)), _1774) - _1774) * pow(clamp(1.0 - max(dot(_1563, _1567), 0.0), 0.0, 1.0), 5.0));\n highp vec3 _1608 = (((((clamp((vec3(1.0) - _1785) * (1.0 - _1970), vec3(0.0), vec3(1.0)) * mix(_1980, _1979, vec3((dot(_1563, _1981) * 0.5) + 0.5))) * _1969) + (mix(_1980, _1979, vec3((dot(reflect(-_1567, _1563), _1981) * 0.5) + 0.5)) * _1785)) * _1972) + _1569) + _1973;\n entryPointParam_fragmentMain = vec4(pow(_1608 / (_1608 + vec3(1.0)), vec3(0.454545438289642333984375)), globalParams.u_opacity);\n break;\n } while(false);\n}\n\n",
|
|
594
|
+
"sha256": "41447cfbf96c3fa54680e97aa6e315bb612ea9fafeed7577d38568c364adb336"
|
|
544
595
|
}
|
|
545
596
|
}
|
|
546
597
|
}
|