@uptimizr/dashboard 0.1.2 → 0.2.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 (240) hide show
  1. package/out/404.html +1 -1
  2. package/out/__next.__PAGE__.txt +4 -4
  3. package/out/__next._full.txt +11 -11
  4. package/out/__next._head.txt +4 -4
  5. package/out/__next._index.txt +4 -4
  6. package/out/__next._tree.txt +2 -2
  7. package/out/_next/static/chunks/002cjeoit6-up.js +1 -0
  8. package/out/_next/static/chunks/02n1uiltexy3w.js +1 -0
  9. package/out/_next/static/chunks/03ab2khhe8-x5.js +1 -0
  10. package/out/_next/static/chunks/04_yytpc2paxy.js +1 -0
  11. package/out/_next/static/chunks/06qot1qvlsqaz.js +1 -0
  12. package/out/_next/static/chunks/07eeopuufsqp-.js +1501 -0
  13. package/out/_next/static/chunks/08a5xek662n8n.js +1 -0
  14. package/out/_next/static/chunks/08wuc9--s8zn_.js +1 -0
  15. package/out/_next/static/chunks/0927l-ygd5c8d.js +1 -0
  16. package/out/_next/static/chunks/09510356f0lad.js +1 -0
  17. package/out/_next/static/chunks/0_eu72k69lxj7.js +1 -0
  18. package/out/_next/static/chunks/0beajlqy8p8b5.js +1 -0
  19. package/out/_next/static/chunks/0c83pe1mpx456.js +1 -0
  20. package/out/_next/static/chunks/0echnagbkyx79.js +1198 -0
  21. package/out/_next/static/chunks/0eh1ml86u8dh7.js +1 -0
  22. package/out/_next/static/chunks/0fh-9h9ylxskr.js +674 -0
  23. package/out/_next/static/chunks/0fzmc1up21g1i.js +1 -0
  24. package/out/_next/static/chunks/0g_v2zswo4l6f.js +1 -0
  25. package/out/_next/static/chunks/0grlb9lo8e502.js +1 -0
  26. package/out/_next/static/chunks/0h22pg-0xrxnm.js +1 -0
  27. package/out/_next/static/chunks/0j6p1pmc14t96.js +1 -0
  28. package/out/_next/static/chunks/0j_6dx-sttgsy.js +1 -0
  29. package/out/_next/static/chunks/0j__xaq_8_di1.js +1 -0
  30. package/out/_next/static/chunks/0kfd-cvj5fvtz.js +1 -0
  31. package/out/_next/static/chunks/0o_mp98xzqfyf.js +1 -0
  32. package/out/_next/static/chunks/0otsec99kdkt7.js +213 -0
  33. package/out/_next/static/chunks/0ql-s-tsmel_u.js +151 -0
  34. package/out/_next/static/chunks/0r47gs_e93cka.js +1 -0
  35. package/out/_next/static/chunks/0sqys6o2pbe1q.js +1328 -0
  36. package/out/_next/static/chunks/0titqrn1qmcsv.js +1 -0
  37. package/out/_next/static/chunks/0tnlbw78tgaxp.js +4 -0
  38. package/out/_next/static/chunks/0tw4dyl-cp-hd.js +1 -0
  39. package/out/_next/static/chunks/0vbce-8omgurc.js +1 -0
  40. package/out/_next/static/chunks/0vfsg5byzep_0.js +1 -0
  41. package/out/_next/static/chunks/{0gv7mblzv3dl3.js → 0w8_1yjvol1f0.js} +20 -20
  42. package/out/_next/static/chunks/0xh144a5fz58h.js +1 -0
  43. package/out/_next/static/chunks/0xjltg_pph0c8.js +1 -0
  44. package/out/_next/static/chunks/0yeqgh0dnas8d.js +1 -0
  45. package/out/_next/static/chunks/101-7e_7up7rk.js +1 -0
  46. package/out/_next/static/chunks/128e51hj_04r0.js +1 -0
  47. package/out/_next/static/chunks/{10fnxpln_5xfd.js → 12kv810lohbsx.js} +2 -2
  48. package/out/_next/static/chunks/137xbvd4nd41j.js +3 -0
  49. package/out/_next/static/chunks/14bws-suyy5zu.js +1 -0
  50. package/out/_next/static/chunks/14ggsmqwej_tt.js +1656 -0
  51. package/out/_next/static/chunks/17genz6pkmty_.js +1 -0
  52. package/out/_next/static/chunks/17xd8hnazzr0g.js +1454 -0
  53. package/out/_next/static/chunks/18dczy9ylt2s_.js +1 -0
  54. package/out/_next/static/chunks/18xs_kvsaolb0.js +1 -0
  55. package/out/_next/static/chunks/19016f8-ry0z6.js +1 -0
  56. package/out/_next/static/chunks/1_6oejyxj39li.js +1 -0
  57. package/out/_next/static/chunks/1_aon8nz9p1fr.js +1 -0
  58. package/out/_next/static/chunks/1_qzlkuxukhpq.js +779 -0
  59. package/out/_next/static/chunks/1akaj5rhgitn3.js +1 -0
  60. package/out/_next/static/chunks/1bvl1ws7b_3gn.js +1 -0
  61. package/out/_next/static/chunks/1cdbk6kxyr1c9.js +1 -0
  62. package/out/_next/static/chunks/1fbjkk55uu4_g.js +1 -0
  63. package/out/_next/static/chunks/1furcfsgrw_3g.js +1 -0
  64. package/out/_next/static/chunks/1g0-f1g3gn_rs.js +1 -0
  65. package/out/_next/static/chunks/1g7emwu85bifo.js +557 -0
  66. package/out/_next/static/chunks/{37vzwr3ciejf1.js → 1gs-5722l4u59.js} +1 -1
  67. package/out/_next/static/chunks/1gt4kh0_xmigy.js +1 -0
  68. package/out/_next/static/chunks/1h8xzuuhhglu9.js +1 -0
  69. package/out/_next/static/chunks/1hatz-jlztrn0.js +1 -0
  70. package/out/_next/static/chunks/1iioifo7i0t0_.js +1 -0
  71. package/out/_next/static/chunks/{0impkpmxx3ttp.js → 1iiz7jqgj20z0.js} +1 -1
  72. package/out/_next/static/chunks/1kujmd5n0j9nk.js +1 -0
  73. package/out/_next/static/chunks/{2kazjq29jeamx.js → 1ltux4lwz7muf.js} +160 -372
  74. package/out/_next/static/chunks/1m_buecgcq67j.js +740 -0
  75. package/out/_next/static/chunks/1n9sy0yt5d2vq.js +1 -0
  76. package/out/_next/static/chunks/1p1gz6dseck--.js +1 -0
  77. package/out/_next/static/chunks/1p1xtsfwvpuqo.js +1 -0
  78. package/out/_next/static/chunks/1p8f6okk2ewbz.js +1 -0
  79. package/out/_next/static/chunks/1qg_etglhvp9h.js +740 -0
  80. package/out/_next/static/chunks/1th_t5ujeqlkf.js +1 -0
  81. package/out/_next/static/chunks/1thr-mdzbu96v.js +1 -0
  82. package/out/_next/static/chunks/1tta1a064979p.js +1 -0
  83. package/out/_next/static/chunks/1u_riwm0nfww7.js +1 -0
  84. package/out/_next/static/chunks/1ua15kzid0_8p.js +2560 -0
  85. package/out/_next/static/chunks/1uu-rt_8p1edp.js +2712 -0
  86. package/out/_next/static/chunks/1uu93wuxigx4k.js +1 -0
  87. package/out/_next/static/chunks/{1flb8adpj6_2o.js → 1xpwp4m1tqugp.js} +1 -1
  88. package/out/_next/static/chunks/1ynju1jqfrcv0.js +1 -0
  89. package/out/_next/static/chunks/1zfojlgb15okk.js +1 -0
  90. package/out/_next/static/chunks/1zj8x5wbgnzz-.js +1 -0
  91. package/out/_next/static/chunks/1zl6t15gh34nn.js +1 -0
  92. package/out/_next/static/chunks/{1thjncpj7u6pq.js → 223vrr_4sfhsj.js} +1 -1
  93. package/out/_next/static/chunks/22cr2b04btguf.js +1 -0
  94. package/out/_next/static/chunks/242xhzxxetctz.js +1 -0
  95. package/out/_next/static/chunks/24essz5mmvx-6.js +1 -0
  96. package/out/_next/static/chunks/256k1jw1m--l7.js +146 -0
  97. package/out/_next/static/chunks/259obyrpxcv6r.js +1 -0
  98. package/out/_next/static/chunks/26v9yqicofqba.js +1 -0
  99. package/out/_next/static/chunks/290d93hmm_e8b.js +1 -0
  100. package/out/_next/static/chunks/2_2fk7iddrs43.js +1 -0
  101. package/out/_next/static/chunks/{00k_j_r7bv_eb.js → 2bjlls8-qe05r.js} +9 -9
  102. package/out/_next/static/chunks/2ckd7f1wbfod-.js +1 -0
  103. package/out/_next/static/chunks/{163fa70v4mgxj.js → 2d6hru4qo23tt.js} +1 -1
  104. package/out/_next/static/chunks/2ejvntxtvf5o9.js +1 -0
  105. package/out/_next/static/chunks/2f7_3tzf7xhps.js +1 -0
  106. package/out/_next/static/chunks/2gxd_o1g89_bv.js +1 -0
  107. package/out/_next/static/chunks/2hd2txb4-m9k1.js +1 -0
  108. package/out/_next/static/chunks/2hpxou_cnp4f_.js +1 -0
  109. package/out/_next/static/chunks/2izioctrfc0s5.js +1 -0
  110. package/out/_next/static/chunks/2jhnk4h4n0udv.js +1 -0
  111. package/out/_next/static/chunks/2jpkhkk9zi8-f.js +1 -0
  112. package/out/_next/static/chunks/2kpet_l1kq2sx.js +1 -0
  113. package/out/_next/static/chunks/2mdbvf1b5h00_.css +3 -0
  114. package/out/_next/static/chunks/2nck5w4c7leb7.js +1 -0
  115. package/out/_next/static/chunks/2our10fwtj87e.js +1 -0
  116. package/out/_next/static/chunks/2qq3uzsbiicw3.js +1194 -0
  117. package/out/_next/static/chunks/2qqqpu0ahfdda.js +1 -0
  118. package/out/_next/static/chunks/2u-f7mmxvk8wj.js +1 -0
  119. package/out/_next/static/chunks/2ue1wo4ryk87z.js +1 -0
  120. package/out/_next/static/chunks/2uk-vwlxe9-xr.js +1 -0
  121. package/out/_next/static/chunks/2ur5-lxdvv1jm.js +1 -0
  122. package/out/_next/static/chunks/2veqsohwfhfqc.js +1 -0
  123. package/out/_next/static/chunks/2vqlv9wnewhu9.js +1 -0
  124. package/out/_next/static/chunks/{1zvc1tv--w8nn.js → 2wzshintp5lf8.js} +1 -1
  125. package/out/_next/static/chunks/2x-00glogc485.js +1 -0
  126. package/out/_next/static/chunks/2yfxy0f5fqs4o.js +1 -0
  127. package/out/_next/static/chunks/2z88mt3ixktu3.js +1 -0
  128. package/out/_next/static/chunks/2z_jn9ud28fk7.js +1 -0
  129. package/out/_next/static/chunks/3-eswqjobiqk1.js +1 -0
  130. package/out/_next/static/chunks/30-tbi7pys6fp.js +4 -0
  131. package/out/_next/static/chunks/30c-nsedy_ce0.js +1 -0
  132. package/out/_next/static/chunks/31u5lbu1vxznh.js +1 -0
  133. package/out/_next/static/chunks/{2feca0xcipcyt.js → 32ahba5ezp467.js} +156 -156
  134. package/out/_next/static/chunks/337hn35kts7ud.js +1 -0
  135. package/out/_next/static/chunks/33dgpebv-tf73.js +1 -0
  136. package/out/_next/static/chunks/36jkdhq6kb-cf.js +1 -0
  137. package/out/_next/static/chunks/37epa8fz59vba.js +1166 -0
  138. package/out/_next/static/chunks/3833xfnz0a-ub.js +1 -0
  139. package/out/_next/static/chunks/38awrh_qxn22k.js +1 -0
  140. package/out/_next/static/chunks/{0wrm9jr-9bw0e.js → 38x3c1ra5slhe.js} +383 -913
  141. package/out/_next/static/chunks/39idqlqlcp5b9.js +1 -0
  142. package/out/_next/static/chunks/{2a3spdq-m8drh.js → 3_gku1pwluoo0.js} +1 -1
  143. package/out/_next/static/chunks/3_mu-4rdjajna.js +1450 -0
  144. package/out/_next/static/chunks/3coacc4-g-g5c.js +1 -0
  145. package/out/_next/static/chunks/3e00fzdfkclzq.js +1 -0
  146. package/out/_next/static/chunks/3e8fmlq0k5wkg.js +1 -0
  147. package/out/_next/static/chunks/3e9tzyrt4_98z.js +1 -0
  148. package/out/_next/static/chunks/3edelqkq92pil.js +1 -0
  149. package/out/_next/static/chunks/3figbil1t4ssj.js +593 -0
  150. package/out/_next/static/chunks/3gimb3z_mteou.js +1 -0
  151. package/out/_next/static/chunks/{2p2vv6cc9i-3q.js → 3idaz_s77e-j_.js} +9 -9
  152. package/out/_next/static/chunks/3j-4wuhs5weba.js +1 -0
  153. package/out/_next/static/chunks/3jjfnwvybayy7.js +1 -0
  154. package/out/_next/static/chunks/3jwm5dfk_78gc.js +1 -0
  155. package/out/_next/static/chunks/3k9d4ylc3li2t.js +1352 -0
  156. package/out/_next/static/chunks/3l3_0ack3gy4k.js +1 -0
  157. package/out/_next/static/chunks/3lwhs5ja7tun3.js +1 -0
  158. package/out/_next/static/chunks/3m6nmp2dca6un.js +1342 -0
  159. package/out/_next/static/chunks/3mbnfpufs2-7e.js +7 -0
  160. package/out/_next/static/chunks/3mcd08gmt038z.js +1 -0
  161. package/out/_next/static/chunks/3mt5th7b1i_u9.js +1 -0
  162. package/out/_next/static/chunks/3ne77mjdz2y7o.js +1 -0
  163. package/out/_next/static/chunks/3puhrqtujktyv.js +1 -0
  164. package/out/_next/static/chunks/3rdifucupcgkg.js +1 -0
  165. package/out/_next/static/chunks/3riekaxl3uxfb.js +1195 -0
  166. package/out/_next/static/chunks/3sdoskq_buttj.js +1 -0
  167. package/out/_next/static/chunks/3tg-ma9tv9xu4.js +1 -0
  168. package/out/_next/static/chunks/3tm-pqpmq_ppw.js +1 -0
  169. package/out/_next/static/chunks/3w9go565cjhq3.js +1636 -0
  170. package/out/_next/static/chunks/3wi9gzq2mtr_q.js +8 -0
  171. package/out/_next/static/chunks/3xagd_2_9zft2.js +1 -0
  172. package/out/_next/static/chunks/3xsq_anpad-fb.js +1 -0
  173. package/out/_next/static/chunks/3ycv2qq7vpbua.js +1 -0
  174. package/out/_next/static/chunks/3z84au-mitjjw.js +1 -0
  175. package/out/_next/static/chunks/4030dhur2h70-.js +1 -0
  176. package/out/_next/static/chunks/40ffffml4h_3r.js +4 -0
  177. package/out/_next/static/chunks/{3-shckrcpvbxu.js → 41wt50z9tx9cx.js} +108 -711
  178. package/out/_next/static/chunks/431slrqh0wa0g.js +1 -0
  179. package/out/_next/static/chunks/43s_lbd1i2krj.js +1 -0
  180. package/out/_next/static/chunks/{0-2y-_oomza2l.js → 44nxswtahaq4w.js} +18 -18
  181. package/out/_next/static/chunks/45bwefvdpztfs.js +1 -0
  182. package/out/_next/static/chunks/{turbopack-0sgd6pfbe1fy6.js → turbopack-19105pdhzxp1x.js} +1 -1
  183. package/out/_not-found/__next._full.txt +9 -9
  184. package/out/_not-found/__next._head.txt +4 -4
  185. package/out/_not-found/__next._index.txt +4 -4
  186. package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
  187. package/out/_not-found/__next._not-found.txt +3 -3
  188. package/out/_not-found/__next._tree.txt +2 -2
  189. package/out/_not-found.html +1 -1
  190. package/out/_not-found.txt +9 -9
  191. package/out/index.html +1 -1
  192. package/out/index.txt +11 -11
  193. package/package.json +5 -4
  194. package/out/_next/static/chunks/068j6934u8j16.js +0 -1
  195. package/out/_next/static/chunks/09e4adtr6w0xe.js +0 -1
  196. package/out/_next/static/chunks/0_rf76jneiwal.js +0 -176
  197. package/out/_next/static/chunks/0aznt7717miff.js +0 -1
  198. package/out/_next/static/chunks/0cu-q5q3a7uf3.js +0 -1
  199. package/out/_next/static/chunks/0fskcfh9vbhtv.js +0 -1
  200. package/out/_next/static/chunks/0gg-ii7i6d_p6.js +0 -1
  201. package/out/_next/static/chunks/0tx1j_ghpz7rc.css +0 -3
  202. package/out/_next/static/chunks/0ufbyo1x3qkmo.js +0 -1
  203. package/out/_next/static/chunks/0wwcfw8i3j_zx.js +0 -1
  204. package/out/_next/static/chunks/0wwkrsvxwi57d.js +0 -1
  205. package/out/_next/static/chunks/0ys9-ozuluawt.js +0 -1
  206. package/out/_next/static/chunks/1-61zh4waha61.js +0 -1
  207. package/out/_next/static/chunks/10r_824wzt8hj.js +0 -1
  208. package/out/_next/static/chunks/123xxske5c9na.js +0 -1
  209. package/out/_next/static/chunks/13isnf0--pmx1.js +0 -1
  210. package/out/_next/static/chunks/157d9euci08yu.js +0 -1
  211. package/out/_next/static/chunks/18u58lorfahxi.js +0 -4
  212. package/out/_next/static/chunks/1_aahautsz2v_.js +0 -1
  213. package/out/_next/static/chunks/1o1d0p-v1z8ty.js +0 -1
  214. package/out/_next/static/chunks/1vdjn0pkoyypn.js +0 -1
  215. package/out/_next/static/chunks/1yehxf-fmeicg.js +0 -1
  216. package/out/_next/static/chunks/1zx2q-r32thv1.js +0 -4
  217. package/out/_next/static/chunks/2-sjjedfr0kfq.js +0 -1
  218. package/out/_next/static/chunks/25b9x-li-tvk2.js +0 -1
  219. package/out/_next/static/chunks/2aelw3far6rii.js +0 -1
  220. package/out/_next/static/chunks/2aor7m-wbis85.js +0 -1
  221. package/out/_next/static/chunks/2clzipqap01hp.js +0 -1
  222. package/out/_next/static/chunks/2fh-_9b6tqhvb.js +0 -1
  223. package/out/_next/static/chunks/2g5gecypj0rqe.js +0 -1
  224. package/out/_next/static/chunks/2szdcpl41-kzv.js +0 -1
  225. package/out/_next/static/chunks/2u6shh3oeycm-.js +0 -1
  226. package/out/_next/static/chunks/2unhhuv0arlcv.js +0 -1
  227. package/out/_next/static/chunks/2z5eqx5do5std.js +0 -1
  228. package/out/_next/static/chunks/310uz81hnnzsu.js +0 -1
  229. package/out/_next/static/chunks/3aqbf_wkg2sih.js +0 -3
  230. package/out/_next/static/chunks/3i3gbhccmhu7j.js +0 -210
  231. package/out/_next/static/chunks/3mqy-84_ul3t2.js +0 -1
  232. package/out/_next/static/chunks/3nz-dh9d7cehk.js +0 -1
  233. package/out/_next/static/chunks/3pufs8g4ui943.js +0 -1
  234. package/out/_next/static/chunks/3t06schbtqonl.js +0 -1
  235. package/out/_next/static/chunks/3v3-7fio3nw_t.js +0 -1
  236. package/out/_next/static/chunks/3v5ha25nxo43j.js +0 -1
  237. package/out/_next/static/chunks/3zskk1hxu3-_o.js +0 -1
  238. /package/out/_next/static/{vHD3x58R_2B6QWAhZXCg7 → M9ZSIaKJeBgkjz1qktYio}/_buildManifest.js +0 -0
  239. /package/out/_next/static/{vHD3x58R_2B6QWAhZXCg7 → M9ZSIaKJeBgkjz1qktYio}/_clientMiddlewareManifest.js +0 -0
  240. /package/out/_next/static/{vHD3x58R_2B6QWAhZXCg7 → M9ZSIaKJeBgkjz1qktYio}/_ssgManifest.js +0 -0
@@ -0,0 +1,593 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,60106,e=>{"use strict";var r=e.i(12423);let t="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
2
+ #ifdef MULTIVIEW
3
+ viewProjectionR : mat4x4<f32>,
4
+ #endif
5
+ view : mat4x4<f32>,
6
+ projection : mat4x4<f32>,
7
+ vEyePosition : vec4<f32>,
8
+ inverseProjection : mat4x4<f32>,};
9
+ #define SCENE_UBO
10
+ var<uniform> scene : Scene;
11
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["sceneUboDeclarationWGSL",0,{name:t,shader:i}])},99452,e=>{"use strict";var r=e.i(12423);let t="harmonicsFunctions",i=`#ifdef USESPHERICALFROMREFLECTIONMAP
12
+ #ifdef SPHERICAL_HARMONICS
13
+ fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00
14
+ + uniforms.vSphericalL1_1*(normal.y)
15
+ + uniforms.vSphericalL10*(normal.z)
16
+ + uniforms.vSphericalL11*(normal.x)
17
+ + uniforms.vSphericalL2_2*(normal.y*normal.x)
18
+ + uniforms.vSphericalL2_1*(normal.y*normal.z)
19
+ + uniforms.vSphericalL20*((3.0*normal.z*normal.z)-1.0)
20
+ + uniforms.vSphericalL21*(normal.z*normal.x)
21
+ + uniforms.vSphericalL22*(normal.x*normal.x-(normal.y*normal.y));}
22
+ #else
23
+ fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {var Nx: f32=normal.x;var Ny: f32=normal.y;var Nz: f32=normal.z;var C1: vec3f=uniforms.vSphericalZZ.rgb;var Cx: vec3f=uniforms.vSphericalX.rgb;var Cy: vec3f=uniforms.vSphericalY.rgb;var Cz: vec3f=uniforms.vSphericalZ.rgb;var Cxx_zz: vec3f=uniforms.vSphericalXX_ZZ.rgb;var Cyy_zz: vec3f=uniforms.vSphericalYY_ZZ.rgb;var Cxy: vec3f=uniforms.vSphericalXY.rgb;var Cyz: vec3f=uniforms.vSphericalYZ.rgb;var Czx: vec3f=uniforms.vSphericalZX.rgb;var a1: vec3f=Cyy_zz*Ny+Cy;var a2: vec3f=Cyz*Nz+a1;var b1: vec3f=Czx*Nz+Cx;var b2: vec3f=Cxy*Ny+b1;var b3: vec3f=Cxx_zz*Nx+b2;var t1: vec3f=Cz *Nz+C1;var t2: vec3f=a2 *Ny+t1;var t3: vec3f=b3 *Nx+t2;return t3;}
24
+ #endif
25
+ #endif
26
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["harmonicsFunctionsWGSL",0,{name:t,shader:i}])},45329,35011,e=>{"use strict";var r=e.i(12423);let t="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
27
+ #ifndef USE_VERTEX_PULLING
28
+ attribute matricesIndices : vec4f;attribute matricesWeights : vec4f;
29
+ #if NUM_BONE_INFLUENCERS>4
30
+ attribute matricesIndicesExtra : vec4f;attribute matricesWeightsExtra : vec4f;
31
+ #endif
32
+ #endif
33
+ #ifndef BAKED_VERTEX_ANIMATION_TEXTURE
34
+ #ifdef BONETEXTURE
35
+ var boneSampler : texture_2d<f32>;uniform boneTextureInfo : vec2f;
36
+ #else
37
+ uniform mBones : array<mat4x4f,BonesPerMesh>;
38
+ #endif
39
+ #ifdef BONES_VELOCITY_ENABLED
40
+ uniform mPreviousBones : array<mat4x4f,BonesPerMesh>;
41
+ #endif
42
+ #ifdef BONETEXTURE
43
+ fn readMatrixFromRawSampler(smp : texture_2d<f32>,index : f32)->mat4x4f
44
+ {let offset=i32(index)*4;
45
+ let textureWidth=i32(uniforms.boneTextureInfo.x);let y=offset/textureWidth;let x=offset % textureWidth;let m0=textureLoad(smp,vec2<i32>(x+0,y),0);let m1=textureLoad(smp,vec2<i32>(x+1,y),0);let m2=textureLoad(smp,vec2<i32>(x+2,y),0);let m3=textureLoad(smp,vec2<i32>(x+3,y),0);return mat4x4f(m0,m1,m2,m3);}
46
+ #endif
47
+ #endif
48
+ #endif
49
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bonesDeclarationWGSL",0,{name:t,shader:i}],45329);let n="bakedVertexAnimationDeclaration",a=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
50
+ uniform bakedVertexAnimationTime: f32;uniform bakedVertexAnimationSettings: vec4<f32>;var bakedVertexAnimationTexture : texture_2d<f32>;
51
+ #ifdef INSTANCES
52
+ attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
53
+ #endif
54
+ fn readMatrixFromRawSamplerVAT(smp : texture_2d<f32>,index : f32,frame : f32)->mat4x4<f32>
55
+ {let offset=i32(index)*4;let frameUV=i32(frame);let m0=textureLoad(smp,vec2<i32>(offset+0,frameUV),0);let m1=textureLoad(smp,vec2<i32>(offset+1,frameUV),0);let m2=textureLoad(smp,vec2<i32>(offset+2,frameUV),0);let m3=textureLoad(smp,vec2<i32>(offset+3,frameUV),0);return mat4x4<f32>(m0,m1,m2,m3);}
56
+ #endif
57
+ `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:n,shader:a}],35011)},18062,e=>{"use strict";var r=e.i(12423);let t="instancesDeclaration",i=`#ifdef INSTANCES
58
+ attribute world0 : vec4<f32>;attribute world1 : vec4<f32>;attribute world2 : vec4<f32>;attribute world3 : vec4<f32>;
59
+ #ifdef INSTANCESCOLOR
60
+ attribute instanceColor : vec4<f32>;
61
+ #endif
62
+ #if defined(THIN_INSTANCES) && !defined(WORLD_UBO)
63
+ uniform world : mat4x4<f32>;
64
+ #endif
65
+ #if defined(VELOCITY) || defined(PREPASS_VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
66
+ attribute previousWorld0 : vec4<f32>;attribute previousWorld1 : vec4<f32>;attribute previousWorld2 : vec4<f32>;attribute previousWorld3 : vec4<f32>;
67
+ #ifdef THIN_INSTANCES
68
+ uniform previousWorld : mat4x4<f32>;
69
+ #endif
70
+ #endif
71
+ #else
72
+ #if !defined(WORLD_UBO)
73
+ uniform world : mat4x4<f32>;
74
+ #endif
75
+ #if defined(VELOCITY) || defined(PREPASS_VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
76
+ uniform previousWorld : mat4x4<f32>;
77
+ #endif
78
+ #endif
79
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesDeclarationWGSL",0,{name:t,shader:i}])},77785,e=>{"use strict";var r=e.i(12423);let t="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
80
+ uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
81
+ #endif
82
+ #ifdef CLIPPLANE2
83
+ uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32;
84
+ #endif
85
+ #ifdef CLIPPLANE3
86
+ uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32;
87
+ #endif
88
+ #ifdef CLIPPLANE4
89
+ uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32;
90
+ #endif
91
+ #ifdef CLIPPLANE5
92
+ uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
93
+ #endif
94
+ #ifdef CLIPPLANE6
95
+ uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
96
+ #endif
97
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:t,shader:i}])},50331,3350,35845,3878,e=>{"use strict";var r=e.i(12423);let t="instancesVertex",i=`#ifdef INSTANCES
98
+ var finalWorld=mat4x4<f32>(vertexInputs.world0,vertexInputs.world1,vertexInputs.world2,vertexInputs.world3);
99
+ #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
100
+ var finalPreviousWorld=mat4x4<f32>(
101
+ vertexInputs.previousWorld0,vertexInputs.previousWorld1,
102
+ vertexInputs.previousWorld2,vertexInputs.previousWorld3);
103
+ #endif
104
+ #ifdef THIN_INSTANCES
105
+ #if !defined(WORLD_UBO)
106
+ finalWorld=uniforms.world*finalWorld;
107
+ #else
108
+ finalWorld=mesh.world*finalWorld;
109
+ #endif
110
+ #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
111
+ finalPreviousWorld=uniforms.previousWorld*finalPreviousWorld;
112
+ #endif
113
+ #endif
114
+ #else
115
+ #if !defined(WORLD_UBO)
116
+ var finalWorld=uniforms.world;
117
+ #else
118
+ var finalWorld=mesh.world;
119
+ #endif
120
+ #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
121
+ var finalPreviousWorld=uniforms.previousWorld;
122
+ #endif
123
+ #endif
124
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["instancesVertexWGSL",0,{name:t,shader:i}],50331);let n="bonesVertex",a=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
125
+ #if NUM_BONE_INFLUENCERS>0
126
+ var influence : mat4x4<f32>;
127
+ #ifdef BONETEXTURE
128
+ influence=readMatrixFromRawSampler(boneSampler,vertexInputs.matricesIndices[0])*vertexInputs.matricesWeights[0];
129
+ #if NUM_BONE_INFLUENCERS>1
130
+ influence=influence+readMatrixFromRawSampler(boneSampler,vertexInputs.matricesIndices[1])*vertexInputs.matricesWeights[1];
131
+ #endif
132
+ #if NUM_BONE_INFLUENCERS>2
133
+ influence=influence+readMatrixFromRawSampler(boneSampler,vertexInputs.matricesIndices[2])*vertexInputs.matricesWeights[2];
134
+ #endif
135
+ #if NUM_BONE_INFLUENCERS>3
136
+ influence=influence+readMatrixFromRawSampler(boneSampler,vertexInputs.matricesIndices[3])*vertexInputs.matricesWeights[3];
137
+ #endif
138
+ #if NUM_BONE_INFLUENCERS>4
139
+ influence=influence+readMatrixFromRawSampler(boneSampler,vertexInputs.matricesIndicesExtra[0])*vertexInputs.matricesWeightsExtra[0];
140
+ #endif
141
+ #if NUM_BONE_INFLUENCERS>5
142
+ influence=influence+readMatrixFromRawSampler(boneSampler,vertexInputs.matricesIndicesExtra[1])*vertexInputs.matricesWeightsExtra[1];
143
+ #endif
144
+ #if NUM_BONE_INFLUENCERS>6
145
+ influence=influence+readMatrixFromRawSampler(boneSampler,vertexInputs.matricesIndicesExtra[2])*vertexInputs.matricesWeightsExtra[2];
146
+ #endif
147
+ #if NUM_BONE_INFLUENCERS>7
148
+ influence=influence+readMatrixFromRawSampler(boneSampler,vertexInputs.matricesIndicesExtra[3])*vertexInputs.matricesWeightsExtra[3];
149
+ #endif
150
+ #else
151
+ influence=uniforms.mBones[i32(vertexInputs.matricesIndices[0])]*vertexInputs.matricesWeights[0];
152
+ #if NUM_BONE_INFLUENCERS>1
153
+ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndices[1])]*vertexInputs.matricesWeights[1];
154
+ #endif
155
+ #if NUM_BONE_INFLUENCERS>2
156
+ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndices[2])]*vertexInputs.matricesWeights[2];
157
+ #endif
158
+ #if NUM_BONE_INFLUENCERS>3
159
+ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndices[3])]*vertexInputs.matricesWeights[3];
160
+ #endif
161
+ #if NUM_BONE_INFLUENCERS>4
162
+ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[0])]*vertexInputs.matricesWeightsExtra[0];
163
+ #endif
164
+ #if NUM_BONE_INFLUENCERS>5
165
+ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[1])]*vertexInputs.matricesWeightsExtra[1];
166
+ #endif
167
+ #if NUM_BONE_INFLUENCERS>6
168
+ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[2])]*vertexInputs.matricesWeightsExtra[2];
169
+ #endif
170
+ #if NUM_BONE_INFLUENCERS>7
171
+ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[3])]*vertexInputs.matricesWeightsExtra[3];
172
+ #endif
173
+ #endif
174
+ finalWorld=finalWorld*influence;
175
+ #endif
176
+ #endif
177
+ `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bonesVertexWGSL",0,{name:n,shader:a}],3350);let f="bakedVertexAnimation",d=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
178
+ {
179
+ #ifdef INSTANCES
180
+ let VATStartFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.x;let VATEndFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.y;let VATOffsetFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.z;let VATSpeed: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.w;
181
+ #else
182
+ let VATStartFrame: f32=uniforms.bakedVertexAnimationSettings.x;let VATEndFrame: f32=uniforms.bakedVertexAnimationSettings.y;let VATOffsetFrame: f32=uniforms.bakedVertexAnimationSettings.z;let VATSpeed: f32=uniforms.bakedVertexAnimationSettings.w;
183
+ #endif
184
+ let totalFrames: f32=VATEndFrame-VATStartFrame+1.0;let time: f32=uniforms.bakedVertexAnimationTime*VATSpeed/totalFrames;let frameCorrection: f32=select(1.0,0.0,time<1.0);let numOfFrames: f32=totalFrames-frameCorrection;var VATFrameNum: f32=fract(time)*numOfFrames;VATFrameNum=(VATFrameNum+VATOffsetFrame) % numOfFrames;VATFrameNum=floor(VATFrameNum);VATFrameNum=VATFrameNum+VATStartFrame+frameCorrection;var VATInfluence : mat4x4<f32>;VATInfluence=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndices[0],VATFrameNum)*vertexInputs.matricesWeights[0];
185
+ #if NUM_BONE_INFLUENCERS>1
186
+ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndices[1],VATFrameNum)*vertexInputs.matricesWeights[1];
187
+ #endif
188
+ #if NUM_BONE_INFLUENCERS>2
189
+ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndices[2],VATFrameNum)*vertexInputs.matricesWeights[2];
190
+ #endif
191
+ #if NUM_BONE_INFLUENCERS>3
192
+ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndices[3],VATFrameNum)*vertexInputs.matricesWeights[3];
193
+ #endif
194
+ #if NUM_BONE_INFLUENCERS>4
195
+ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[0],VATFrameNum)*vertexInputs.matricesWeightsExtra[0];
196
+ #endif
197
+ #if NUM_BONE_INFLUENCERS>5
198
+ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[1],VATFrameNum)*vertexInputs.matricesWeightsExtra[1];
199
+ #endif
200
+ #if NUM_BONE_INFLUENCERS>6
201
+ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[2],VATFrameNum)*vertexInputs.matricesWeightsExtra[2];
202
+ #endif
203
+ #if NUM_BONE_INFLUENCERS>7
204
+ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[3],VATFrameNum)*vertexInputs.matricesWeightsExtra[3];
205
+ #endif
206
+ finalWorld=finalWorld*VATInfluence;}
207
+ #endif
208
+ `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["bakedVertexAnimationWGSL",0,{name:f,shader:d}],35845);let o="clipPlaneVertex",s=`#ifdef CLIPPLANE
209
+ vertexOutputs.fClipDistance=dot(worldPos,uniforms.vClipPlane);
210
+ #endif
211
+ #ifdef CLIPPLANE2
212
+ vertexOutputs.fClipDistance2=dot(worldPos,uniforms.vClipPlane2);
213
+ #endif
214
+ #ifdef CLIPPLANE3
215
+ vertexOutputs.fClipDistance3=dot(worldPos,uniforms.vClipPlane3);
216
+ #endif
217
+ #ifdef CLIPPLANE4
218
+ vertexOutputs.fClipDistance4=dot(worldPos,uniforms.vClipPlane4);
219
+ #endif
220
+ #ifdef CLIPPLANE5
221
+ vertexOutputs.fClipDistance5=dot(worldPos,uniforms.vClipPlane5);
222
+ #endif
223
+ #ifdef CLIPPLANE6
224
+ vertexOutputs.fClipDistance6=dot(worldPos,uniforms.vClipPlane6);
225
+ #endif
226
+ `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["clipPlaneVertexWGSL",0,{name:o,shader:s}],3878)},89340,5122,49853,62077,e=>{"use strict";var r=e.i(12423);let t="morphTargetsVertexGlobalDeclaration",i=`#ifdef MORPHTARGETS
227
+ uniform morphTargetInfluences : array<f32,NUM_MORPH_INFLUENCERS>;
228
+ #ifdef MORPHTARGETS_TEXTURE
229
+ uniform morphTargetTextureIndices : array<f32,NUM_MORPH_INFLUENCERS>;uniform morphTargetTextureInfo : vec3<f32>;var morphTargets : texture_2d_array<f32>;fn readVector3FromRawSampler(targetIndex : i32,vertexIndex : f32)->vec3<f32>
230
+ {
231
+ let textureWidth: i32=i32(uniforms.morphTargetTextureInfo.y);let y: i32=i32(vertexIndex)/textureWidth;let x: i32=i32(vertexIndex) % textureWidth;return textureLoad(morphTargets,vec2i(x,y),i32(uniforms.morphTargetTextureIndices[targetIndex]),0).xyz;}
232
+ fn readVector4FromRawSampler(targetIndex : i32,vertexIndex : f32)->vec4<f32>
233
+ {
234
+ let textureWidth: i32=i32(uniforms.morphTargetTextureInfo.y);
235
+ let y: i32=i32(vertexIndex)/textureWidth;let x: i32=i32(vertexIndex) % textureWidth;return textureLoad(morphTargets,vec2i(x,y),i32(uniforms.morphTargetTextureIndices[targetIndex]),0);}
236
+ #endif
237
+ #endif
238
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:t,shader:i}],89340);let n="morphTargetsVertexDeclaration",a=`#ifdef MORPHTARGETS
239
+ #ifndef MORPHTARGETS_TEXTURE
240
+ #ifdef MORPHTARGETS_POSITION
241
+ attribute position{X} : vec3<f32>;
242
+ #endif
243
+ #ifdef MORPHTARGETS_NORMAL
244
+ attribute normal{X} : vec3<f32>;
245
+ #endif
246
+ #ifdef MORPHTARGETS_TANGENT
247
+ attribute tangent{X} : vec3<f32>;
248
+ #endif
249
+ #ifdef MORPHTARGETS_UV
250
+ attribute uv_{X} : vec2<f32>;
251
+ #endif
252
+ #ifdef MORPHTARGETS_UV2
253
+ attribute uv2_{X} : vec2<f32>;
254
+ #endif
255
+ #ifdef MORPHTARGETS_COLOR
256
+ attribute color{X} : vec4<f32>;
257
+ #endif
258
+ #elif {X}==0
259
+ uniform morphTargetCount: f32;
260
+ #endif
261
+ #endif
262
+ `;r.ShaderStore.IncludesShadersStoreWGSL[n]||(r.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:n,shader:a}],5122);let f="morphTargetsVertexGlobal",d=`#ifdef MORPHTARGETS
263
+ #ifdef MORPHTARGETS_TEXTURE
264
+ var vertexID : f32;
265
+ #endif
266
+ #endif
267
+ `;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:d}],49853);let o="morphTargetsVertex",s=`#ifdef MORPHTARGETS
268
+ #ifdef MORPHTARGETS_TEXTURE
269
+ #if {X}==0
270
+ for (var i=0; i<NUM_MORPH_INFLUENCERS; i=i+1) {if (f32(i)>=uniforms.morphTargetCount) {break;}
271
+ #ifdef USE_VERTEX_PULLING
272
+ vertexID=f32(vpVertexIndex)*uniforms.morphTargetTextureInfo.x;
273
+ #else
274
+ vertexID=f32(vertexInputs.vertexIndex)*uniforms.morphTargetTextureInfo.x;
275
+ #endif
276
+ #ifdef MORPHTARGETS_POSITION
277
+ #ifdef USE_VERTEX_PULLING
278
+ positionUpdated=positionUpdated+(readVector3FromRawSampler(i,vertexID)-vp_basePosition)*uniforms.morphTargetInfluences[i];
279
+ #else
280
+ positionUpdated=positionUpdated+(readVector3FromRawSampler(i,vertexID)-vertexInputs.position)*uniforms.morphTargetInfluences[i];
281
+ #endif
282
+ #endif
283
+ #ifdef MORPHTARGETTEXTURE_HASPOSITIONS
284
+ vertexID=vertexID+1.0;
285
+ #endif
286
+ #ifdef MORPHTARGETS_NORMAL
287
+ #ifdef USE_VERTEX_PULLING
288
+ normalUpdated=normalUpdated+(readVector3FromRawSampler(i,vertexID) -vp_baseNormal)*uniforms.morphTargetInfluences[i];
289
+ #else
290
+ normalUpdated=normalUpdated+(readVector3FromRawSampler(i,vertexID) -vertexInputs.normal)*uniforms.morphTargetInfluences[i];
291
+ #endif
292
+ #endif
293
+ #ifdef MORPHTARGETTEXTURE_HASNORMALS
294
+ vertexID=vertexID+1.0;
295
+ #endif
296
+ #ifdef MORPHTARGETS_UV
297
+ #ifdef USE_VERTEX_PULLING
298
+ uvUpdated=uvUpdated+(readVector3FromRawSampler(i,vertexID).xy-vp_baseUV)*uniforms.morphTargetInfluences[i];
299
+ #else
300
+ uvUpdated=uvUpdated+(readVector3FromRawSampler(i,vertexID).xy-vertexInputs.uv)*uniforms.morphTargetInfluences[i];
301
+ #endif
302
+ #endif
303
+ #ifdef MORPHTARGETTEXTURE_HASUVS
304
+ vertexID=vertexID+1.0;
305
+ #endif
306
+ #ifdef MORPHTARGETS_TANGENT
307
+ #ifdef USE_VERTEX_PULLING
308
+ tangentUpdated=vec4f(tangentUpdated.xyz+(readVector3FromRawSampler(i,vertexID) -vp_baseTangent.xyz)*uniforms.morphTargetInfluences[i],tangentUpdated.a);
309
+ #else
310
+ tangentUpdated=vec4f(tangentUpdated.xyz+(readVector3FromRawSampler(i,vertexID) -vertexInputs.tangent.xyz)*uniforms.morphTargetInfluences[i],tangentUpdated.a);
311
+ #endif
312
+ #endif
313
+ #ifdef MORPHTARGETTEXTURE_HASTANGENTS
314
+ vertexID=vertexID+1.0;
315
+ #endif
316
+ #ifdef MORPHTARGETS_UV2
317
+ #ifdef USE_VERTEX_PULLING
318
+ uv2Updated=uv2Updated+(readVector3FromRawSampler(i,vertexID).xy-vp_baseUV2)*uniforms.morphTargetInfluences[i];
319
+ #else
320
+ uv2Updated=uv2Updated+(readVector3FromRawSampler(i,vertexID).xy-vertexInputs.uv2)*uniforms.morphTargetInfluences[i];
321
+ #endif
322
+ #endif
323
+ #ifdef MORPHTARGETS_COLOR
324
+ #ifdef USE_VERTEX_PULLING
325
+ colorUpdated=colorUpdated+(readVector4FromRawSampler(i,vertexID)-vp_baseColor)*uniforms.morphTargetInfluences[i];
326
+ #else
327
+ colorUpdated=colorUpdated+(readVector4FromRawSampler(i,vertexID)-vertexInputs.color)*uniforms.morphTargetInfluences[i];
328
+ #endif
329
+ #endif
330
+ }
331
+ #endif
332
+ #else
333
+ #ifdef MORPHTARGETS_POSITION
334
+ #ifdef USE_VERTEX_PULLING
335
+ positionUpdated=positionUpdated+(vertexInputs.position{X}-vp_basePosition)*uniforms.morphTargetInfluences[{X}];
336
+ #else
337
+ positionUpdated=positionUpdated+(vertexInputs.position{X}-vertexInputs.position)*uniforms.morphTargetInfluences[{X}];
338
+ #endif
339
+ #endif
340
+ #ifdef MORPHTARGETS_NORMAL
341
+ #ifdef USE_VERTEX_PULLING
342
+ normalUpdated=normalUpdated+(vertexInputs.normal{X}-vp_baseNormal)*uniforms.morphTargetInfluences[{X}];
343
+ #else
344
+ normalUpdated=normalUpdated+(vertexInputs.normal{X}-vertexInputs.normal)*uniforms.morphTargetInfluences[{X}];
345
+ #endif
346
+ #endif
347
+ #ifdef MORPHTARGETS_TANGENT
348
+ #ifdef USE_VERTEX_PULLING
349
+ tangentUpdated=vec4f(tangentUpdated.xyz+(vertexInputs.tangent{X}-vp_baseTangent.xyz)*uniforms.morphTargetInfluences[{X}],tangentUpdated.a);
350
+ #else
351
+ tangentUpdated=vec4f(tangentUpdated.xyz+(vertexInputs.tangent{X}-vertexInputs.tangent.xyz)*uniforms.morphTargetInfluences[{X}],tangentUpdated.a);
352
+ #endif
353
+ #endif
354
+ #ifdef MORPHTARGETS_UV
355
+ #ifdef USE_VERTEX_PULLING
356
+ uvUpdated=uvUpdated+(vertexInputs.uv_{X}-vp_baseUV)*uniforms.morphTargetInfluences[{X}];
357
+ #else
358
+ uvUpdated=uvUpdated+(vertexInputs.uv_{X}-vertexInputs.uv)*uniforms.morphTargetInfluences[{X}];
359
+ #endif
360
+ #endif
361
+ #ifdef MORPHTARGETS_UV2
362
+ #ifdef USE_VERTEX_PULLING
363
+ uv2Updated=uv2Updated+(vertexInputs.uv2_{X}-vp_baseUV2)*uniforms.morphTargetInfluences[{X}];
364
+ #else
365
+ uv2Updated=uv2Updated+(vertexInputs.uv2_{X}-vertexInputs.uv2)*uniforms.morphTargetInfluences[{X}];
366
+ #endif
367
+ #endif
368
+ #ifdef MORPHTARGETS_COLOR
369
+ #ifdef USE_VERTEX_PULLING
370
+ colorUpdated=colorUpdated+(vertexInputs.color{X}-vp_baseColor)*uniforms.morphTargetInfluences[{X}];
371
+ #else
372
+ colorUpdated=colorUpdated+(vertexInputs.color{X}-vertexInputs.color)*uniforms.morphTargetInfluences[{X}];
373
+ #endif
374
+ #endif
375
+ #endif
376
+ #endif
377
+ `;r.ShaderStore.IncludesShadersStoreWGSL[o]||(r.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["morphTargetsVertexWGSL",0,{name:o,shader:s}],62077)},78916,e=>{"use strict";var r=e.i(12423);let t="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
378
+ #if defined(TANGENT) && defined(NORMAL)
379
+ var tbnNormal: vec3f=normalize(normalUpdated);var tbnTangent: vec3f=normalize(tangentUpdated.xyz);var tbnBitangent: vec3f=cross(tbnNormal,tbnTangent)*tangentUpdated.w;var matTemp= mat3x3f(finalWorld[0].xyz,finalWorld[1].xyz,finalWorld[2].xyz)* mat3x3f(tbnTangent,tbnBitangent,tbnNormal);vertexOutputs.vTBN0=matTemp[0];vertexOutputs.vTBN1=matTemp[1];vertexOutputs.vTBN2=matTemp[2];
380
+ #endif
381
+ #endif
382
+ `;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=i),e.s(["bumpVertexWGSL",0,{name:t,shader:i}])},14288,e=>{"use strict";var r=e.i(12423),t=e.i(45329),i=e.i(35011),n=e.i(89340),a=e.i(5122),f=e.i(18062),d=e.i(60106),o=e.i(77785),s=e.i(99452),u=e.i(49853),v=e.i(62077),m=e.i(50331),l=e.i(3350),c=e.i(35845),p=e.i(3878),x=e.i(78916);let S="geometryVertexShader",I=`#include<bonesDeclaration>
383
+ #include<bakedVertexAnimationDeclaration>
384
+ #include<morphTargetsVertexGlobalDeclaration>
385
+ #include<morphTargetsVertexDeclaration>[0..maxSimultaneousMorphTargets]
386
+ #include<instancesDeclaration>
387
+ #include<sceneUboDeclaration>
388
+ #include<clipPlaneVertexDeclaration>
389
+ #ifdef IRRADIANCE
390
+ #ifdef REFLECTION
391
+ uniform reflectionMatrix: mat4x4f;uniform vReflectionInfos: vec2f;uniform vReflectionColor: vec3f;
392
+ #ifdef USESPHERICALFROMREFLECTIONMAP
393
+ varying vEnvironmentIrradiance: vec3f;
394
+ #ifdef SPHERICAL_HARMONICS
395
+ uniform vSphericalL00: vec3f;uniform vSphericalL1_1: vec3f;uniform vSphericalL10: vec3f;uniform vSphericalL11: vec3f;uniform vSphericalL2_2: vec3f;uniform vSphericalL2_1: vec3f;uniform vSphericalL20: vec3f;uniform vSphericalL21: vec3f;uniform vSphericalL22: vec3f;
396
+ #else
397
+ uniform vSphericalX: vec3f;uniform vSphericalY: vec3f;uniform vSphericalZ: vec3f;uniform vSphericalXX_ZZ: vec3f;uniform vSphericalYY_ZZ: vec3f;uniform vSphericalZZ: vec3f;uniform vSphericalXY: vec3f;uniform vSphericalYZ: vec3f;uniform vSphericalZX: vec3f;
398
+ #endif
399
+ #include<harmonicsFunctions>
400
+ #endif
401
+ #endif
402
+ #endif
403
+ attribute position : vec3<f32>;
404
+ #ifdef HAS_NORMAL_ATTRIBUTE
405
+ attribute normal: vec3f;
406
+ #endif
407
+ #ifdef NEED_UV
408
+ varying vUV: vec2f;
409
+ #ifdef ALPHATEST
410
+ uniform diffuseMatrix: mat4x4f;
411
+ #endif
412
+ #ifdef BUMP
413
+ uniform bumpMatrix: mat4x4f;varying vBumpUV: vec2f;
414
+ #endif
415
+ #ifdef REFLECTIVITY
416
+ uniform reflectivityMatrix: mat4x4f;uniform albedoMatrix: mat4x4f;varying vReflectivityUV: vec2f;varying vAlbedoUV: vec2f;
417
+ #endif
418
+ #ifdef METALLIC_TEXTURE
419
+ varying vMetallicUV: vec2f;uniform metallicMatrix: mat4x4f;
420
+ #endif
421
+ #ifdef ROUGHNESS_TEXTURE
422
+ varying vRoughnessUV: vec2f;uniform roughnessMatrix: mat4x4f;
423
+ #endif
424
+ #ifdef SUBSURFACE_WEIGHT
425
+ varying vSubsurfaceWeightUV: vec2f;uniform subsurfaceWeightMatrix: mat4x4f;
426
+ #endif
427
+ #ifdef TRANSMISSION_WEIGHT
428
+ varying vTransmissionWeightUV: vec2f;uniform transmissionWeightMatrix: mat4x4f;
429
+ #endif
430
+ #ifdef UV1
431
+ attribute uv: vec2f;
432
+ #endif
433
+ #ifdef UV2
434
+ attribute uv2: vec2f;
435
+ #endif
436
+ #endif
437
+ #ifdef BUMP
438
+ varying vWorldView0: vec4f;varying vWorldView1: vec4f;varying vWorldView2: vec4f;varying vWorldView3: vec4f;
439
+ #endif
440
+ #ifdef BUMP
441
+ varying vNormalW: vec3f;
442
+ #else
443
+ varying vNormalV: vec3f;
444
+ #endif
445
+ varying vViewPos: vec4f;
446
+ #if defined(POSITION) || defined(BUMP) || defined(IRRADIANCE)
447
+ varying vPositionW: vec3f;
448
+ #endif
449
+ #if defined(VELOCITY) || defined(VELOCITY_LINEAR)
450
+ uniform previousViewProjection: mat4x4f;varying vCurrentPosition: vec4f;varying vPreviousPosition: vec4f;
451
+ #endif
452
+ #define CUSTOM_VERTEX_DEFINITIONS
453
+ @vertex
454
+ fn main(input : VertexInputs)->FragmentInputs {var positionUpdated: vec3f=vertexInputs.position;
455
+ #ifdef HAS_NORMAL_ATTRIBUTE
456
+ var normalUpdated: vec3f=vertexInputs.normal;
457
+ #else
458
+ var normalUpdated: vec3f=vec3f(0.0,0.0,0.0);
459
+ #endif
460
+ #ifdef UV1
461
+ var uvUpdated: vec2f=vertexInputs.uv;
462
+ #endif
463
+ #ifdef UV2
464
+ var uv2Updated: vec2f=vertexInputs.uv2;
465
+ #endif
466
+ #include<morphTargetsVertexGlobal>
467
+ #include<morphTargetsVertex>[0..maxSimultaneousMorphTargets]
468
+ #include<instancesVertex>
469
+ #if (defined(VELOCITY) || defined(VELOCITY_LINEAR)) && !defined(BONES_VELOCITY_ENABLED)
470
+ vCurrentPosition=scene.viewProjection*finalWorld*vec4f(positionUpdated,1.0);vPreviousPosition=uniforms.previousViewProjection*finalPreviousWorld* vec4f(positionUpdated,1.0);
471
+ #endif
472
+ #include<bonesVertex>
473
+ #include<bakedVertexAnimation>
474
+ var worldPos: vec4f= vec4f(finalWorld* vec4f(positionUpdated,1.0));
475
+ #ifdef BUMP
476
+ let vWorldView=scene.view*finalWorld;vertexOutputs.vWorldView0=vWorldView[0];vertexOutputs.vWorldView1=vWorldView[1];vertexOutputs.vWorldView2=vWorldView[2];vertexOutputs.vWorldView3=vWorldView[3];let normalWorld: mat3x3f= mat3x3f(finalWorld[0].xyz,finalWorld[1].xyz,finalWorld[2].xyz);vertexOutputs.vNormalW=normalize(normalWorld*normalUpdated);
477
+ #else
478
+ #ifdef NORMAL_WORLDSPACE
479
+ vertexOutputs.vNormalV=normalize((finalWorld* vec4f(normalUpdated,0.0)).xyz);
480
+ #else
481
+ vertexOutputs.vNormalV=normalize(((scene.view*finalWorld)* vec4f(normalUpdated,0.0)).xyz);
482
+ #endif
483
+ #endif
484
+ vertexOutputs.vViewPos=scene.view*worldPos;
485
+ #if (defined(VELOCITY) || defined(VELOCITY_LINEAR)) && defined(BONES_VELOCITY_ENABLED)
486
+ vertexOutputs.vCurrentPosition=scene.viewProjection*finalWorld* vec4f(positionUpdated,1.0);
487
+ #if NUM_BONE_INFLUENCERS>0
488
+ var previousInfluence: mat4x4f;previousInfluence=uniforms.mPreviousBones[ i32(vertexInputs.matricesIndices[0])]*vertexInputs.matricesWeights[0];
489
+ #if NUM_BONE_INFLUENCERS>1
490
+ previousInfluence+=uniforms.mPreviousBones[ i32(vertexInputs.matricesIndices[1])]*vertexInputs.matricesWeights[1];
491
+ #endif
492
+ #if NUM_BONE_INFLUENCERS>2
493
+ previousInfluence+=uniforms.mPreviousBones[ i32(vertexInputs.matricesIndices[2])]*vertexInputs.matricesWeights[2];
494
+ #endif
495
+ #if NUM_BONE_INFLUENCERS>3
496
+ previousInfluence+=uniforms.mPreviousBones[ i32(vertexInputs.matricesIndices[3])]*vertexInputs.matricesWeights[3];
497
+ #endif
498
+ #if NUM_BONE_INFLUENCERS>4
499
+ previousInfluence+=uniforms.mPreviousBones[ i32(vertexInputs.matricesIndicesExtra[0])]*vertexInputs.matricesWeightsExtra[0];
500
+ #endif
501
+ #if NUM_BONE_INFLUENCERS>5
502
+ previousInfluence+=uniforms.mPreviousBones[ i32(vertexInputs.matricesIndicesExtra[1])]*vertexInputs.matricesWeightsExtra[1];
503
+ #endif
504
+ #if NUM_BONE_INFLUENCERS>6
505
+ previousInfluence+=uniforms.mPreviousBones[ i32(vertexInputs.matricesIndicesExtra[2])]*vertexInputs.matricesWeightsExtra[2];
506
+ #endif
507
+ #if NUM_BONE_INFLUENCERS>7
508
+ previousInfluence+=uniforms.mPreviousBones[ i32(vertexInputs.matricesIndicesExtra[3])]*vertexInputs.matricesWeightsExtra[3];
509
+ #endif
510
+ vertexOutputs.vPreviousPosition=uniforms.previousViewProjection*finalPreviousWorld*previousInfluence* vec4f(positionUpdated,1.0);
511
+ #else
512
+ vertexOutputs.vPreviousPosition=uniforms.previousViewProjection*finalPreviousWorld* vec4f(positionUpdated,1.0);
513
+ #endif
514
+ #endif
515
+ #if defined(POSITION) || defined(BUMP) || defined(IRRADIANCE)
516
+ vertexOutputs.vPositionW=worldPos.xyz/worldPos.w;
517
+ #endif
518
+ vertexOutputs.position=scene.viewProjection*finalWorld* vec4f(positionUpdated,1.0);
519
+ #include<clipPlaneVertex>
520
+ #ifdef NEED_UV
521
+ #ifdef UV1
522
+ #if defined(ALPHATEST) && defined(ALPHATEST_UV1)
523
+ vertexOutputs.vUV=(uniforms.diffuseMatrix* vec4f(uvUpdated,1.0,0.0)).xy;
524
+ #else
525
+ vertexOutputs.vUV=uvUpdated;
526
+ #endif
527
+ #ifdef BUMP_UV1
528
+ vertexOutputs.vBumpUV=(uniforms.bumpMatrix* vec4f(uvUpdated,1.0,0.0)).xy;
529
+ #endif
530
+ #ifdef REFLECTIVITY_UV1
531
+ vertexOutputs.vReflectivityUV=(uniforms.reflectivityMatrix* vec4f(uvUpdated,1.0,0.0)).xy;
532
+ #else
533
+ #ifdef METALLIC_UV1
534
+ vertexOutputs.vMetallicUV=(uniforms.metallicMatrix* vec4f(uvUpdated,1.0,0.0)).xy;
535
+ #endif
536
+ #ifdef ROUGHNESS_UV1
537
+ vertexOutputs.vRoughnessUV=(uniforms.roughnessMatrix* vec4f(uvUpdated,1.0,0.0)).xy;
538
+ #endif
539
+ #endif
540
+ #ifdef ALBEDO_UV1
541
+ vertexOutputs.vAlbedoUV=(uniforms.albedoMatrix* vec4f(uvUpdated,1.0,0.0)).xy;
542
+ #endif
543
+ #ifdef SUBSURFACE_WEIGHT_UV1
544
+ vertexOutputs.vSubsurfaceWeightUV=(uniforms.subsurfaceWeightMatrix* vec4f(uvUpdated,1.0,0.0)).xy;
545
+ #endif
546
+ #ifdef TRANSMISSION_WEIGHT_UV1
547
+ vertexOutputs.vTransmissionWeightUV=(uniforms.transmissionWeightMatrix* vec4f(uvUpdated,1.0,0.0)).xy;
548
+ #endif
549
+ #endif
550
+ #ifdef UV2
551
+ #if defined(ALPHATEST) && defined(ALPHATEST_UV2)
552
+ vertexOutputs.vUV=(uniforms.diffuseMatrix* vec4f(uv2Updated,1.0,0.0)).xy;
553
+ #else
554
+ vertexOutputs.vUV=uv2Updated;
555
+ #endif
556
+ #ifdef BUMP_UV2
557
+ vertexOutputs.vBumpUV=(uniforms.bumpMatrix* vec4f(uv2Updated,1.0,0.0)).xy;
558
+ #endif
559
+ #ifdef REFLECTIVITY_UV2
560
+ vertexOutputs.vReflectivityUV=(uniforms.reflectivityMatrix* vec4f(uv2Updated,1.0,0.0)).xy;
561
+ #else
562
+ #ifdef METALLIC_UV2
563
+ vertexOutputs.vMetallicUV=(uniforms.metallicMatrix* vec4f(uv2Updated,1.0,0.0)).xy;
564
+ #endif
565
+ #ifdef ROUGHNESS_UV2
566
+ vertexOutputs.vRoughnessUV=(uniforms.roughnessMatrix* vec4f(uv2Updated,1.0,0.0)).xy;
567
+ #endif
568
+ #endif
569
+ #ifdef ALBEDO_UV2
570
+ vertexOutputs.vAlbedoUV=(uniforms.albedoMatrix* vec4f(uv2Updated,1.0,0.0)).xy;
571
+ #endif
572
+ #ifdef SUBSURFACE_WEIGHT_UV2
573
+ vertexOutputs.vSubsurfaceWeightUV=(uniforms.subsurfaceWeightMatrix* vec4f(uv2Updated,1.0,0.0)).xy;
574
+ #endif
575
+ #ifdef TRANSMISSION_WEIGHT_UV2
576
+ vertexOutputs.vTransmissionWeightUV=(uniforms.transmissionWeightMatrix* vec4f(uv2Updated,1.0,0.0)).xy;
577
+ #endif
578
+ #endif
579
+ #endif
580
+ #include<bumpVertex>
581
+ #ifdef IRRADIANCE
582
+ #ifdef REFLECTION
583
+ #ifdef USESPHERICALFROMREFLECTIONMAP
584
+ var reflectionVector: vec3f=(uniforms.reflectionMatrix*vec4f(normalUpdated,0.0)).xyz;
585
+ #ifdef REFLECTIONMAP_OPPOSITEZ
586
+ reflectionVector.z*=-1.0f;
587
+ #endif
588
+ vertexOutputs.vEnvironmentIrradiance=computeEnvironmentIrradiance(reflectionVector)*uniforms.vReflectionInfos.x;
589
+ #endif
590
+ #endif
591
+ #endif
592
+ }
593
+ `;for(let e of(r.ShaderStore.ShadersStoreWGSL[S]||(r.ShaderStore.ShadersStoreWGSL[S]=I),[t.bonesDeclarationWGSL,i.bakedVertexAnimationDeclarationWGSL,n.morphTargetsVertexGlobalDeclarationWGSL,a.morphTargetsVertexDeclarationWGSL,f.instancesDeclarationWGSL,d.sceneUboDeclarationWGSL,o.clipPlaneVertexDeclarationWGSL,s.harmonicsFunctionsWGSL,u.morphTargetsVertexGlobalWGSL,v.morphTargetsVertexWGSL,m.instancesVertexWGSL,l.bonesVertexWGSL,c.bakedVertexAnimationWGSL,p.clipPlaneVertexWGSL,x.bumpVertexWGSL]))r.ShaderStore.IncludesShadersStoreWGSL[e.name]||(r.ShaderStore.IncludesShadersStoreWGSL[e.name]=e.shader);e.s(["geometryVertexShaderWGSL",0,{name:S,shader:I}])}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,28283,e=>{"use strict";var t=e.i(55491),i=e.i(77052);class s extends t.FlowGraphExecutionBlock{constructor(e){super(e),this.config=e,this.executionSignals=[],this.setNumberOfOutputSignals(this.config.outputSignalCount)}_execute(e){for(let t=0;t<this.executionSignals.length;t++)this.executionSignals[t]._activateSignal(e)}setNumberOfOutputSignals(e=1){for(;this.executionSignals.length>e;){let e=this.executionSignals.pop();e&&(e.disconnectFromAll(),this._unregisterSignalOutput(e.name))}for(;this.executionSignals.length<e;)this.executionSignals.push(this._registerSignalOutput(`out_${this.executionSignals.length}`))}getClassName(){return"FlowGraphSequenceBlock"}}let n=!1;function l(){n||(n=!0,(0,i.RegisterClass)("FlowGraphSequenceBlock",s))}e.s(["FlowGraphSequenceBlock",0,s,"RegisterFlowGraphSequenceBlock",0,l],9641),l(),e.s([],91187),e.i(91187),e.i(9641),e.s(["FlowGraphSequenceBlock",0,s],28283)}]);
@@ -29,7 +29,7 @@ attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
29
29
  fn readMatrixFromRawSamplerVAT(smp : texture_2d<f32>,index : f32,frame : f32)->mat4x4<f32>
30
30
  {let offset=i32(index)*4;let frameUV=i32(frame);let m0=textureLoad(smp,vec2<i32>(offset+0,frameUV),0);let m1=textureLoad(smp,vec2<i32>(offset+1,frameUV),0);let m2=textureLoad(smp,vec2<i32>(offset+2,frameUV),0);let m3=textureLoad(smp,vec2<i32>(offset+3,frameUV),0);return mat4x4<f32>(m0,m1,m2,m3);}
31
31
  #endif
32
- `;t.ShaderStore.IncludesShadersStoreWGSL[n]||(t.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:n,shader:a}],35011)},77785,75234,e=>{"use strict";var t=e.i(12423);let r="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
32
+ `;t.ShaderStore.IncludesShadersStoreWGSL[n]||(t.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:n,shader:a}],35011)},77785,e=>{"use strict";var t=e.i(12423);let r="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
33
33
  uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
34
34
  #endif
35
35
  #ifdef CLIPPLANE2
@@ -47,10 +47,7 @@ uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
47
47
  #ifdef CLIPPLANE6
48
48
  uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
49
49
  #endif
50
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:r,shader:i}],77785);let n="fogVertexDeclaration",a=`#ifdef FOG
51
- varying vFogDistance: vec3f;
52
- #endif
53
- `;t.ShaderStore.IncludesShadersStoreWGSL[n]||(t.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["fogVertexDeclarationWGSL",0,{name:n,shader:a}],75234)},18062,e=>{"use strict";var t=e.i(12423);let r="instancesDeclaration",i=`#ifdef INSTANCES
50
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:r,shader:i}])},18062,e=>{"use strict";var t=e.i(12423);let r="instancesDeclaration",i=`#ifdef INSTANCES
54
51
  attribute world0 : vec4<f32>;attribute world1 : vec4<f32>;attribute world2 : vec4<f32>;attribute world3 : vec4<f32>;
55
52
  #ifdef INSTANCESCOLOR
56
53
  attribute instanceColor : vec4<f32>;
@@ -72,7 +69,7 @@ uniform world : mat4x4<f32>;
72
69
  uniform previousWorld : mat4x4<f32>;
73
70
  #endif
74
71
  #endif
75
- `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["instancesDeclarationWGSL",0,{name:r,shader:i}])},50331,3350,35845,3878,42893,8154,e=>{"use strict";var t=e.i(12423);let r="instancesVertex",i=`#ifdef INSTANCES
72
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["instancesDeclarationWGSL",0,{name:r,shader:i}])},50331,3350,35845,3878,e=>{"use strict";var t=e.i(12423);let r="instancesVertex",i=`#ifdef INSTANCES
76
73
  var finalWorld=mat4x4<f32>(vertexInputs.world0,vertexInputs.world1,vertexInputs.world2,vertexInputs.world3);
77
74
  #if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
78
75
  var finalPreviousWorld=mat4x4<f32>(
@@ -201,14 +198,17 @@ vertexOutputs.fClipDistance5=dot(worldPos,uniforms.vClipPlane5);
201
198
  #ifdef CLIPPLANE6
202
199
  vertexOutputs.fClipDistance6=dot(worldPos,uniforms.vClipPlane6);
203
200
  #endif
204
- `;t.ShaderStore.IncludesShadersStoreWGSL[s]||(t.ShaderStore.IncludesShadersStoreWGSL[s]=o),e.s(["clipPlaneVertexWGSL",0,{name:s,shader:o}],3878);let l="fogVertex",u=`#ifdef FOG
201
+ `;t.ShaderStore.IncludesShadersStoreWGSL[s]||(t.ShaderStore.IncludesShadersStoreWGSL[s]=o),e.s(["clipPlaneVertexWGSL",0,{name:s,shader:o}],3878)},75234,42893,8154,e=>{"use strict";var t=e.i(12423);let r="fogVertexDeclaration",i=`#ifdef FOG
202
+ varying vFogDistance: vec3f;
203
+ #endif
204
+ `;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["fogVertexDeclarationWGSL",0,{name:r,shader:i}],75234);let n="fogVertex",a=`#ifdef FOG
205
205
  #ifdef SCENE_UBO
206
206
  vertexOutputs.vFogDistance=(scene.view*worldPos).xyz;
207
207
  #else
208
208
  vertexOutputs.vFogDistance=(uniforms.view*worldPos).xyz;
209
209
  #endif
210
210
  #endif
211
- `;t.ShaderStore.IncludesShadersStoreWGSL[l]||(t.ShaderStore.IncludesShadersStoreWGSL[l]=u),e.s(["fogVertexWGSL",0,{name:l,shader:u}],42893);let m="vertexColorMixing",c=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
211
+ `;t.ShaderStore.IncludesShadersStoreWGSL[n]||(t.ShaderStore.IncludesShadersStoreWGSL[n]=a),e.s(["fogVertexWGSL",0,{name:n,shader:a}],42893);let f="vertexColorMixing",d=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
212
212
  vertexOutputs.vColor=vec4f(1.0);
213
213
  #ifdef VERTEXCOLOR
214
214
  #ifdef VERTEXALPHA
@@ -221,7 +221,7 @@ vertexOutputs.vColor=vec4f(vertexOutputs.vColor.rgb*colorUpdated.rgb,vertexOutpu
221
221
  vertexOutputs.vColor*=vertexInputs.instanceColor;
222
222
  #endif
223
223
  #endif
224
- `;t.ShaderStore.IncludesShadersStoreWGSL[m]||(t.ShaderStore.IncludesShadersStoreWGSL[m]=c),e.s(["vertexColorMixingWGSL",0,{name:m,shader:c}],8154)},65644,e=>{"use strict";var t=e.i(12423),r=e.i(45329),i=e.i(35011),n=e.i(77785),a=e.i(75234),f=e.i(18062),d=e.i(50331),s=e.i(3350),o=e.i(35845),l=e.i(3878),u=e.i(42893),m=e.i(8154);let c="colorVertexShader",S=`attribute position: vec3f;
224
+ `;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["vertexColorMixingWGSL",0,{name:f,shader:d}],8154)},65644,e=>{"use strict";var t=e.i(12423),r=e.i(45329),i=e.i(35011),n=e.i(77785),a=e.i(75234),f=e.i(18062),d=e.i(50331),s=e.i(3350),o=e.i(35845),l=e.i(3878),u=e.i(42893),m=e.i(8154);let c="colorVertexShader",S=`attribute position: vec3f;
225
225
  #ifdef VERTEXCOLOR
226
226
  attribute color: vec4f;
227
227
  #endif
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,48983,e=>{"use strict";var t=e.i(25742),s=e.i(5110),i=e.i(77052);class r extends t.FlowGraphBlock{constructor(e){super(e),this.userVariables=this.registerDataOutput("userVariables",s.RichTypeAny),this.executionId=this.registerDataOutput("executionId",s.RichTypeNumber)}_updateOutputs(e){this.userVariables.setValue(e.userVariables,e),this.executionId.setValue(e.executionId,e)}serialize(e){super.serialize(e)}getClassName(){return"FlowGraphContextBlock"}}let o=!1;function a(){o||(o=!0,(0,i.RegisterClass)("FlowGraphContextBlock",r))}e.s(["FlowGraphContextBlock",0,r,"RegisterFlowGraphContextBlock",0,a],37665),a(),e.s([],76860),e.i(76860),e.i(37665),e.s(["FlowGraphContextBlock",0,r],48983)}]);
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,20284,t=>{"use strict";var e=t.i(55491),i=t.i(5110),s=t.i(65487),n=t.i(77052);class l extends e.FlowGraphExecutionBlock{constructor(t){super(t),this.config=t,this.outputSignals=[],this.reset=this._registerSignalInput("reset"),this.lastIndex=this.registerDataOutput("lastIndex",i.RichTypeFlowGraphInteger,new s.FlowGraphInteger(-1)),this.setNumberOfOutputSignals(t?.outputSignalCount)}_getNextIndex(t){if(!t.includes(!1)&&this.config.isLoop&&t.fill(!1),!this.config.isRandom)return t.indexOf(!1);{let e=t.map((t,e)=>t?-1:e).filter(t=>-1!==t);return e.length?e[Math.floor(Math.random()*e.length)]:-1}}setNumberOfOutputSignals(t=1){for(;this.outputSignals.length>t;){let t=this.outputSignals.pop();t&&(t.disconnectFromAll(),this._unregisterSignalOutput(t.name))}for(;this.outputSignals.length<t;)this.outputSignals.push(this._registerSignalOutput(`out_${this.outputSignals.length}`))}_execute(t,e){if(t._hasExecutionVariable(this,"indexesUsed")||t._setExecutionVariable(this,"indexesUsed",this.outputSignals.map(()=>!1)),e===this.reset){t._deleteExecutionVariable(this,"indexesUsed"),this.lastIndex.setValue(new s.FlowGraphInteger(-1),t);return}let i=t._getExecutionVariable(this,"indexesUsed",[]),n=this._getNextIndex(i);n>-1&&(this.lastIndex.setValue(new s.FlowGraphInteger(n),t),i[n]=!0,t._setExecutionVariable(this,"indexesUsed",i),this.outputSignals[n]._activateSignal(t))}getClassName(){return"FlowGraphMultiGateBlock"}serialize(t){super.serialize(t),t.config.outputSignalCount=this.config.outputSignalCount,t.config.isRandom=this.config.isRandom,t.config.loop=this.config.isLoop,t.config.startIndex=this.config.startIndex}}let o=!1;function a(){o||(o=!0,(0,n.RegisterClass)("FlowGraphMultiGateBlock",l))}t.s(["FlowGraphMultiGateBlock",0,l,"RegisterFlowGraphMultiGateBlock",0,a],99491),a(),t.s([],19777),t.i(19777),t.i(99491),t.s(["FlowGraphMultiGateBlock",0,l],20284)}]);