@uptimizr/dashboard 0.4.6 → 0.4.8
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/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +19 -5
- package/out/__next._full.txt +10 -10
- package/out/__next._tree.txt +1 -1
- package/out/_next/static/chunks/{3cp5nmtwxq4gr.js → 0-6mdj5wxsfid.js} +1 -1
- package/out/_next/static/chunks/{2clevl_9ayd0x.js → 0-qthfqvm1jyj.js} +1 -1
- package/out/_next/static/chunks/01viyuclp2gm9.js +1 -0
- package/out/_next/static/chunks/02aym4t2hgo5c.js +1 -0
- package/out/_next/static/chunks/{1fervgvgv10r-.js → 02ic9b5ejugow.js} +1 -1
- package/out/_next/static/chunks/03p70i4c7qt0v.js +1 -0
- package/out/_next/static/chunks/{3zv5kyos9vtmm.js → 03pjr-ivdicng.js} +1 -1
- package/out/_next/static/chunks/041a06-lxipy5.js +1 -0
- package/out/_next/static/chunks/{3-yhe6rcsjh88.js → 06dzkwetqis-5.js} +1 -1
- package/out/_next/static/chunks/{2mjjo0yj-4ro4.js → 06kvanz5-fo52.js} +1 -1
- package/out/_next/static/chunks/{28i3wgvgn_at1.js → 07y8ke_iy59dn.js} +1 -1
- package/out/_next/static/chunks/09jukc-4jl735.js +1 -0
- package/out/_next/static/chunks/{0cmyc-uvk93kl.js → 09khmdgez3t0a.js} +74 -74
- package/out/_next/static/chunks/{2x-7kbwq8tl-o.js → 0_dca4876jshu.js} +196 -196
- package/out/_next/static/chunks/0axcgnl5qzr6e.js +1 -0
- package/out/_next/static/chunks/0ay4fjomijs3n.js +1 -0
- package/out/_next/static/chunks/0c7fy79wlccat.js +1 -0
- package/out/_next/static/chunks/0cqe4-l3imct3.js +1 -0
- package/out/_next/static/chunks/0cssvelju788j.js +1 -0
- package/out/_next/static/chunks/{2-_a-v1xeo5hb.js → 0ctain5xq2wsd.js} +116 -115
- package/out/_next/static/chunks/{3yk0hzfq5rcs6.js → 0df-dr3otg_4w.js} +1 -1
- package/out/_next/static/chunks/{0i9wa8hjd-5tc.js → 0endw997j7ao9.js} +1 -1
- package/out/_next/static/chunks/0ev_pbit1v_qg.js +1 -0
- package/out/_next/static/chunks/0eyw9oiwipywb.js +1 -0
- package/out/_next/static/chunks/0fkzbuo1tex4u.js +1 -0
- package/out/_next/static/chunks/0govas0u0t4w3.js +1 -0
- package/out/_next/static/chunks/{287hakn2ijupp.js → 0guzhnususp3-.js} +2 -2
- package/out/_next/static/chunks/0h7bq_ysu17q7.js +3 -0
- package/out/_next/static/chunks/0hneh_3xzlo28.js +1 -0
- package/out/_next/static/chunks/0iaqwme19z_0s.js +1 -0
- package/out/_next/static/chunks/0ibmar10xndpn.js +1 -0
- package/out/_next/static/chunks/0ii8mqoteppgh.js +11 -0
- package/out/_next/static/chunks/{3ioxfi3bvznhh.js → 0ip6v64di_l6x.js} +1 -1
- package/out/_next/static/chunks/{184pz6z3dflfm.js → 0ixymgjgz3grn.js} +20 -20
- package/out/_next/static/chunks/0kuah8g7lt5ox.js +1 -0
- package/out/_next/static/chunks/0l3k4j19vxm17.js +1 -0
- package/out/_next/static/chunks/0l6hg0ohwh9-m.js +1 -0
- package/out/_next/static/chunks/0m4um4ylhlfan.js +1 -0
- package/out/_next/static/chunks/0mj837d4h0ddq.js +1 -0
- package/out/_next/static/chunks/0nyn-f4905o91.js +1 -0
- package/out/_next/static/chunks/0og6i9rsgkuif.js +1 -0
- package/out/_next/static/chunks/0os1x-fxzgnxs.js +1 -0
- package/out/_next/static/chunks/0otnra7mp0hog.js +1 -0
- package/out/_next/static/chunks/{3p03l0z65c8vc.js → 0oyf2xzv8ofkk.js} +253 -253
- package/out/_next/static/chunks/0qvsy3gcqjm12.js +1 -0
- package/out/_next/static/chunks/{0yd4_xh476fjn.js → 0rl4ddh2vgxyl.js} +97 -97
- package/out/_next/static/chunks/0rwpttmsmqvn_.js +1 -0
- package/out/_next/static/chunks/0so3wjp9ch93y.js +1 -0
- package/out/_next/static/chunks/{36pz_ews7u0xb.js → 0te4g160_rb5d.js} +1 -1
- package/out/_next/static/chunks/0uby-zvu799ef.js +1 -0
- package/out/_next/static/chunks/{2kk_vvmr2xm3d.js → 0uvn0op2mlr2u.js} +12 -12
- package/out/_next/static/chunks/0vwj4hxjm0igv.js +1 -0
- package/out/_next/static/chunks/{0r-x702_jvhud.js → 0w7c30w07uct2.js} +12 -12
- package/out/_next/static/chunks/0wm38z3u2133a.js +1 -0
- package/out/_next/static/chunks/0y7yk5al7_p8q.js +4 -0
- package/out/_next/static/chunks/0ycr0gi6fn6bt.js +1 -0
- package/out/_next/static/chunks/0ywvahq9t0tki.js +1 -0
- package/out/_next/static/chunks/0zh6nslagkby-.js +1 -0
- package/out/_next/static/chunks/{3twr9ds68-9us.js → 0zo8xa0nej3ex.js} +1 -1
- package/out/_next/static/chunks/{1lu7rjfvxj8yj.js → 0zsir95gpf3xw.js} +1 -1
- package/out/_next/static/chunks/{1j4c0nvdo5q68.js → 0zu6ryyj0ig-j.js} +1 -1
- package/out/_next/static/chunks/{1bv-jzy_2jiqs.js → 1-jv8k10q_1uw.js} +1 -1
- package/out/_next/static/chunks/{0xx7_7y5jdlh4.js → 1-s5ioie9a94e.js} +1 -1
- package/out/_next/static/chunks/{27z7j17kcrty_.js → 1-yos1h0qws5e.js} +11 -11
- package/out/_next/static/chunks/10o7brc3x027r.js +1 -0
- package/out/_next/static/chunks/{2xe4bgir5l-9b.js → 10pae4gb9i929.js} +504 -504
- package/out/_next/static/chunks/13p93itm8a3ym.js +1 -0
- package/out/_next/static/chunks/{2mrkv0z2i74pv.js → 147s8i_lktp4_.js} +2 -2
- package/out/_next/static/chunks/{3nwaovnpiyrt8.js → 14tgo5xt_3j4w.js} +3 -3
- package/out/_next/static/chunks/1699hx-vlak0n.js +22 -0
- package/out/_next/static/chunks/{2b5nt7yn-pq3a.js → 16d6n9e77rqti.js} +1 -1
- package/out/_next/static/chunks/{3nr48h9zwum-3.js → 16f3d5dv83rsr.js} +1 -1
- package/out/_next/static/chunks/16i_tpwn_cmr-.js +1 -0
- package/out/_next/static/chunks/{2117sv2qzo6yq.js → 16rfr165nbha0.js} +1 -1
- package/out/_next/static/chunks/16sl51pvzo4tf.js +1 -0
- package/out/_next/static/chunks/1760s-32qpwgg.js +1 -0
- package/out/_next/static/chunks/{3rj-5v0j_2-_2.js → 18kq07c5xy_4g.js} +4 -4
- package/out/_next/static/chunks/{2wgh5i70bzelt.js → 190tbzt861ao3.js} +392 -392
- package/out/_next/static/chunks/19bhv6cupnnyj.js +1 -0
- package/out/_next/static/chunks/1_14pn2wwebxy.js +1 -0
- package/out/_next/static/chunks/{2_lw4d7t-xcqi.js → 1_kikmeubh0wq.js} +523 -522
- package/out/_next/static/chunks/1ay3z6agelsvz.js +1 -0
- package/out/_next/static/chunks/1b-fi3bfmpe31.js +1 -0
- package/out/_next/static/chunks/1bae3tqv53x9_.js +1 -0
- package/out/_next/static/chunks/{2s4fzgzkwjluu.js → 1bf421g4peccx.js} +2 -2
- package/out/_next/static/chunks/1bfony5qsc5tp.js +1 -0
- package/out/_next/static/chunks/{3vtmucpx25o7q.js → 1ddt0ot7kl8vq.js} +584 -584
- package/out/_next/static/chunks/1emz2vjkgck4z.js +1 -0
- package/out/_next/static/chunks/1eogzzw8i1wsg.js +1 -0
- package/out/_next/static/chunks/1g9p2h1-31q8o.js +1 -0
- package/out/_next/static/chunks/1gcz1k1v1woca.js +1 -0
- package/out/_next/static/chunks/1h8lyicgqhpxa.js +1 -0
- package/out/_next/static/chunks/{0e5dcxmkprebg.js → 1hot663akaepl.js} +1 -1
- package/out/_next/static/chunks/1i7pgl3ks5ye0.js +1 -0
- package/out/_next/static/chunks/{0xzamrecplwzw.js → 1i8sk_qgpdjhs.js} +1 -1
- package/out/_next/static/chunks/1kk3ct7pkpf3b.js +1 -0
- package/out/_next/static/chunks/1kq9o8del67le.js +1 -0
- package/out/_next/static/chunks/1l7tzyx2mumlq.js +1 -0
- package/out/_next/static/chunks/1n_uwed9o--go.js +1 -0
- package/out/_next/static/chunks/1o351eldttogn.js +1 -0
- package/out/_next/static/chunks/{1f07l3q77zat1.js → 1ogs4_aj84bfn.js} +1 -1
- package/out/_next/static/chunks/{3_dm45k0vk1aa.js → 1p206txlluipi.js} +565 -565
- package/out/_next/static/chunks/1p2bt1w845v6c.js +1 -0
- package/out/_next/static/chunks/1p3rgz4aef1gk.js +1 -0
- package/out/_next/static/chunks/{0ypejzd74ixbw.js → 1qcgdx9yl0gfx.js} +15 -15
- package/out/_next/static/chunks/1ql3mm2w5r-m8.js +1 -0
- package/out/_next/static/chunks/1qvcyuyshi3ll.js +53 -0
- package/out/_next/static/chunks/1r0yyg5a_0knc.js +1 -0
- package/out/_next/static/chunks/{374lzksboll-t.js → 1sa6qiidtcyk2.js} +1 -1
- package/out/_next/static/chunks/1t-9vrdrsi8le.js +1 -0
- package/out/_next/static/chunks/1t97zo0tlpbnz.js +1 -0
- package/out/_next/static/chunks/1te2tinzqnwck.js +1 -0
- package/out/_next/static/chunks/{3j3ol_d1vsdhx.js → 1trt-m2nrck0v.js} +1 -1
- package/out/_next/static/chunks/{3vu5y270muh-7.js → 1ty9jpwr3o_st.js} +1 -1
- package/out/_next/static/chunks/{415g3asdds1ac.js → 1u6w6veke8rze.js} +1 -1
- package/out/_next/static/chunks/{0-laj-bivzp4x.js → 1u900urmrbv73.js} +1 -1
- package/out/_next/static/chunks/{0o73w0cn5n_vl.js → 1vz2gd8k74lpi.js} +1 -1
- package/out/_next/static/chunks/1wkpl9bfb0wn7.js +1 -0
- package/out/_next/static/chunks/1wrly9a9c3teq.js +1 -0
- package/out/_next/static/chunks/1x0m05155yy4e.js +1 -0
- package/out/_next/static/chunks/{1my968s78he8g.js → 1xf1wfow43ekc.js} +15 -15
- package/out/_next/static/chunks/1y10o40v9odam.js +1 -0
- package/out/_next/static/chunks/{3_gfl66zf638s.js → 1y_zykt3fpen4.js} +901 -906
- package/out/_next/static/chunks/1ye6xtbm16pg4.js +1 -0
- package/out/_next/static/chunks/1z6_57k5h31u7.js +1 -0
- package/out/_next/static/chunks/1zboqft0h6mop.js +1 -0
- package/out/_next/static/chunks/1zr3c351x0ri5.js +1 -0
- package/out/_next/static/chunks/2-5p2lcedvrli.js +1 -0
- package/out/_next/static/chunks/{1_4hh3dfop93j.js → 206hxrq60f1_e.js} +1 -1
- package/out/_next/static/chunks/20r05k3-studj.js +1 -0
- package/out/_next/static/chunks/22gs24kj2du56.js +1 -0
- package/out/_next/static/chunks/22x5pd1gyp7sf.js +1 -0
- package/out/_next/static/chunks/{3qo7e6b73mfxq.js → 22z-2t_yp1jzs.js} +1 -1
- package/out/_next/static/chunks/{3d43gd91r06y6.js → 23hmfdw6z5zfy.js} +507 -505
- package/out/_next/static/chunks/23y1krqnc-8sm.js +1 -0
- package/out/_next/static/chunks/{0gk5rnci1hznh.js → 24tbkj1qkux88.js} +2 -2
- package/out/_next/static/chunks/{2-i29-jdbwww6.js → 26cmri51v7497.js} +111 -111
- package/out/_next/static/chunks/27jalbk9zu-2b.js +1 -0
- package/out/_next/static/chunks/285d2s9096ryc.js +1 -0
- package/out/_next/static/chunks/296ykep2nvppv.js +1 -0
- package/out/_next/static/chunks/29nehg5cal-ug.js +1 -0
- package/out/_next/static/chunks/2_a56_k3x7to6.js +1 -0
- package/out/_next/static/chunks/2a-0l6eb1blh3.js +4 -0
- package/out/_next/static/chunks/{2oacwtbslo90t.js → 2a31-txop1jzg.js} +360 -360
- package/out/_next/static/chunks/2bse5vll1o-x0.js +1 -0
- package/out/_next/static/chunks/2ct40spu9wfj7.js +1 -0
- package/out/_next/static/chunks/{2epukrz6paj9n.js → 2ept01b7t-e03.js} +1 -1
- package/out/_next/static/chunks/{22yht3s7c-xih.js → 2ey5dqelco_g5.js} +1 -1
- package/out/_next/static/chunks/2fd_009hw7y0m.js +1 -0
- package/out/_next/static/chunks/{2fspbfbxbswzd.js → 2ftz9kaxrsgxh.js} +1 -1
- package/out/_next/static/chunks/2gefdnozflr7p.js +1 -0
- package/out/_next/static/chunks/{2as_br1awqk6k.js → 2gs-u1n5uv7iz.js} +496 -496
- package/out/_next/static/chunks/{1a94whad0y57f.js → 2hizqql79u-54.js} +1 -1
- package/out/_next/static/chunks/2iqf2dpdg_vfl.js +1 -0
- package/out/_next/static/chunks/2j7z127s_ycjd.js +1 -0
- package/out/_next/static/chunks/2kax7uslfxdnx.js +31 -0
- package/out/_next/static/chunks/{2laz1v9fg2a2z.js → 2lh_w9rzy3vek.js} +1 -1
- package/out/_next/static/chunks/{3mmy9zsb7zo-m.js → 2ln1na26qwp-3.js} +23 -23
- package/out/_next/static/chunks/2n08l1q5o_27e.js +1 -0
- package/out/_next/static/chunks/2n7268gyd9z-6.js +1 -0
- package/out/_next/static/chunks/2nq9cgjmtqwvp.js +1 -0
- package/out/_next/static/chunks/{25brs445bjbik.js → 2oj8qc_pv14nk.js} +2 -2
- package/out/_next/static/chunks/2q24e72-olbe8.js +1 -0
- package/out/_next/static/chunks/2qc4hscs26cro.js +1 -0
- package/out/_next/static/chunks/2qe46redkqhfg.js +1 -0
- package/out/_next/static/chunks/2qmfe0mqw150h.js +1 -0
- package/out/_next/static/chunks/2qtc0nbl_521e.js +1 -0
- package/out/_next/static/chunks/2rofu6gu1xzuq.js +1 -0
- package/out/_next/static/chunks/2tdi94rkq739i.js +1 -0
- package/out/_next/static/chunks/2u_2sacqa9xa7.js +1 -0
- package/out/_next/static/chunks/2ujqz6088shm5.js +1 -0
- package/out/_next/static/chunks/{3my05px5mv_s5.js → 2urh9qafp3fiw.js} +235 -235
- package/out/_next/static/chunks/{23-y1f_zw56vo.js → 2v06n4z8wsmn9.js} +1 -1
- package/out/_next/static/chunks/2vp-5skbk1nfu.js +1 -0
- package/out/_next/static/chunks/2vu973j_n6cpx.js +1 -0
- package/out/_next/static/chunks/2wwra56rehfcj.js +1 -0
- package/out/_next/static/chunks/2xpwr97h2asal.js +1 -0
- package/out/_next/static/chunks/3000-0b8n9t_2.js +1 -0
- package/out/_next/static/chunks/{0q0i4pdyq66gb.js → 30t3203d7p2da.js} +1 -1
- package/out/_next/static/chunks/{3t4ys6th6gf2w.js → 31kto7-dxkt3z.js} +1 -1
- package/out/_next/static/chunks/{0j0a0wvmmghxj.js → 32oflcl79d8mu.js} +1 -1
- package/out/_next/static/chunks/32ovg81ae0l03.js +1 -0
- package/out/_next/static/chunks/{2c8rmxz151fxa.js → 331kthnvoma7n.js} +224 -224
- package/out/_next/static/chunks/337kn1mn34rc6.js +1 -0
- package/out/_next/static/chunks/{336ckqpboqmbn.js → 33xug8kf0-a1o.js} +1 -1
- package/out/_next/static/chunks/34dcb7_flbrvo.js +1 -0
- package/out/_next/static/chunks/34zotyeqrz_nq.js +1 -0
- package/out/_next/static/chunks/351wsmi75l8db.js +1 -0
- package/out/_next/static/chunks/36yv-ialtpx98.js +1 -0
- package/out/_next/static/chunks/37hwasxtee5e0.js +1 -0
- package/out/_next/static/chunks/37t0iclgxes05.js +1 -0
- package/out/_next/static/chunks/{1x0j78ohufpul.js → 37xnvnx1jxfaf.js} +1 -1
- package/out/_next/static/chunks/{29hkkj9raxte9.js → 38w74ixqt-9co.js} +77 -77
- package/out/_next/static/chunks/{0jap7l5-bskj4.js → 39t2x_9zd2rst.js} +12 -12
- package/out/_next/static/chunks/{38q0enmlg5q9o.js → 39v73timmzwny.js} +2 -2
- package/out/_next/static/chunks/{3puu2_-t0lln9.js → 3_xqc3658d8sw.js} +12 -12
- package/out/_next/static/chunks/3ba8eudvlczwe.js +1 -0
- package/out/_next/static/chunks/3buezhxqc8n6n.js +1 -0
- package/out/_next/static/chunks/3c5iwwj-fhbue.js +1 -0
- package/out/_next/static/chunks/{2kmmk9coo9_b0.js → 3d8ot2tw6yqfq.js} +143 -143
- package/out/_next/static/chunks/3dc057ffe7ij-.js +1 -0
- package/out/_next/static/chunks/3djnlzwj9869o.js +1 -0
- package/out/_next/static/chunks/{2_6b9lraq-exh.js → 3fuqxjjf8o1v9.js} +5 -5
- package/out/_next/static/chunks/{0j2ygtc_-bo3m.js → 3gt6rzg9qw-an.js} +1 -1
- package/out/_next/static/chunks/{0rykrf_vofbad.js → 3h_05w5j8x538.js} +1 -1
- package/out/_next/static/chunks/{3txu-i5qn183a.js → 3hkhd1_k8xohv.js} +321 -321
- package/out/_next/static/chunks/{2h07np207nlx7.js → 3ijcc5tfisfnj.js} +1 -1
- package/out/_next/static/chunks/3j0dbpd9zop3p.js +1 -0
- package/out/_next/static/chunks/{14e4k-718qadd.js → 3ju83xk-ca7ma.js} +163 -168
- package/out/_next/static/chunks/3jxhl4apmhbm1.js +13 -0
- package/out/_next/static/chunks/{1h1gixjbjkbsl.js → 3la99oz_0p0r6.js} +5 -5
- package/out/_next/static/chunks/{1mt4cnd_d6jvf.js → 3n1b34fd5fdrh.js} +1 -1
- package/out/_next/static/chunks/3nq_hq4x3rn3r.js +1 -0
- package/out/_next/static/chunks/3pgb1kkqrdl9t.js +1 -0
- package/out/_next/static/chunks/3pik_-jj-zkfl.js +1 -0
- package/out/_next/static/chunks/{1zmx71cvc6ksk.js → 3q38kdbzd2nbd.js} +1 -1
- package/out/_next/static/chunks/3q5zl4ks17au2.js +1 -0
- package/out/_next/static/chunks/{1t2g1v0ubcsam.js → 3qr10445lte-n.js} +1 -1
- package/out/_next/static/chunks/3r-8bnguvxsyo.js +1 -0
- package/out/_next/static/chunks/3sg56j8boe-3o.js +1 -0
- package/out/_next/static/chunks/3u7zj1-jdg781.js +1 -0
- package/out/_next/static/chunks/{0o0qtv35dqv3i.js → 3wj5dmf6cywz8.js} +239 -239
- package/out/_next/static/chunks/{2iu0_3cx-ny74.js → 3wr_oijfsq8lr.js} +11 -11
- package/out/_next/static/chunks/3xu0dh1ikzwj2.js +1 -0
- package/out/_next/static/chunks/{0vzo-8t8c26k9.js → 3y5tpixt23-fl.js} +1 -1
- package/out/_next/static/chunks/40gjf-_jt8upu.js +5 -0
- package/out/_next/static/chunks/41f12o_5lf-i9.js +1 -0
- package/out/_next/static/chunks/42ma8lqduohlc.js +1 -0
- package/out/_next/static/chunks/43usshq2nc125.js +1 -0
- package/out/_next/static/chunks/{161yjxmdz9obc.js → 44bl4ufopbmyh.js} +1 -1
- package/out/_next/static/chunks/44iutzkw9r21x.js +1 -0
- package/out/_next/static/chunks/turbopack-1xrxa3noq196-.js +1 -0
- package/out/_not-found/__next._full.txt +11 -11
- package/out/_not-found/__next._not-found.__PAGE__.txt +19 -2
- package/out/_not-found/__next._tree.txt +1 -1
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +11 -11
- package/out/index.html +1 -1
- package/out/index.txt +10 -10
- package/package.json +11 -11
- package/out/__next._head.txt +0 -6
- package/out/__next._index.txt +0 -5
- package/out/_next/static/chunks/0-k4hp87gwues.js +0 -1
- package/out/_next/static/chunks/04zj0yf1qhk1o.js +0 -1
- package/out/_next/static/chunks/06fbalmyyfpsy.js +0 -1
- package/out/_next/static/chunks/07hgbbqksqd1g.js +0 -1
- package/out/_next/static/chunks/08ou2nvy48e0u.js +0 -1
- package/out/_next/static/chunks/08y5-irjbsiy8.js +0 -1
- package/out/_next/static/chunks/0_jrfk2u1u3fi.js +0 -1
- package/out/_next/static/chunks/0a475u_q5i_dd.js +0 -62
- package/out/_next/static/chunks/0aad2r4s4wl1x.js +0 -5
- package/out/_next/static/chunks/0d9pxx1w_zqr9.js +0 -1
- package/out/_next/static/chunks/0gnjtwq-474uc.js +0 -1
- package/out/_next/static/chunks/0gsh_d0m5xss1.js +0 -1
- package/out/_next/static/chunks/0ibzpjo0h731v.js +0 -1
- package/out/_next/static/chunks/0j_3k5qhv_mdx.js +0 -1
- package/out/_next/static/chunks/0jis2w2mfx062.js +0 -1
- package/out/_next/static/chunks/0jjvp2slpf7d6.js +0 -1
- package/out/_next/static/chunks/0ko10wo4rc9-b.js +0 -1
- package/out/_next/static/chunks/0lqmvz6k2h_of.js +0 -1
- package/out/_next/static/chunks/0lwjmr8efrlbt.js +0 -17
- package/out/_next/static/chunks/0noxyupihh8dk.js +0 -1
- package/out/_next/static/chunks/0o1vph7x9shzu.js +0 -1
- package/out/_next/static/chunks/0p6phe9kjlxn8.js +0 -1
- package/out/_next/static/chunks/0ptxb9dcwsw3o.js +0 -1
- package/out/_next/static/chunks/0q8pt8fd0ma30.js +0 -1
- package/out/_next/static/chunks/0qqx9aoz8l5d2.js +0 -1
- package/out/_next/static/chunks/0tsk32q-88t_7.js +0 -1
- package/out/_next/static/chunks/0u7577db_ivyr.js +0 -1
- package/out/_next/static/chunks/0unnrt0un064x.js +0 -1
- package/out/_next/static/chunks/0uygtr4mo3h0v.js +0 -1
- package/out/_next/static/chunks/0vf3facit951s.js +0 -1
- package/out/_next/static/chunks/0xyija62b6txc.js +0 -1
- package/out/_next/static/chunks/0zeb37703zcz3.js +0 -1
- package/out/_next/static/chunks/0zu5ato7-1-q9.js +0 -1
- package/out/_next/static/chunks/0zydv7y47dxgh.js +0 -1
- package/out/_next/static/chunks/103x4jwovb6d-.js +0 -1
- package/out/_next/static/chunks/107wfq84g9-kn.js +0 -1
- package/out/_next/static/chunks/10afagk8yn__n.js +0 -1
- package/out/_next/static/chunks/12ory_c78yl31.js +0 -1
- package/out/_next/static/chunks/133dqp8_7_yo6.js +0 -1
- package/out/_next/static/chunks/1365lgwdd4vuo.js +0 -1
- package/out/_next/static/chunks/146ou-ohb_qhs.js +0 -1
- package/out/_next/static/chunks/14orr68xgdykd.js +0 -1
- package/out/_next/static/chunks/15qfoj-vl9thu.js +0 -1
- package/out/_next/static/chunks/166yqx3_qvbpy.js +0 -1
- package/out/_next/static/chunks/16gwjao676ieb.js +0 -1
- package/out/_next/static/chunks/16rmmzhy2p7bw.js +0 -1
- package/out/_next/static/chunks/17_jjyx4jz9dd.js +0 -1
- package/out/_next/static/chunks/18h9ugdz6igdb.js +0 -1
- package/out/_next/static/chunks/19d8n5t7ka2fb.js +0 -1
- package/out/_next/static/chunks/1_rbzw3n4fk0g.js +0 -1
- package/out/_next/static/chunks/1aa9g197l4twm.js +0 -1
- package/out/_next/static/chunks/1bq0fcnt1wy86.js +0 -1
- package/out/_next/static/chunks/1c6mho7e0enta.js +0 -1
- package/out/_next/static/chunks/1dfaheve77dhi.js +0 -1
- package/out/_next/static/chunks/1dgf112ehnhm1.js +0 -1
- package/out/_next/static/chunks/1eirucr9s6-h5.js +0 -1
- package/out/_next/static/chunks/1fsof7un7igrn.js +0 -1
- package/out/_next/static/chunks/1gvu5a6ffbs7l.js +0 -1
- package/out/_next/static/chunks/1iel4pzhhh-c3.js +0 -1
- package/out/_next/static/chunks/1iojfx3-g4_n9.js +0 -1
- package/out/_next/static/chunks/1j4jt5q7px8sy.js +0 -1
- package/out/_next/static/chunks/1jjw9hxgi2vzi.js +0 -1
- package/out/_next/static/chunks/1k_8olnprvi8r.js +0 -1
- package/out/_next/static/chunks/1l0rt7d4m-xdk.js +0 -5
- package/out/_next/static/chunks/1s0dpdqy480hg.js +0 -1
- package/out/_next/static/chunks/1t-yolk97lmot.js +0 -12
- package/out/_next/static/chunks/1tbes2sv-qzcx.js +0 -1
- package/out/_next/static/chunks/1upy8a5cb75kt.js +0 -1
- package/out/_next/static/chunks/1xed71f608m4b.js +0 -1
- package/out/_next/static/chunks/1z790xxb46gxy.js +0 -1
- package/out/_next/static/chunks/219n3q-_eengm.js +0 -1
- package/out/_next/static/chunks/21wo3vdr_uby8.js +0 -1
- package/out/_next/static/chunks/25gep78-izw79.js +0 -4
- package/out/_next/static/chunks/26i7dn31afdtm.js +0 -1
- package/out/_next/static/chunks/27hbplu797elx.js +0 -1
- package/out/_next/static/chunks/2992eiy52nazj.js +0 -1
- package/out/_next/static/chunks/29_n5j-hg_gsa.js +0 -1
- package/out/_next/static/chunks/29bxq-67oazfg.js +0 -1
- package/out/_next/static/chunks/29ings58w7kp1.js +0 -1
- package/out/_next/static/chunks/2_n0cpkdsjzli.js +0 -1
- package/out/_next/static/chunks/2a3iy701j4r_y.js +0 -1
- package/out/_next/static/chunks/2al9dh3_1ixhv.js +0 -1
- package/out/_next/static/chunks/2awr1c_vfsutb.js +0 -1
- package/out/_next/static/chunks/2bxe3kjr17tdp.js +0 -1
- package/out/_next/static/chunks/2dvbzar93ooc-.js +0 -1
- package/out/_next/static/chunks/2e-vp0e11g9ew.js +0 -1
- package/out/_next/static/chunks/2exj9-0p6n9x-.js +0 -1
- package/out/_next/static/chunks/2gf8l6hbmt7v3.js +0 -1
- package/out/_next/static/chunks/2h9i_adbqaxs4.js +0 -1
- package/out/_next/static/chunks/2jio3sio-_43z.js +0 -1
- package/out/_next/static/chunks/2neieeo9g2u56.js +0 -1
- package/out/_next/static/chunks/2pb_uosb-aa8x.js +0 -1
- package/out/_next/static/chunks/2qu-gpm3ux1l6.js +0 -1
- package/out/_next/static/chunks/2rsi6v7qmqx2b.js +0 -1
- package/out/_next/static/chunks/2tdvuc-27khif.js +0 -1
- package/out/_next/static/chunks/2trolrgd7neax.js +0 -1
- package/out/_next/static/chunks/2uyuafmoe5wi0.js +0 -3
- package/out/_next/static/chunks/2w2e0pxgs-n8f.js +0 -1
- package/out/_next/static/chunks/2xujlsx3stqig.js +0 -1
- package/out/_next/static/chunks/30y71dxdpv52d.js +0 -1
- package/out/_next/static/chunks/32c-e_v8_2xkf.js +0 -1
- package/out/_next/static/chunks/32oj0iudhp8bm.js +0 -1
- package/out/_next/static/chunks/33p9du6y9eegg.js +0 -1
- package/out/_next/static/chunks/38om-j0h0rryk.js +0 -1
- package/out/_next/static/chunks/39cou9lia_g7l.js +0 -1
- package/out/_next/static/chunks/39pkya0_bvcaj.js +0 -1
- package/out/_next/static/chunks/39rhmj_32ujyj.js +0 -1
- package/out/_next/static/chunks/3_1zzmx92j9c0.js +0 -1
- package/out/_next/static/chunks/3_earszshuz4n.js +0 -1
- package/out/_next/static/chunks/3ap_uxc8lx7ni.js +0 -1
- package/out/_next/static/chunks/3b6na8zrex8jo.js +0 -1
- package/out/_next/static/chunks/3c0cxt72vilyz.js +0 -1
- package/out/_next/static/chunks/3g78x0pdaoi_4.js +0 -1
- package/out/_next/static/chunks/3gjvl1p-tugfe.js +0 -4
- package/out/_next/static/chunks/3i8iro1gas1vx.js +0 -1
- package/out/_next/static/chunks/3kpqfqr99vo7z.js +0 -1
- package/out/_next/static/chunks/3lladf_wemm-2.js +0 -1
- package/out/_next/static/chunks/3n62hbywoknop.js +0 -1
- package/out/_next/static/chunks/3o_dmzpahx-5g.js +0 -1
- package/out/_next/static/chunks/3r7v7un976sn7.js +0 -1
- package/out/_next/static/chunks/3rl_nhqwew40w.js +0 -1
- package/out/_next/static/chunks/3s7hqij6xp_4e.js +0 -1
- package/out/_next/static/chunks/3si3migsmvz9o.js +0 -1
- package/out/_next/static/chunks/3uarw1i1ij1er.js +0 -1
- package/out/_next/static/chunks/3un-w6wutw1qn.js +0 -1
- package/out/_next/static/chunks/3v8kgnjk27wbe.js +0 -1
- package/out/_next/static/chunks/3we1khqfexh3x.js +0 -1
- package/out/_next/static/chunks/3z35loj4i-id4.js +0 -1
- package/out/_next/static/chunks/42lqt7ig40wk5.js +0 -1
- package/out/_next/static/chunks/42s6ghsurq5q7.js +0 -1
- package/out/_next/static/chunks/42yctcfi2rfwr.js +0 -1
- package/out/_next/static/chunks/43_fau1gg69eo.js +0 -1
- package/out/_next/static/chunks/43ywrdzg_7af8.js +0 -31
- package/out/_next/static/chunks/44m1ijc5cv80x.js +0 -1
- package/out/_next/static/chunks/453_bg0lgesmp.js +0 -1
- package/out/_next/static/chunks/turbopack-1s36ieuku1ds3.js +0 -1
- package/out/_not-found/__next._head.txt +0 -6
- package/out/_not-found/__next._index.txt +0 -5
- package/out/_not-found/__next._not-found.txt +0 -5
- /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_buildManifest.js +0 -0
- /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{5UjNvd7WCk97iC2cSmEGH → 4r0L0ZMJeBwOJCVDsvvZ4}/_ssgManifest.js +0 -0
|
@@ -1,109 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
2
|
-
const LinearEncodePowerApprox: f32=2.2;const GammaEncodePowerApprox: f32=1.0/LinearEncodePowerApprox;const LuminanceEncodeApprox: vec3f=vec3f(0.2126,0.7152,0.0722);const Epsilon:f32=0.0000001;fn square(x: f32)->f32 {return x*x;}
|
|
3
|
-
fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
|
|
4
|
-
fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
|
|
5
|
-
fn saturateEps(x: f32)->f32 {return clamp(x,Epsilon,1.0);}
|
|
6
|
-
fn maxEps(x: f32)->f32 {return max(x,Epsilon);}
|
|
7
|
-
fn maxEpsVec3(x: vec3f)->vec3f {return max(x,vec3f(Epsilon));}
|
|
8
|
-
fn absEps(x: f32)->f32 {return abs(x)+Epsilon;}
|
|
9
|
-
fn transposeMat3(inMatrix: mat3x3f)->mat3x3f {let i0: vec3f=inMatrix[0];let i1: vec3f=inMatrix[1];let i2: vec3f=inMatrix[2];let outMatrix:mat3x3f=mat3x3f(
|
|
10
|
-
vec3(i0.x,i1.x,i2.x),
|
|
11
|
-
vec3(i0.y,i1.y,i2.y),
|
|
12
|
-
vec3(i0.z,i1.z,i2.z)
|
|
13
|
-
);return outMatrix;}
|
|
14
|
-
fn inverseMat3(inMatrix: mat3x3f)->mat3x3f {let a00: f32=inMatrix[0][0];let a01: f32=inMatrix[0][1];let a02: f32=inMatrix[0][2];let a10: f32=inMatrix[1][0];let a11: f32=inMatrix[1][1];let a12: f32=inMatrix[1][2];let a20: f32=inMatrix[2][0];let a21: f32=inMatrix[2][1];let a22: f32=inMatrix[2][2];let b01: f32=a22*a11-a12*a21;let b11: f32=-a22*a10+a12*a20;let b21: f32=a21*a10-a11*a20;let det: f32=a00*b01+a01*b11+a02*b21;return mat3x3f(b01/det,(-a22*a01+a02*a21)/det,(a12*a01-a02*a11)/det,
|
|
15
|
-
b11/det,(a22*a00-a02*a20)/det,(-a12*a00+a02*a10)/det,
|
|
16
|
-
b21/det,(-a21*a00+a01*a20)/det,(a11*a00-a01*a10)/det);}
|
|
17
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
18
|
-
fn toLinearSpaceExact(color: vec3f)->vec3f
|
|
19
|
-
{let nearZeroSection: vec3f=0.0773993808*color;let remainingSection: vec3f=pow(0.947867299*(color+vec3f(0.055)),vec3f(2.4));return select(remainingSection,nearZeroSection,color<=vec3f(0.04045));}
|
|
20
|
-
fn toGammaSpaceExact(color: vec3f)->vec3f
|
|
21
|
-
{let nearZeroSection: vec3f=12.92*color;let remainingSection: vec3f=1.055*pow(color,vec3f(0.41666))-vec3f(0.055);return select(remainingSection,nearZeroSection,color<=vec3f(0.0031308));}
|
|
22
|
-
#endif
|
|
23
|
-
fn toLinearSpace(color: f32)->f32
|
|
24
|
-
{
|
|
25
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
26
|
-
var nearZeroSection=0.0773993808*color;var remainingSection=pow(0.947867299*(color+0.055),2.4);return select(remainingSection,nearZeroSection,color<=0.04045);
|
|
27
|
-
#else
|
|
28
|
-
return pow(color,LinearEncodePowerApprox);
|
|
29
|
-
#endif
|
|
30
|
-
}
|
|
31
|
-
fn toLinearSpaceVec3(color: vec3f)->vec3f
|
|
32
|
-
{
|
|
33
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
34
|
-
return toLinearSpaceExact(color);
|
|
35
|
-
#else
|
|
36
|
-
return pow(color,vec3f(LinearEncodePowerApprox));
|
|
37
|
-
#endif
|
|
38
|
-
}
|
|
39
|
-
fn toLinearSpaceVec4(color: vec4<f32>)->vec4<f32>
|
|
40
|
-
{
|
|
41
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
42
|
-
return vec4f(toLinearSpaceExact(color.rgb),color.a);
|
|
43
|
-
#else
|
|
44
|
-
return vec4f(pow(color.rgb,vec3f(LinearEncodePowerApprox)),color.a);
|
|
45
|
-
#endif
|
|
46
|
-
}
|
|
47
|
-
fn toGammaSpace(color: vec4<f32>)->vec4<f32>
|
|
48
|
-
{
|
|
49
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
50
|
-
return vec4<f32>(toGammaSpaceExact(color.rgb),color.a);
|
|
51
|
-
#else
|
|
52
|
-
return vec4<f32>(pow(color.rgb,vec3f(GammaEncodePowerApprox)),color.a);
|
|
53
|
-
#endif
|
|
54
|
-
}
|
|
55
|
-
fn toGammaSpaceVec3(color: vec3f)->vec3f
|
|
56
|
-
{
|
|
57
|
-
#if USE_EXACT_SRGB_CONVERSIONS
|
|
58
|
-
return toGammaSpaceExact(color);
|
|
59
|
-
#else
|
|
60
|
-
return pow(color,vec3f(GammaEncodePowerApprox));
|
|
61
|
-
#endif
|
|
62
|
-
}
|
|
63
|
-
fn squareVec3(value: vec3f)->vec3f
|
|
64
|
-
{return value*value;}
|
|
65
|
-
fn pow5(value: f32)->f32 {let sq: f32=value*value;return sq*sq*value;}
|
|
66
|
-
fn double_refract(I: vec3f,N: vec3f,eta: f32)->vec3f {let Tfront: vec3f=refract(I,N,1.0/eta);let Nback: vec3f=normalize(reflect(N,Tfront));return refract(Tfront,-Nback,eta);}
|
|
67
|
-
fn getLuminanceUnclamped(color: vec3f)->f32
|
|
68
|
-
{return dot(color,LuminanceEncodeApprox);}
|
|
69
|
-
fn getLuminance(color: vec3f)->f32
|
|
70
|
-
{return saturate(getLuminanceUnclamped(color));}
|
|
71
|
-
fn getRand(seed: vec2<f32>)->f32 {return fract(sin(dot(seed.xy ,vec2<f32>(12.9898,78.233)))*43758.5453);}
|
|
72
|
-
fn dither(seed: vec2<f32>,varianceAmount: f32)->f32 {let rand: f32=getRand(seed);let normVariance: f32=varianceAmount/255.0;let dither: f32=mix(-normVariance,normVariance,rand);return dither;}
|
|
73
|
-
const rgbdMaxRange: f32=255.0;fn toRGBD(color: vec3f)->vec4<f32> {let maxRGB: f32=max(max(color.r,max(color.g,color.b)),Epsilon);var D: f32 =max(rgbdMaxRange/maxRGB,1.);D =clamp(floor(D)/255.0,0.,1.);var rgb: vec3f =color.rgb*D;rgb=toGammaSpaceVec3(rgb);return vec4<f32>(saturateVec3(rgb),D);}
|
|
74
|
-
fn fromRGBD(rgbd: vec4<f32>)->vec3f {let rgb=toLinearSpaceVec3(rgbd.rgb);return rgb/rgbd.a;}
|
|
75
|
-
fn parallaxCorrectNormal(vertexPos: vec3f,origVec: vec3f,cubeSize: vec3f,cubePos: vec3f)->vec3f {let invOrigVec: vec3f=vec3f(1.)/origVec;let halfSize: vec3f=cubeSize*0.5;let intersecAtMaxPlane: vec3f=(cubePos+halfSize-vertexPos)*invOrigVec;let intersecAtMinPlane: vec3f=(cubePos-halfSize-vertexPos)*invOrigVec;let largestIntersec: vec3f=max(intersecAtMaxPlane,intersecAtMinPlane);let distance: f32=min(min(largestIntersec.x,largestIntersec.y),largestIntersec.z);let intersectPositionWS: vec3f=vertexPos+origVec*distance;return intersectPositionWS-cubePos;}
|
|
76
|
-
fn equirectangularToCubemapDirection(uv : vec2f)->vec3f {var longitude : f32=uv.x*TWO_PI-PI;var latitude : f32=HALF_PI-uv.y*PI;var direction : vec3f;direction.x=cos(latitude)*sin(longitude);direction.y=sin(latitude);direction.z=cos(latitude)*cos(longitude);return direction;}
|
|
77
|
-
fn sqrtClamped(value: f32)->f32 {return sqrt(max(value,0.));}
|
|
78
|
-
fn avg(value: vec3f)->f32 {return dot(value,vec3f(0.333333333));}
|
|
79
|
-
fn singleScatterToMultiScatterAlbedo(rho_ss: vec3f)->vec3f {let s: vec3f=sqrt(max(vec3f(1.0)-rho_ss,vec3f(0.0)));return (vec3f(1.0)-s)*(vec3f(1.0)-vec3f(0.139)*s)/(vec3f(1.0)+vec3f(1.17)*s);}
|
|
80
|
-
fn multiScatterToSingleScatterAlbedo(rho_ms: vec3f)->vec3f {let s: vec3f=4.09712f+4.20863f*rho_ms-sqrt(9.59217f+41.6808f*rho_ms+17.7126f*rho_ms*rho_ms);return 1.0f-s*s;}
|
|
81
|
-
fn multiScatterToSingleScatterAlbedoWithAniso(rho_ms: vec3f,aniso: f32)->vec3f {let s: vec3f=4.09712+4.20863f*rho_ms-sqrt(9.59217f+41.6808f*rho_ms+17.7126f*rho_ms*rho_ms);return (vec3f(1.0f)-s*s)/maxEpsVec3(vec3f(1.0f)-vec3f(aniso)*s*s);}
|
|
82
|
-
fn min3(v: vec3f)->f32 {return min(v.x,min(v.y,v.z));}
|
|
83
|
-
fn max3(v: vec3f)->f32 {return max(v.x,max(v.y,v.z));}
|
|
84
|
-
fn uint2float(i: u32)->f32 {return bitcast<f32>(0x3F800000u | (i>>9u))-1.0;}
|
|
85
|
-
fn plasticSequence(rstate: u32)->vec2f {return vec2f(uint2float(rstate*3242174889u),
|
|
86
|
-
uint2float(rstate*2447445414u));}
|
|
87
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["helperFunctionsWGSL",0,{name:r,shader:i}])},73317,e=>{"use strict";var t=e.i(47150);let r="logDepthDeclaration",i=`#ifdef LOGARITHMICDEPTH
|
|
88
|
-
uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;
|
|
89
|
-
#endif
|
|
90
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["logDepthDeclarationWGSL",0,{name:r,shader:i}])},97793,e=>{"use strict";var t=e.i(47150);let r="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
|
|
91
|
-
#ifdef MULTIVIEW
|
|
92
|
-
viewProjectionR : mat4x4<f32>,
|
|
93
|
-
#endif
|
|
94
|
-
view : mat4x4<f32>,
|
|
95
|
-
projection : mat4x4<f32>,
|
|
96
|
-
vEyePosition : vec4<f32>,
|
|
97
|
-
inverseProjection : mat4x4<f32>,};
|
|
98
|
-
#define SCENE_UBO
|
|
99
|
-
var<uniform> scene : Scene;
|
|
100
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["sceneUboDeclarationWGSL",0,{name:r,shader:i}])},36113,e=>{"use strict";var t=e.i(47150);let r="meshUboDeclaration",i=`struct Mesh {world : mat4x4<f32>,
|
|
101
|
-
visibility : f32,};var<uniform> mesh : Mesh;
|
|
102
|
-
#define WORLD_UBO
|
|
103
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["meshUboDeclarationWGSL",0,{name:r,shader:i}])},47569,e=>{"use strict";var t=e.i(47150);let r="mainUVVaryingDeclaration",i=`#ifdef MAINUV{X}
|
|
104
|
-
varying vMainUV{X}: vec2f;
|
|
105
|
-
#endif
|
|
106
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["mainUVVaryingDeclarationWGSL",0,{name:r,shader:i}])},57568,21550,11,58890,92928,67125,e=>{"use strict";var t=e.i(47150);let r="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,93765,99043,82826,25797,94882,80820,e=>{"use strict";var t=e.i(25044);let r="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
|
|
107
2
|
#ifndef USE_VERTEX_PULLING
|
|
108
3
|
attribute matricesIndices : vec4f;attribute matricesWeights : vec4f;
|
|
109
4
|
#if NUM_BONE_INFLUENCERS>4
|
|
@@ -126,7 +21,7 @@ let textureWidth=i32(uniforms.boneTextureInfo.x);let y=offset/textureWidth;let x
|
|
|
126
21
|
#endif
|
|
127
22
|
#endif
|
|
128
23
|
#endif
|
|
129
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bonesDeclarationWGSL",0,{name:r,shader:i}],
|
|
24
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bonesDeclarationWGSL",0,{name:r,shader:i}],93765);let a="bakedVertexAnimationDeclaration",n=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
130
25
|
uniform bakedVertexAnimationTime: f32;uniform bakedVertexAnimationSettings: vec4<f32>;var bakedVertexAnimationTexture : texture_2d<f32>;
|
|
131
26
|
#ifdef INSTANCES
|
|
132
27
|
attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
|
|
@@ -134,7 +29,7 @@ attribute bakedVertexAnimationSettingsInstanced : vec4<f32>;
|
|
|
134
29
|
fn readMatrixFromRawSamplerVAT(smp : texture_2d<f32>,index : f32,frame : f32)->mat4x4<f32>
|
|
135
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);}
|
|
136
31
|
#endif
|
|
137
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:a,shader:n}],
|
|
32
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["bakedVertexAnimationDeclarationWGSL",0,{name:a,shader:n}],99043);let f="instancesDeclaration",o=`#ifdef INSTANCES
|
|
138
33
|
attribute world0 : vec4<f32>;attribute world1 : vec4<f32>;attribute world2 : vec4<f32>;attribute world3 : vec4<f32>;
|
|
139
34
|
#ifdef INSTANCESCOLOR
|
|
140
35
|
attribute instanceColor : vec4<f32>;
|
|
@@ -156,7 +51,7 @@ uniform world : mat4x4<f32>;
|
|
|
156
51
|
uniform previousWorld : mat4x4<f32>;
|
|
157
52
|
#endif
|
|
158
53
|
#endif
|
|
159
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["instancesDeclarationWGSL",0,{name:f,shader:o}],
|
|
54
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["instancesDeclarationWGSL",0,{name:f,shader:o}],82826);let d="instancesVertex",s=`#ifdef INSTANCES
|
|
160
55
|
var finalWorld=mat4x4<f32>(vertexInputs.world0,vertexInputs.world1,vertexInputs.world2,vertexInputs.world3);
|
|
161
56
|
#if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
|
|
162
57
|
var finalPreviousWorld=mat4x4<f32>(
|
|
@@ -183,7 +78,7 @@ var finalWorld=mesh.world;
|
|
|
183
78
|
var finalPreviousWorld=uniforms.previousWorld;
|
|
184
79
|
#endif
|
|
185
80
|
#endif
|
|
186
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["instancesVertexWGSL",0,{name:d,shader:s}],
|
|
81
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["instancesVertexWGSL",0,{name:d,shader:s}],25797);let u="bonesVertex",l=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
187
82
|
#if NUM_BONE_INFLUENCERS>0
|
|
188
83
|
var influence : mat4x4<f32>;
|
|
189
84
|
#ifdef BONETEXTURE
|
|
@@ -236,7 +131,7 @@ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[3])]*v
|
|
|
236
131
|
finalWorld=finalWorld*influence;
|
|
237
132
|
#endif
|
|
238
133
|
#endif
|
|
239
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=l),e.s(["bonesVertexWGSL",0,{name:u,shader:l}],
|
|
134
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=l),e.s(["bonesVertexWGSL",0,{name:u,shader:l}],94882);let v="bakedVertexAnimation",c=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
240
135
|
{
|
|
241
136
|
#ifdef INSTANCES
|
|
242
137
|
let VATStartFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.x;let VATEndFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.y;let VATOffsetFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.z;let VATSpeed: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.w;
|
|
@@ -262,77 +157,330 @@ VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTextur
|
|
|
262
157
|
#if NUM_BONE_INFLUENCERS>6
|
|
263
158
|
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[2],VATFrameNum)*vertexInputs.matricesWeightsExtra[2];
|
|
264
159
|
#endif
|
|
265
|
-
#if NUM_BONE_INFLUENCERS>7
|
|
266
|
-
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[3],VATFrameNum)*vertexInputs.matricesWeightsExtra[3];
|
|
160
|
+
#if NUM_BONE_INFLUENCERS>7
|
|
161
|
+
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[3],VATFrameNum)*vertexInputs.matricesWeightsExtra[3];
|
|
162
|
+
#endif
|
|
163
|
+
finalWorld=finalWorld*VATInfluence;}
|
|
164
|
+
#endif
|
|
165
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[v]||(t.ShaderStore.IncludesShadersStoreWGSL[v]=c),e.s(["bakedVertexAnimationWGSL",0,{name:v,shader:c}],80820)},19820,e=>{"use strict";var t=e.i(25044);let r="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
|
|
166
|
+
#if defined(TANGENT) && defined(NORMAL)
|
|
167
|
+
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];
|
|
168
|
+
#endif
|
|
169
|
+
#endif
|
|
170
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bumpVertexWGSL",0,{name:r,shader:i}])},1580,e=>{"use strict";var t=e.i(25044);let r="bumpVertexDeclaration",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
|
|
171
|
+
#if defined(TANGENT) && defined(NORMAL)
|
|
172
|
+
varying vTBN0: vec3f;varying vTBN1: vec3f;varying vTBN2: vec3f;
|
|
173
|
+
#endif
|
|
174
|
+
#endif
|
|
175
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["bumpVertexDeclarationWGSL",0,{name:r,shader:i}])},67667,15345,e=>{"use strict";var t=e.i(25044);let r="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
|
|
176
|
+
uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
|
|
177
|
+
#endif
|
|
178
|
+
#ifdef CLIPPLANE2
|
|
179
|
+
uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32;
|
|
180
|
+
#endif
|
|
181
|
+
#ifdef CLIPPLANE3
|
|
182
|
+
uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32;
|
|
183
|
+
#endif
|
|
184
|
+
#ifdef CLIPPLANE4
|
|
185
|
+
uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32;
|
|
186
|
+
#endif
|
|
187
|
+
#ifdef CLIPPLANE5
|
|
188
|
+
uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
|
|
189
|
+
#endif
|
|
190
|
+
#ifdef CLIPPLANE6
|
|
191
|
+
uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
|
|
192
|
+
#endif
|
|
193
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:r,shader:i}],67667);let a="clipPlaneVertex",n=`#ifdef CLIPPLANE
|
|
194
|
+
vertexOutputs.fClipDistance=dot(worldPos,uniforms.vClipPlane);
|
|
195
|
+
#endif
|
|
196
|
+
#ifdef CLIPPLANE2
|
|
197
|
+
vertexOutputs.fClipDistance2=dot(worldPos,uniforms.vClipPlane2);
|
|
198
|
+
#endif
|
|
199
|
+
#ifdef CLIPPLANE3
|
|
200
|
+
vertexOutputs.fClipDistance3=dot(worldPos,uniforms.vClipPlane3);
|
|
201
|
+
#endif
|
|
202
|
+
#ifdef CLIPPLANE4
|
|
203
|
+
vertexOutputs.fClipDistance4=dot(worldPos,uniforms.vClipPlane4);
|
|
204
|
+
#endif
|
|
205
|
+
#ifdef CLIPPLANE5
|
|
206
|
+
vertexOutputs.fClipDistance5=dot(worldPos,uniforms.vClipPlane5);
|
|
207
|
+
#endif
|
|
208
|
+
#ifdef CLIPPLANE6
|
|
209
|
+
vertexOutputs.fClipDistance6=dot(worldPos,uniforms.vClipPlane6);
|
|
210
|
+
#endif
|
|
211
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["clipPlaneVertexWGSL",0,{name:a,shader:n}],15345)},3828,45320,e=>{"use strict";var t=e.i(25044);let r="fogVertexDeclaration",i=`#ifdef FOG
|
|
212
|
+
varying vFogDistance: vec3f;
|
|
213
|
+
#endif
|
|
214
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["fogVertexDeclarationWGSL",0,{name:r,shader:i}],3828);let a="fogVertex",n=`#ifdef FOG
|
|
215
|
+
#ifdef SCENE_UBO
|
|
216
|
+
vertexOutputs.vFogDistance=(scene.view*worldPos).xyz;
|
|
217
|
+
#else
|
|
218
|
+
vertexOutputs.vFogDistance=(uniforms.view*worldPos).xyz;
|
|
219
|
+
#endif
|
|
220
|
+
#endif
|
|
221
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["fogVertexWGSL",0,{name:a,shader:n}],45320)},65503,e=>{"use strict";var t=e.i(25044);let r="helperFunctions",i=`const PI: f32=3.1415926535897932384626433832795;const TWO_PI: f32=6.283185307179586;const HALF_PI: f32=1.5707963267948966;const RECIPROCAL_PI: f32=0.3183098861837907;const RECIPROCAL_PI2: f32=0.15915494309189535;const RECIPROCAL_PI4: f32=0.07957747154594767;const HALF_MIN: f32=5.96046448e-08;
|
|
222
|
+
const LinearEncodePowerApprox: f32=2.2;const GammaEncodePowerApprox: f32=1.0/LinearEncodePowerApprox;const LuminanceEncodeApprox: vec3f=vec3f(0.2126,0.7152,0.0722);const Epsilon:f32=0.0000001;fn square(x: f32)->f32 {return x*x;}
|
|
223
|
+
fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
|
|
224
|
+
fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
|
|
225
|
+
fn saturateEps(x: f32)->f32 {return clamp(x,Epsilon,1.0);}
|
|
226
|
+
fn maxEps(x: f32)->f32 {return max(x,Epsilon);}
|
|
227
|
+
fn maxEpsVec3(x: vec3f)->vec3f {return max(x,vec3f(Epsilon));}
|
|
228
|
+
fn absEps(x: f32)->f32 {return abs(x)+Epsilon;}
|
|
229
|
+
fn transposeMat3(inMatrix: mat3x3f)->mat3x3f {let i0: vec3f=inMatrix[0];let i1: vec3f=inMatrix[1];let i2: vec3f=inMatrix[2];let outMatrix:mat3x3f=mat3x3f(
|
|
230
|
+
vec3(i0.x,i1.x,i2.x),
|
|
231
|
+
vec3(i0.y,i1.y,i2.y),
|
|
232
|
+
vec3(i0.z,i1.z,i2.z)
|
|
233
|
+
);return outMatrix;}
|
|
234
|
+
fn inverseMat3(inMatrix: mat3x3f)->mat3x3f {let a00: f32=inMatrix[0][0];let a01: f32=inMatrix[0][1];let a02: f32=inMatrix[0][2];let a10: f32=inMatrix[1][0];let a11: f32=inMatrix[1][1];let a12: f32=inMatrix[1][2];let a20: f32=inMatrix[2][0];let a21: f32=inMatrix[2][1];let a22: f32=inMatrix[2][2];let b01: f32=a22*a11-a12*a21;let b11: f32=-a22*a10+a12*a20;let b21: f32=a21*a10-a11*a20;let det: f32=a00*b01+a01*b11+a02*b21;return mat3x3f(b01/det,(-a22*a01+a02*a21)/det,(a12*a01-a02*a11)/det,
|
|
235
|
+
b11/det,(a22*a00-a02*a20)/det,(-a12*a00+a02*a10)/det,
|
|
236
|
+
b21/det,(-a21*a00+a01*a20)/det,(a11*a00-a01*a10)/det);}
|
|
237
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
238
|
+
fn toLinearSpaceExact(color: vec3f)->vec3f
|
|
239
|
+
{let nearZeroSection: vec3f=0.0773993808*color;let remainingSection: vec3f=pow(0.947867299*(color+vec3f(0.055)),vec3f(2.4));return select(remainingSection,nearZeroSection,color<=vec3f(0.04045));}
|
|
240
|
+
fn toGammaSpaceExact(color: vec3f)->vec3f
|
|
241
|
+
{let nearZeroSection: vec3f=12.92*color;let remainingSection: vec3f=1.055*pow(color,vec3f(0.41666))-vec3f(0.055);return select(remainingSection,nearZeroSection,color<=vec3f(0.0031308));}
|
|
242
|
+
#endif
|
|
243
|
+
fn toLinearSpace(color: f32)->f32
|
|
244
|
+
{
|
|
245
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
246
|
+
var nearZeroSection=0.0773993808*color;var remainingSection=pow(0.947867299*(color+0.055),2.4);return select(remainingSection,nearZeroSection,color<=0.04045);
|
|
247
|
+
#else
|
|
248
|
+
return pow(color,LinearEncodePowerApprox);
|
|
249
|
+
#endif
|
|
250
|
+
}
|
|
251
|
+
fn toLinearSpaceVec3(color: vec3f)->vec3f
|
|
252
|
+
{
|
|
253
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
254
|
+
return toLinearSpaceExact(color);
|
|
255
|
+
#else
|
|
256
|
+
return pow(color,vec3f(LinearEncodePowerApprox));
|
|
257
|
+
#endif
|
|
258
|
+
}
|
|
259
|
+
fn toLinearSpaceVec4(color: vec4<f32>)->vec4<f32>
|
|
260
|
+
{
|
|
261
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
262
|
+
return vec4f(toLinearSpaceExact(color.rgb),color.a);
|
|
263
|
+
#else
|
|
264
|
+
return vec4f(pow(color.rgb,vec3f(LinearEncodePowerApprox)),color.a);
|
|
265
|
+
#endif
|
|
266
|
+
}
|
|
267
|
+
fn toGammaSpace(color: vec4<f32>)->vec4<f32>
|
|
268
|
+
{
|
|
269
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
270
|
+
return vec4<f32>(toGammaSpaceExact(color.rgb),color.a);
|
|
271
|
+
#else
|
|
272
|
+
return vec4<f32>(pow(color.rgb,vec3f(GammaEncodePowerApprox)),color.a);
|
|
273
|
+
#endif
|
|
274
|
+
}
|
|
275
|
+
fn toGammaSpaceVec3(color: vec3f)->vec3f
|
|
276
|
+
{
|
|
277
|
+
#if USE_EXACT_SRGB_CONVERSIONS
|
|
278
|
+
return toGammaSpaceExact(color);
|
|
279
|
+
#else
|
|
280
|
+
return pow(color,vec3f(GammaEncodePowerApprox));
|
|
281
|
+
#endif
|
|
282
|
+
}
|
|
283
|
+
fn squareVec3(value: vec3f)->vec3f
|
|
284
|
+
{return value*value;}
|
|
285
|
+
fn pow5(value: f32)->f32 {let sq: f32=value*value;return sq*sq*value;}
|
|
286
|
+
fn double_refract(I: vec3f,N: vec3f,eta: f32)->vec3f {let Tfront: vec3f=refract(I,N,1.0/eta);let Nback: vec3f=normalize(reflect(N,Tfront));return refract(Tfront,-Nback,eta);}
|
|
287
|
+
fn getLuminanceUnclamped(color: vec3f)->f32
|
|
288
|
+
{return dot(color,LuminanceEncodeApprox);}
|
|
289
|
+
fn getLuminance(color: vec3f)->f32
|
|
290
|
+
{return saturate(getLuminanceUnclamped(color));}
|
|
291
|
+
fn getRand(seed: vec2<f32>)->f32 {return fract(sin(dot(seed.xy ,vec2<f32>(12.9898,78.233)))*43758.5453);}
|
|
292
|
+
fn dither(seed: vec2<f32>,varianceAmount: f32)->f32 {let rand: f32=getRand(seed);let normVariance: f32=varianceAmount/255.0;let dither: f32=mix(-normVariance,normVariance,rand);return dither;}
|
|
293
|
+
const rgbdMaxRange: f32=255.0;fn toRGBD(color: vec3f)->vec4<f32> {let maxRGB: f32=max(max(color.r,max(color.g,color.b)),Epsilon);var D: f32 =max(rgbdMaxRange/maxRGB,1.);D =clamp(floor(D)/255.0,0.,1.);var rgb: vec3f =color.rgb*D;rgb=toGammaSpaceVec3(rgb);return vec4<f32>(saturateVec3(rgb),D);}
|
|
294
|
+
fn fromRGBD(rgbd: vec4<f32>)->vec3f {let rgb=toLinearSpaceVec3(rgbd.rgb);return rgb/rgbd.a;}
|
|
295
|
+
fn parallaxCorrectNormal(vertexPos: vec3f,origVec: vec3f,cubeSize: vec3f,cubePos: vec3f)->vec3f {let invOrigVec: vec3f=vec3f(1.)/origVec;let halfSize: vec3f=cubeSize*0.5;let intersecAtMaxPlane: vec3f=(cubePos+halfSize-vertexPos)*invOrigVec;let intersecAtMinPlane: vec3f=(cubePos-halfSize-vertexPos)*invOrigVec;let largestIntersec: vec3f=max(intersecAtMaxPlane,intersecAtMinPlane);let distance: f32=min(min(largestIntersec.x,largestIntersec.y),largestIntersec.z);let intersectPositionWS: vec3f=vertexPos+origVec*distance;return intersectPositionWS-cubePos;}
|
|
296
|
+
fn equirectangularToCubemapDirection(uv : vec2f)->vec3f {var longitude : f32=uv.x*TWO_PI-PI;var latitude : f32=HALF_PI-uv.y*PI;var direction : vec3f;direction.x=cos(latitude)*sin(longitude);direction.y=sin(latitude);direction.z=cos(latitude)*cos(longitude);return direction;}
|
|
297
|
+
fn sqrtClamped(value: f32)->f32 {return sqrt(max(value,0.));}
|
|
298
|
+
fn avg(value: vec3f)->f32 {return dot(value,vec3f(0.333333333));}
|
|
299
|
+
fn singleScatterToMultiScatterAlbedo(rho_ss: vec3f)->vec3f {let s: vec3f=sqrt(max(vec3f(1.0)-rho_ss,vec3f(0.0)));return (vec3f(1.0)-s)*(vec3f(1.0)-vec3f(0.139)*s)/(vec3f(1.0)+vec3f(1.17)*s);}
|
|
300
|
+
fn multiScatterToSingleScatterAlbedo(rho_ms: vec3f)->vec3f {let s: vec3f=4.09712f+4.20863f*rho_ms-sqrt(9.59217f+41.6808f*rho_ms+17.7126f*rho_ms*rho_ms);return 1.0f-s*s;}
|
|
301
|
+
fn multiScatterToSingleScatterAlbedoWithAniso(rho_ms: vec3f,aniso: f32)->vec3f {let s: vec3f=4.09712+4.20863f*rho_ms-sqrt(9.59217f+41.6808f*rho_ms+17.7126f*rho_ms*rho_ms);return (vec3f(1.0f)-s*s)/maxEpsVec3(vec3f(1.0f)-vec3f(aniso)*s*s);}
|
|
302
|
+
fn min3(v: vec3f)->f32 {return min(v.x,min(v.y,v.z));}
|
|
303
|
+
fn max3(v: vec3f)->f32 {return max(v.x,max(v.y,v.z));}
|
|
304
|
+
fn uint2float(i: u32)->f32 {return bitcast<f32>(0x3F800000u | (i>>9u))-1.0;}
|
|
305
|
+
fn plasticSequence(rstate: u32)->vec2f {return vec2f(uint2float(rstate*3242174889u),
|
|
306
|
+
uint2float(rstate*2447445414u));}
|
|
307
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["helperFunctionsWGSL",0,{name:r,shader:i}])},69288,e=>{"use strict";var t=e.i(25044);let r="logDepthDeclaration",i=`#ifdef LOGARITHMICDEPTH
|
|
308
|
+
uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;
|
|
309
|
+
#endif
|
|
310
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["logDepthDeclarationWGSL",0,{name:r,shader:i}])},78507,e=>{"use strict";var t=e.i(25044);let r="logDepthVertex",i=`#ifdef LOGARITHMICDEPTH
|
|
311
|
+
vertexOutputs.vFragmentDepth=1.0+vertexOutputs.position.w;vertexOutputs.position.z=log2(max(0.000001,vertexOutputs.vFragmentDepth))*uniforms.logarithmicDepthConstant;
|
|
312
|
+
#endif
|
|
313
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["logDepthVertexWGSL",0,{name:r,shader:i}])},48585,e=>{"use strict";var t=e.i(25044);let r="mainUVVaryingDeclaration",i=`#ifdef MAINUV{X}
|
|
314
|
+
varying vMainUV{X}: vec2f;
|
|
315
|
+
#endif
|
|
316
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["mainUVVaryingDeclarationWGSL",0,{name:r,shader:i}])},95057,e=>{"use strict";var t=e.i(25044);let r="meshUboDeclaration",i=`struct Mesh {world : mat4x4<f32>,
|
|
317
|
+
visibility : f32,};var<uniform> mesh : Mesh;
|
|
318
|
+
#define WORLD_UBO
|
|
319
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["meshUboDeclarationWGSL",0,{name:r,shader:i}])},99145,16068,17840,81683,e=>{"use strict";var t=e.i(25044);let r="morphTargetsVertexGlobalDeclaration",i=`#ifdef MORPHTARGETS
|
|
320
|
+
uniform morphTargetInfluences : array<f32,NUM_MORPH_INFLUENCERS>;
|
|
321
|
+
#ifdef MORPHTARGETS_TEXTURE
|
|
322
|
+
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>
|
|
323
|
+
{
|
|
324
|
+
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;}
|
|
325
|
+
fn readVector4FromRawSampler(targetIndex : i32,vertexIndex : f32)->vec4<f32>
|
|
326
|
+
{
|
|
327
|
+
let textureWidth: i32=i32(uniforms.morphTargetTextureInfo.y);
|
|
328
|
+
let y: i32=i32(vertexIndex)/textureWidth;let x: i32=i32(vertexIndex) % textureWidth;return textureLoad(morphTargets,vec2i(x,y),i32(uniforms.morphTargetTextureIndices[targetIndex]),0);}
|
|
329
|
+
#endif
|
|
330
|
+
#endif
|
|
331
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:r,shader:i}],99145);let a="morphTargetsVertexDeclaration",n=`#ifdef MORPHTARGETS
|
|
332
|
+
#ifndef MORPHTARGETS_TEXTURE
|
|
333
|
+
#ifdef MORPHTARGETS_POSITION
|
|
334
|
+
attribute position{X} : vec3<f32>;
|
|
335
|
+
#endif
|
|
336
|
+
#ifdef MORPHTARGETS_NORMAL
|
|
337
|
+
attribute normal{X} : vec3<f32>;
|
|
338
|
+
#endif
|
|
339
|
+
#ifdef MORPHTARGETS_TANGENT
|
|
340
|
+
attribute tangent{X} : vec3<f32>;
|
|
341
|
+
#endif
|
|
342
|
+
#ifdef MORPHTARGETS_UV
|
|
343
|
+
attribute uv_{X} : vec2<f32>;
|
|
344
|
+
#endif
|
|
345
|
+
#ifdef MORPHTARGETS_UV2
|
|
346
|
+
attribute uv2_{X} : vec2<f32>;
|
|
347
|
+
#endif
|
|
348
|
+
#ifdef MORPHTARGETS_COLOR
|
|
349
|
+
attribute color{X} : vec4<f32>;
|
|
350
|
+
#endif
|
|
351
|
+
#elif {X}==0
|
|
352
|
+
uniform morphTargetCount: f32;
|
|
353
|
+
#endif
|
|
354
|
+
#endif
|
|
355
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:a,shader:n}],16068);let f="morphTargetsVertexGlobal",o=`#ifdef MORPHTARGETS
|
|
356
|
+
#ifdef MORPHTARGETS_TEXTURE
|
|
357
|
+
var vertexID : f32;
|
|
358
|
+
#endif
|
|
359
|
+
#endif
|
|
360
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:o}],17840);let d="morphTargetsVertex",s=`#ifdef MORPHTARGETS
|
|
361
|
+
#ifdef MORPHTARGETS_TEXTURE
|
|
362
|
+
#if {X}==0
|
|
363
|
+
for (var i=0; i<NUM_MORPH_INFLUENCERS; i=i+1) {if (f32(i)>=uniforms.morphTargetCount) {break;}
|
|
364
|
+
#ifdef USE_VERTEX_PULLING
|
|
365
|
+
vertexID=f32(vpVertexIndex)*uniforms.morphTargetTextureInfo.x;
|
|
366
|
+
#else
|
|
367
|
+
vertexID=f32(vertexInputs.vertexIndex)*uniforms.morphTargetTextureInfo.x;
|
|
368
|
+
#endif
|
|
369
|
+
#ifdef MORPHTARGETS_POSITION
|
|
370
|
+
#ifdef USE_VERTEX_PULLING
|
|
371
|
+
positionUpdated=positionUpdated+(readVector3FromRawSampler(i,vertexID)-vp_basePosition)*uniforms.morphTargetInfluences[i];
|
|
372
|
+
#else
|
|
373
|
+
positionUpdated=positionUpdated+(readVector3FromRawSampler(i,vertexID)-vertexInputs.position)*uniforms.morphTargetInfluences[i];
|
|
374
|
+
#endif
|
|
375
|
+
#endif
|
|
376
|
+
#ifdef MORPHTARGETTEXTURE_HASPOSITIONS
|
|
377
|
+
vertexID=vertexID+1.0;
|
|
378
|
+
#endif
|
|
379
|
+
#ifdef MORPHTARGETS_NORMAL
|
|
380
|
+
#ifdef USE_VERTEX_PULLING
|
|
381
|
+
normalUpdated=normalUpdated+(readVector3FromRawSampler(i,vertexID) -vp_baseNormal)*uniforms.morphTargetInfluences[i];
|
|
382
|
+
#else
|
|
383
|
+
normalUpdated=normalUpdated+(readVector3FromRawSampler(i,vertexID) -vertexInputs.normal)*uniforms.morphTargetInfluences[i];
|
|
384
|
+
#endif
|
|
385
|
+
#endif
|
|
386
|
+
#ifdef MORPHTARGETTEXTURE_HASNORMALS
|
|
387
|
+
vertexID=vertexID+1.0;
|
|
388
|
+
#endif
|
|
389
|
+
#ifdef MORPHTARGETS_UV
|
|
390
|
+
#ifdef USE_VERTEX_PULLING
|
|
391
|
+
uvUpdated=uvUpdated+(readVector3FromRawSampler(i,vertexID).xy-vp_baseUV)*uniforms.morphTargetInfluences[i];
|
|
392
|
+
#else
|
|
393
|
+
uvUpdated=uvUpdated+(readVector3FromRawSampler(i,vertexID).xy-vertexInputs.uv)*uniforms.morphTargetInfluences[i];
|
|
394
|
+
#endif
|
|
267
395
|
#endif
|
|
268
|
-
|
|
396
|
+
#ifdef MORPHTARGETTEXTURE_HASUVS
|
|
397
|
+
vertexID=vertexID+1.0;
|
|
269
398
|
#endif
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
#ifdef VERTEXALPHA
|
|
274
|
-
vertexOutputs.vColor*=colorUpdated;
|
|
399
|
+
#ifdef MORPHTARGETS_TANGENT
|
|
400
|
+
#ifdef USE_VERTEX_PULLING
|
|
401
|
+
tangentUpdated=vec4f(tangentUpdated.xyz+(readVector3FromRawSampler(i,vertexID) -vp_baseTangent.xyz)*uniforms.morphTargetInfluences[i],tangentUpdated.a);
|
|
275
402
|
#else
|
|
276
|
-
|
|
403
|
+
tangentUpdated=vec4f(tangentUpdated.xyz+(readVector3FromRawSampler(i,vertexID) -vertexInputs.tangent.xyz)*uniforms.morphTargetInfluences[i],tangentUpdated.a);
|
|
277
404
|
#endif
|
|
278
405
|
#endif
|
|
279
|
-
#ifdef
|
|
280
|
-
|
|
406
|
+
#ifdef MORPHTARGETTEXTURE_HASTANGENTS
|
|
407
|
+
vertexID=vertexID+1.0;
|
|
281
408
|
#endif
|
|
409
|
+
#ifdef MORPHTARGETS_UV2
|
|
410
|
+
#ifdef USE_VERTEX_PULLING
|
|
411
|
+
uv2Updated=uv2Updated+(readVector3FromRawSampler(i,vertexID).xy-vp_baseUV2)*uniforms.morphTargetInfluences[i];
|
|
412
|
+
#else
|
|
413
|
+
uv2Updated=uv2Updated+(readVector3FromRawSampler(i,vertexID).xy-vertexInputs.uv2)*uniforms.morphTargetInfluences[i];
|
|
282
414
|
#endif
|
|
283
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["vertexColorMixingWGSL",0,{name:r,shader:i}])},63593,4534,e=>{"use strict";var t=e.i(47150);let r="clipPlaneVertexDeclaration",i=`#ifdef CLIPPLANE
|
|
284
|
-
uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
|
|
285
415
|
#endif
|
|
286
|
-
#ifdef
|
|
287
|
-
|
|
416
|
+
#ifdef MORPHTARGETS_COLOR
|
|
417
|
+
#ifdef USE_VERTEX_PULLING
|
|
418
|
+
colorUpdated=colorUpdated+(readVector4FromRawSampler(i,vertexID)-vp_baseColor)*uniforms.morphTargetInfluences[i];
|
|
419
|
+
#else
|
|
420
|
+
colorUpdated=colorUpdated+(readVector4FromRawSampler(i,vertexID)-vertexInputs.color)*uniforms.morphTargetInfluences[i];
|
|
288
421
|
#endif
|
|
289
|
-
#ifdef CLIPPLANE3
|
|
290
|
-
uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32;
|
|
291
422
|
#endif
|
|
292
|
-
|
|
293
|
-
uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32;
|
|
423
|
+
}
|
|
294
424
|
#endif
|
|
295
|
-
#
|
|
296
|
-
|
|
425
|
+
#else
|
|
426
|
+
#ifdef MORPHTARGETS_POSITION
|
|
427
|
+
#ifdef USE_VERTEX_PULLING
|
|
428
|
+
positionUpdated=positionUpdated+(vertexInputs.position{X}-vp_basePosition)*uniforms.morphTargetInfluences[{X}];
|
|
429
|
+
#else
|
|
430
|
+
positionUpdated=positionUpdated+(vertexInputs.position{X}-vertexInputs.position)*uniforms.morphTargetInfluences[{X}];
|
|
297
431
|
#endif
|
|
298
|
-
#ifdef CLIPPLANE6
|
|
299
|
-
uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
|
|
300
432
|
#endif
|
|
301
|
-
|
|
302
|
-
|
|
433
|
+
#ifdef MORPHTARGETS_NORMAL
|
|
434
|
+
#ifdef USE_VERTEX_PULLING
|
|
435
|
+
normalUpdated=normalUpdated+(vertexInputs.normal{X}-vp_baseNormal)*uniforms.morphTargetInfluences[{X}];
|
|
436
|
+
#else
|
|
437
|
+
normalUpdated=normalUpdated+(vertexInputs.normal{X}-vertexInputs.normal)*uniforms.morphTargetInfluences[{X}];
|
|
303
438
|
#endif
|
|
304
|
-
#ifdef CLIPPLANE2
|
|
305
|
-
vertexOutputs.fClipDistance2=dot(worldPos,uniforms.vClipPlane2);
|
|
306
439
|
#endif
|
|
307
|
-
#ifdef
|
|
308
|
-
|
|
440
|
+
#ifdef MORPHTARGETS_TANGENT
|
|
441
|
+
#ifdef USE_VERTEX_PULLING
|
|
442
|
+
tangentUpdated=vec4f(tangentUpdated.xyz+(vertexInputs.tangent{X}-vp_baseTangent.xyz)*uniforms.morphTargetInfluences[{X}],tangentUpdated.a);
|
|
443
|
+
#else
|
|
444
|
+
tangentUpdated=vec4f(tangentUpdated.xyz+(vertexInputs.tangent{X}-vertexInputs.tangent.xyz)*uniforms.morphTargetInfluences[{X}],tangentUpdated.a);
|
|
309
445
|
#endif
|
|
310
|
-
#ifdef CLIPPLANE4
|
|
311
|
-
vertexOutputs.fClipDistance4=dot(worldPos,uniforms.vClipPlane4);
|
|
312
446
|
#endif
|
|
313
|
-
#ifdef
|
|
314
|
-
|
|
447
|
+
#ifdef MORPHTARGETS_UV
|
|
448
|
+
#ifdef USE_VERTEX_PULLING
|
|
449
|
+
uvUpdated=uvUpdated+(vertexInputs.uv_{X}-vp_baseUV)*uniforms.morphTargetInfluences[{X}];
|
|
450
|
+
#else
|
|
451
|
+
uvUpdated=uvUpdated+(vertexInputs.uv_{X}-vertexInputs.uv)*uniforms.morphTargetInfluences[{X}];
|
|
315
452
|
#endif
|
|
316
|
-
#ifdef CLIPPLANE6
|
|
317
|
-
vertexOutputs.fClipDistance6=dot(worldPos,uniforms.vClipPlane6);
|
|
318
453
|
#endif
|
|
319
|
-
|
|
320
|
-
|
|
454
|
+
#ifdef MORPHTARGETS_UV2
|
|
455
|
+
#ifdef USE_VERTEX_PULLING
|
|
456
|
+
uv2Updated=uv2Updated+(vertexInputs.uv2_{X}-vp_baseUV2)*uniforms.morphTargetInfluences[{X}];
|
|
457
|
+
#else
|
|
458
|
+
uv2Updated=uv2Updated+(vertexInputs.uv2_{X}-vertexInputs.uv2)*uniforms.morphTargetInfluences[{X}];
|
|
321
459
|
#endif
|
|
322
|
-
|
|
323
|
-
#ifdef
|
|
324
|
-
|
|
460
|
+
#endif
|
|
461
|
+
#ifdef MORPHTARGETS_COLOR
|
|
462
|
+
#ifdef USE_VERTEX_PULLING
|
|
463
|
+
colorUpdated=colorUpdated+(vertexInputs.color{X}-vp_baseColor)*uniforms.morphTargetInfluences[{X}];
|
|
325
464
|
#else
|
|
326
|
-
|
|
465
|
+
colorUpdated=colorUpdated+(vertexInputs.color{X}-vertexInputs.color)*uniforms.morphTargetInfluences[{X}];
|
|
466
|
+
#endif
|
|
327
467
|
#endif
|
|
328
468
|
#endif
|
|
329
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["fogVertexWGSL",0,{name:a,shader:n}],80849)},52362,e=>{"use strict";var t=e.i(47150);let r="logDepthVertex",i=`#ifdef LOGARITHMICDEPTH
|
|
330
|
-
vertexOutputs.vFragmentDepth=1.0+vertexOutputs.position.w;vertexOutputs.position.z=log2(max(0.000001,vertexOutputs.vFragmentDepth))*uniforms.logarithmicDepthConstant;
|
|
331
469
|
#endif
|
|
332
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[
|
|
470
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["morphTargetsVertexWGSL",0,{name:d,shader:s}],81683)},38267,e=>{"use strict";var t=e.i(25044);let r="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
|
|
471
|
+
#ifdef MULTIVIEW
|
|
472
|
+
viewProjectionR : mat4x4<f32>,
|
|
473
|
+
#endif
|
|
474
|
+
view : mat4x4<f32>,
|
|
475
|
+
projection : mat4x4<f32>,
|
|
476
|
+
vEyePosition : vec4<f32>,
|
|
477
|
+
inverseProjection : mat4x4<f32>,};
|
|
478
|
+
#define SCENE_UBO
|
|
479
|
+
var<uniform> scene : Scene;
|
|
480
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["sceneUboDeclarationWGSL",0,{name:r,shader:i}])},27180,27066,85224,12203,65997,99887,54704,85749,14750,99967,e=>{"use strict";var t=e.i(25044);let r="uvAttributeDeclaration",i=`#if defined(UV{X}) && !defined(USE_VERTEX_PULLING)
|
|
333
481
|
attribute uv{X}: vec2f;
|
|
334
482
|
#endif
|
|
335
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["uvAttributeDeclarationWGSL",0,{name:r,shader:i}],
|
|
483
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["uvAttributeDeclarationWGSL",0,{name:r,shader:i}],27180);let a="prePassVertexDeclaration",n=`#ifdef PREPASS
|
|
336
484
|
#ifdef PREPASS_LOCAL_POSITION
|
|
337
485
|
varying vPosition : vec3f;
|
|
338
486
|
#endif
|
|
@@ -346,10 +494,10 @@ varying vNormViewDepth: f32;
|
|
|
346
494
|
uniform previousViewProjection: mat4x4f;varying vCurrentPosition: vec4f;varying vPreviousPosition: vec4f;
|
|
347
495
|
#endif
|
|
348
496
|
#endif
|
|
349
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["prePassVertexDeclarationWGSL",0,{name:a,shader:n}],
|
|
497
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["prePassVertexDeclarationWGSL",0,{name:a,shader:n}],27066);let f="samplerVertexDeclaration",o=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
|
|
350
498
|
varying v_VARYINGNAME_UV: vec2f;
|
|
351
499
|
#endif
|
|
352
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["samplerVertexDeclarationWGSL",0,{name:f,shader:o}],
|
|
500
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["samplerVertexDeclarationWGSL",0,{name:f,shader:o}],85224);let d="lightVxUboDeclaration",s=`#ifdef LIGHT{X}
|
|
353
501
|
struct Light{X}
|
|
354
502
|
{vLightData: vec4f,
|
|
355
503
|
vLightDiffuse: vec4f,
|
|
@@ -380,7 +528,7 @@ varying vPositionFromLight{X}: vec4f;varying vDepthMetric{X}: f32;uniform lightM
|
|
|
380
528
|
#endif
|
|
381
529
|
#endif
|
|
382
530
|
#endif
|
|
383
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["lightVxUboDeclarationWGSL",0,{name:d,shader:s}],
|
|
531
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["lightVxUboDeclarationWGSL",0,{name:d,shader:s}],12203);let u="vertexPullingDeclaration",l=`#ifdef USE_VERTEX_PULLING
|
|
384
532
|
#ifdef VERTEX_PULLING_USE_INDEX_BUFFER
|
|
385
533
|
var<storage,read> indices : array<u32>;
|
|
386
534
|
#endif
|
|
@@ -558,7 +706,7 @@ vp_readMatrixWeightExtraValue(offset+cs*3u,dataType,normalized)
|
|
|
558
706
|
#endif
|
|
559
707
|
#endif
|
|
560
708
|
#endif
|
|
561
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=l),e.s(["vertexPullingDeclarationWGSL",0,{name:u,shader:l}],
|
|
709
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=l),e.s(["vertexPullingDeclarationWGSL",0,{name:u,shader:l}],65997);let v="vertexPullingVertex",c=`#ifdef USE_VERTEX_PULLING
|
|
562
710
|
let vpVertexIndex: u32=vp_readVertexIndex(vertexInputs.vertexIndex);positionUpdated=vp_readPosition(uniforms.vp_position_info,vpVertexIndex);
|
|
563
711
|
#ifdef NORMAL
|
|
564
712
|
normalUpdated=vp_readNormal(uniforms.vp_normal_info,vpVertexIndex);
|
|
@@ -612,7 +760,7 @@ var vp_matricesIndicesExtra: vec4f=vp_readBoneIndicesExtra(uniforms.vp_matricesI
|
|
|
612
760
|
#endif
|
|
613
761
|
#endif
|
|
614
762
|
#endif
|
|
615
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[v]||(t.ShaderStore.IncludesShadersStoreWGSL[v]=c),e.s(["vertexPullingVertexWGSL",0,{name:v,shader:c}],
|
|
763
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[v]||(t.ShaderStore.IncludesShadersStoreWGSL[v]=c),e.s(["vertexPullingVertexWGSL",0,{name:v,shader:c}],99887);let p="prePassVertex",m=`#ifdef PREPASS_DEPTH
|
|
616
764
|
vertexOutputs.vViewPos=(scene.view*worldPos).rgb;
|
|
617
765
|
#endif
|
|
618
766
|
#ifdef PREPASS_NORMALIZED_VIEW_DEPTH
|
|
@@ -651,7 +799,7 @@ vertexOutputs.vPreviousPosition=uniforms.previousViewProjection*finalPreviousWor
|
|
|
651
799
|
vertexOutputs.vPreviousPosition=uniforms.previousViewProjection*finalPreviousWorld* vec4f(positionUpdated,1.0);
|
|
652
800
|
#endif
|
|
653
801
|
#endif
|
|
654
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[p]||(t.ShaderStore.IncludesShadersStoreWGSL[p]=m),e.s(["prePassVertexWGSL",0,{name:p,shader:m}],
|
|
802
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[p]||(t.ShaderStore.IncludesShadersStoreWGSL[p]=m),e.s(["prePassVertexWGSL",0,{name:p,shader:m}],54704);let x="uvVariableDeclaration",S=`#ifdef MAINUV{X}
|
|
655
803
|
#if !defined(UV{X})
|
|
656
804
|
var uv{X}: vec2f=vec2f(0.,0.);
|
|
657
805
|
#elif defined(USE_VERTEX_PULLING)
|
|
@@ -661,7 +809,7 @@ var uv{X}: vec2f=vertexInputs.uv{X};
|
|
|
661
809
|
#endif
|
|
662
810
|
vertexOutputs.vMainUV{X}=uv{X};
|
|
663
811
|
#endif
|
|
664
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[x]||(t.ShaderStore.IncludesShadersStoreWGSL[x]=S),e.s(["uvVariableDeclarationWGSL",0,{name:x,shader:S}],
|
|
812
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[x]||(t.ShaderStore.IncludesShadersStoreWGSL[x]=S),e.s(["uvVariableDeclarationWGSL",0,{name:x,shader:S}],85749);let I="samplerVertexImplementation",E=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
|
|
665
813
|
if (uniforms.v_INFONAME_==0.)
|
|
666
814
|
{vertexOutputs.v_VARYINGNAME_UV= (uniforms._MATRIXNAME_Matrix* vec4f(uvUpdated,1.0,0.0)).xy;}
|
|
667
815
|
#ifdef UV2
|
|
@@ -685,7 +833,7 @@ else if (uniforms.v_INFONAME_==5.)
|
|
|
685
833
|
{vertexOutputs.v_VARYINGNAME_UV= (uniforms._MATRIXNAME_Matrix* vec4f(vertexInputs.uv6,1.0,0.0)).xy;}
|
|
686
834
|
#endif
|
|
687
835
|
#endif
|
|
688
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[I]||(t.ShaderStore.IncludesShadersStoreWGSL[I]=E),e.s(["samplerVertexImplementationWGSL",0,{name:I,shader:E}],
|
|
836
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[I]||(t.ShaderStore.IncludesShadersStoreWGSL[I]=E),e.s(["samplerVertexImplementationWGSL",0,{name:I,shader:E}],14750);let _="shadowsVertex",T=`#ifdef SHADOWS
|
|
689
837
|
#if defined(SHADOWCSM{X})
|
|
690
838
|
#ifdef SCENE_UBO
|
|
691
839
|
vertexOutputs.vPositionFromCamera{X}=scene.view*worldPos;
|
|
@@ -733,165 +881,17 @@ vertexOutputs.vDepthMetric{X}=(vertexOutputs.vPositionFromLight{X}.z+light{X}.de
|
|
|
733
881
|
#endif
|
|
734
882
|
#endif
|
|
735
883
|
#endif
|
|
736
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[_]||(t.ShaderStore.IncludesShadersStoreWGSL[_]=T),e.s(["shadowsVertexWGSL",0,{name:_,shader:T}],
|
|
737
|
-
|
|
738
|
-
#ifdef
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
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;}
|
|
742
|
-
fn readVector4FromRawSampler(targetIndex : i32,vertexIndex : f32)->vec4<f32>
|
|
743
|
-
{
|
|
744
|
-
let textureWidth: i32=i32(uniforms.morphTargetTextureInfo.y);
|
|
745
|
-
let y: i32=i32(vertexIndex)/textureWidth;let x: i32=i32(vertexIndex) % textureWidth;return textureLoad(morphTargets,vec2i(x,y),i32(uniforms.morphTargetTextureIndices[targetIndex]),0);}
|
|
746
|
-
#endif
|
|
747
|
-
#endif
|
|
748
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["morphTargetsVertexGlobalDeclarationWGSL",0,{name:r,shader:i}],92459);let a="morphTargetsVertexDeclaration",n=`#ifdef MORPHTARGETS
|
|
749
|
-
#ifndef MORPHTARGETS_TEXTURE
|
|
750
|
-
#ifdef MORPHTARGETS_POSITION
|
|
751
|
-
attribute position{X} : vec3<f32>;
|
|
752
|
-
#endif
|
|
753
|
-
#ifdef MORPHTARGETS_NORMAL
|
|
754
|
-
attribute normal{X} : vec3<f32>;
|
|
755
|
-
#endif
|
|
756
|
-
#ifdef MORPHTARGETS_TANGENT
|
|
757
|
-
attribute tangent{X} : vec3<f32>;
|
|
758
|
-
#endif
|
|
759
|
-
#ifdef MORPHTARGETS_UV
|
|
760
|
-
attribute uv_{X} : vec2<f32>;
|
|
761
|
-
#endif
|
|
762
|
-
#ifdef MORPHTARGETS_UV2
|
|
763
|
-
attribute uv2_{X} : vec2<f32>;
|
|
764
|
-
#endif
|
|
765
|
-
#ifdef MORPHTARGETS_COLOR
|
|
766
|
-
attribute color{X} : vec4<f32>;
|
|
767
|
-
#endif
|
|
768
|
-
#elif {X}==0
|
|
769
|
-
uniform morphTargetCount: f32;
|
|
770
|
-
#endif
|
|
771
|
-
#endif
|
|
772
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["morphTargetsVertexDeclarationWGSL",0,{name:a,shader:n}],22253);let f="morphTargetsVertexGlobal",o=`#ifdef MORPHTARGETS
|
|
773
|
-
#ifdef MORPHTARGETS_TEXTURE
|
|
774
|
-
var vertexID : f32;
|
|
775
|
-
#endif
|
|
776
|
-
#endif
|
|
777
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:o}],61408);let d="morphTargetsVertex",s=`#ifdef MORPHTARGETS
|
|
778
|
-
#ifdef MORPHTARGETS_TEXTURE
|
|
779
|
-
#if {X}==0
|
|
780
|
-
for (var i=0; i<NUM_MORPH_INFLUENCERS; i=i+1) {if (f32(i)>=uniforms.morphTargetCount) {break;}
|
|
781
|
-
#ifdef USE_VERTEX_PULLING
|
|
782
|
-
vertexID=f32(vpVertexIndex)*uniforms.morphTargetTextureInfo.x;
|
|
783
|
-
#else
|
|
784
|
-
vertexID=f32(vertexInputs.vertexIndex)*uniforms.morphTargetTextureInfo.x;
|
|
785
|
-
#endif
|
|
786
|
-
#ifdef MORPHTARGETS_POSITION
|
|
787
|
-
#ifdef USE_VERTEX_PULLING
|
|
788
|
-
positionUpdated=positionUpdated+(readVector3FromRawSampler(i,vertexID)-vp_basePosition)*uniforms.morphTargetInfluences[i];
|
|
789
|
-
#else
|
|
790
|
-
positionUpdated=positionUpdated+(readVector3FromRawSampler(i,vertexID)-vertexInputs.position)*uniforms.morphTargetInfluences[i];
|
|
791
|
-
#endif
|
|
792
|
-
#endif
|
|
793
|
-
#ifdef MORPHTARGETTEXTURE_HASPOSITIONS
|
|
794
|
-
vertexID=vertexID+1.0;
|
|
795
|
-
#endif
|
|
796
|
-
#ifdef MORPHTARGETS_NORMAL
|
|
797
|
-
#ifdef USE_VERTEX_PULLING
|
|
798
|
-
normalUpdated=normalUpdated+(readVector3FromRawSampler(i,vertexID) -vp_baseNormal)*uniforms.morphTargetInfluences[i];
|
|
799
|
-
#else
|
|
800
|
-
normalUpdated=normalUpdated+(readVector3FromRawSampler(i,vertexID) -vertexInputs.normal)*uniforms.morphTargetInfluences[i];
|
|
801
|
-
#endif
|
|
802
|
-
#endif
|
|
803
|
-
#ifdef MORPHTARGETTEXTURE_HASNORMALS
|
|
804
|
-
vertexID=vertexID+1.0;
|
|
805
|
-
#endif
|
|
806
|
-
#ifdef MORPHTARGETS_UV
|
|
807
|
-
#ifdef USE_VERTEX_PULLING
|
|
808
|
-
uvUpdated=uvUpdated+(readVector3FromRawSampler(i,vertexID).xy-vp_baseUV)*uniforms.morphTargetInfluences[i];
|
|
809
|
-
#else
|
|
810
|
-
uvUpdated=uvUpdated+(readVector3FromRawSampler(i,vertexID).xy-vertexInputs.uv)*uniforms.morphTargetInfluences[i];
|
|
811
|
-
#endif
|
|
812
|
-
#endif
|
|
813
|
-
#ifdef MORPHTARGETTEXTURE_HASUVS
|
|
814
|
-
vertexID=vertexID+1.0;
|
|
815
|
-
#endif
|
|
816
|
-
#ifdef MORPHTARGETS_TANGENT
|
|
817
|
-
#ifdef USE_VERTEX_PULLING
|
|
818
|
-
tangentUpdated=vec4f(tangentUpdated.xyz+(readVector3FromRawSampler(i,vertexID) -vp_baseTangent.xyz)*uniforms.morphTargetInfluences[i],tangentUpdated.a);
|
|
819
|
-
#else
|
|
820
|
-
tangentUpdated=vec4f(tangentUpdated.xyz+(readVector3FromRawSampler(i,vertexID) -vertexInputs.tangent.xyz)*uniforms.morphTargetInfluences[i],tangentUpdated.a);
|
|
821
|
-
#endif
|
|
822
|
-
#endif
|
|
823
|
-
#ifdef MORPHTARGETTEXTURE_HASTANGENTS
|
|
824
|
-
vertexID=vertexID+1.0;
|
|
825
|
-
#endif
|
|
826
|
-
#ifdef MORPHTARGETS_UV2
|
|
827
|
-
#ifdef USE_VERTEX_PULLING
|
|
828
|
-
uv2Updated=uv2Updated+(readVector3FromRawSampler(i,vertexID).xy-vp_baseUV2)*uniforms.morphTargetInfluences[i];
|
|
829
|
-
#else
|
|
830
|
-
uv2Updated=uv2Updated+(readVector3FromRawSampler(i,vertexID).xy-vertexInputs.uv2)*uniforms.morphTargetInfluences[i];
|
|
831
|
-
#endif
|
|
832
|
-
#endif
|
|
833
|
-
#ifdef MORPHTARGETS_COLOR
|
|
834
|
-
#ifdef USE_VERTEX_PULLING
|
|
835
|
-
colorUpdated=colorUpdated+(readVector4FromRawSampler(i,vertexID)-vp_baseColor)*uniforms.morphTargetInfluences[i];
|
|
836
|
-
#else
|
|
837
|
-
colorUpdated=colorUpdated+(readVector4FromRawSampler(i,vertexID)-vertexInputs.color)*uniforms.morphTargetInfluences[i];
|
|
838
|
-
#endif
|
|
839
|
-
#endif
|
|
840
|
-
}
|
|
841
|
-
#endif
|
|
842
|
-
#else
|
|
843
|
-
#ifdef MORPHTARGETS_POSITION
|
|
844
|
-
#ifdef USE_VERTEX_PULLING
|
|
845
|
-
positionUpdated=positionUpdated+(vertexInputs.position{X}-vp_basePosition)*uniforms.morphTargetInfluences[{X}];
|
|
846
|
-
#else
|
|
847
|
-
positionUpdated=positionUpdated+(vertexInputs.position{X}-vertexInputs.position)*uniforms.morphTargetInfluences[{X}];
|
|
848
|
-
#endif
|
|
849
|
-
#endif
|
|
850
|
-
#ifdef MORPHTARGETS_NORMAL
|
|
851
|
-
#ifdef USE_VERTEX_PULLING
|
|
852
|
-
normalUpdated=normalUpdated+(vertexInputs.normal{X}-vp_baseNormal)*uniforms.morphTargetInfluences[{X}];
|
|
853
|
-
#else
|
|
854
|
-
normalUpdated=normalUpdated+(vertexInputs.normal{X}-vertexInputs.normal)*uniforms.morphTargetInfluences[{X}];
|
|
855
|
-
#endif
|
|
856
|
-
#endif
|
|
857
|
-
#ifdef MORPHTARGETS_TANGENT
|
|
858
|
-
#ifdef USE_VERTEX_PULLING
|
|
859
|
-
tangentUpdated=vec4f(tangentUpdated.xyz+(vertexInputs.tangent{X}-vp_baseTangent.xyz)*uniforms.morphTargetInfluences[{X}],tangentUpdated.a);
|
|
860
|
-
#else
|
|
861
|
-
tangentUpdated=vec4f(tangentUpdated.xyz+(vertexInputs.tangent{X}-vertexInputs.tangent.xyz)*uniforms.morphTargetInfluences[{X}],tangentUpdated.a);
|
|
862
|
-
#endif
|
|
863
|
-
#endif
|
|
864
|
-
#ifdef MORPHTARGETS_UV
|
|
865
|
-
#ifdef USE_VERTEX_PULLING
|
|
866
|
-
uvUpdated=uvUpdated+(vertexInputs.uv_{X}-vp_baseUV)*uniforms.morphTargetInfluences[{X}];
|
|
867
|
-
#else
|
|
868
|
-
uvUpdated=uvUpdated+(vertexInputs.uv_{X}-vertexInputs.uv)*uniforms.morphTargetInfluences[{X}];
|
|
869
|
-
#endif
|
|
870
|
-
#endif
|
|
871
|
-
#ifdef MORPHTARGETS_UV2
|
|
872
|
-
#ifdef USE_VERTEX_PULLING
|
|
873
|
-
uv2Updated=uv2Updated+(vertexInputs.uv2_{X}-vp_baseUV2)*uniforms.morphTargetInfluences[{X}];
|
|
874
|
-
#else
|
|
875
|
-
uv2Updated=uv2Updated+(vertexInputs.uv2_{X}-vertexInputs.uv2)*uniforms.morphTargetInfluences[{X}];
|
|
876
|
-
#endif
|
|
877
|
-
#endif
|
|
878
|
-
#ifdef MORPHTARGETS_COLOR
|
|
879
|
-
#ifdef USE_VERTEX_PULLING
|
|
880
|
-
colorUpdated=colorUpdated+(vertexInputs.color{X}-vp_baseColor)*uniforms.morphTargetInfluences[{X}];
|
|
884
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[_]||(t.ShaderStore.IncludesShadersStoreWGSL[_]=T),e.s(["shadowsVertexWGSL",0,{name:_,shader:T}],99967)},9613,e=>{"use strict";var t=e.i(25044);let r="vertexColorMixing",i=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
|
|
885
|
+
vertexOutputs.vColor=vec4f(1.0);
|
|
886
|
+
#ifdef VERTEXCOLOR
|
|
887
|
+
#ifdef VERTEXALPHA
|
|
888
|
+
vertexOutputs.vColor*=colorUpdated;
|
|
881
889
|
#else
|
|
882
|
-
|
|
883
|
-
#endif
|
|
884
|
-
#endif
|
|
885
|
-
#endif
|
|
886
|
-
#endif
|
|
887
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["morphTargetsVertexWGSL",0,{name:d,shader:s}],34609)},19276,e=>{"use strict";var t=e.i(47150);let r="bumpVertex",i=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
|
|
888
|
-
#if defined(TANGENT) && defined(NORMAL)
|
|
889
|
-
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];
|
|
890
|
+
vertexOutputs.vColor=vec4f(vertexOutputs.vColor.rgb*colorUpdated.rgb,vertexOutputs.vColor.a);
|
|
890
891
|
#endif
|
|
891
892
|
#endif
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
varying vTBN0: vec3f;varying vTBN1: vec3f;varying vTBN2: vec3f;
|
|
893
|
+
#ifdef INSTANCESCOLOR
|
|
894
|
+
vertexOutputs.vColor*=vertexInputs.instanceColor;
|
|
895
895
|
#endif
|
|
896
896
|
#endif
|
|
897
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["
|
|
897
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["vertexColorMixingWGSL",0,{name:r,shader:i}])}]);
|