@uptimizr/dashboard 0.4.5 → 0.4.7
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 +11 -11
- package/out/__next._tree.txt +2 -2
- package/out/_next/static/chunks/{3kalvwsf11-ss.js → 0-_j1khfoib6l.js} +119 -115
- package/out/_next/static/chunks/{0-tzsd_n-ywom.js → 005bbq_px7lke.js} +2 -2
- package/out/_next/static/chunks/00fbhtmui-yxg.js +1 -0
- package/out/_next/static/chunks/017pn-pen381_.js +1 -0
- package/out/_next/static/chunks/01vov6inx1zzt.js +1 -0
- package/out/_next/static/chunks/{3d76e_yd8l_0x.js → 02qk_wmkf9at-.js} +211 -211
- package/out/_next/static/chunks/03bd5plut08tg.js +1 -0
- package/out/_next/static/chunks/03dwfqmo73w_z.js +1 -0
- package/out/_next/static/chunks/03sn4419dam-h.js +5 -0
- package/out/_next/static/chunks/05ere0-228syf.js +1 -0
- package/out/_next/static/chunks/{2g_1ov-0j2kwd.js → 05h8u5lrypn5m.js} +1 -1
- package/out/_next/static/chunks/05s0t-besbvu1.css +3 -0
- package/out/_next/static/chunks/{3go-mst7n3udd.js → 05v-nubi896jg.js} +1 -1
- package/out/_next/static/chunks/05z79zh625ezu.js +1 -0
- package/out/_next/static/chunks/{1t2exh89lnazc.js → 060iult6f68_e.js} +504 -571
- package/out/_next/static/chunks/08lvtnv7b1cxp.js +1 -0
- package/out/_next/static/chunks/0_v2luu_qmeid.js +1 -0
- package/out/_next/static/chunks/0ai0zgbgjqb92.js +1 -0
- package/out/_next/static/chunks/0boov9mwycanf.js +1 -0
- package/out/_next/static/chunks/{0av6n_6q6kzo3.js → 0btmk0wmekl02.js} +2 -2
- package/out/_next/static/chunks/0d8x8m2x6ca_m.js +1 -0
- package/out/_next/static/chunks/0dmrdrwtd093b.js +1 -0
- package/out/_next/static/chunks/0e1jfrmioeuws.js +1 -0
- package/out/_next/static/chunks/0e7nlxmneb2j_.js +1 -0
- package/out/_next/static/chunks/0es97pusfxupl.js +1 -0
- package/out/_next/static/chunks/{05uqfgf-hh-p5.js → 0fd-0i1yt23kz.js} +1 -1
- package/out/_next/static/chunks/0fxdyvb1w23d1.js +1 -0
- package/out/_next/static/chunks/0fxhc24djjcgq.js +1 -0
- package/out/_next/static/chunks/0gf-ztg86zd80.js +1 -0
- package/out/_next/static/chunks/{380ivzcfb4o_3.js → 0grasqqf5dw7r.js} +2 -2
- package/out/_next/static/chunks/{0okbyggxe6mx5.js → 0hajwk2yd-rwr.js} +1 -1
- package/out/_next/static/chunks/0hk1wg7h4araz.js +1 -0
- package/out/_next/static/chunks/{1vmpltnr0cyos.js → 0j74ipw4fps-n.js} +1 -1
- package/out/_next/static/chunks/{03zip1uidm6x9.js → 0kj-vckdn7t5p.js} +1 -1
- package/out/_next/static/chunks/0lbs5xdyjuzuo.js +1 -0
- package/out/_next/static/chunks/0lep3_bqwfuin.js +1 -0
- package/out/_next/static/chunks/0mp0jh1gj7290.js +1 -0
- package/out/_next/static/chunks/0ngpoj2g5i4kz.js +1 -0
- package/out/_next/static/chunks/0nhljhguceh66.js +1 -0
- package/out/_next/static/chunks/0p6z73afb9dj2.js +1 -0
- package/out/_next/static/chunks/0p9zfmidzqkps.js +1 -0
- package/out/_next/static/chunks/0q75860p8u_ii.js +1 -0
- package/out/_next/static/chunks/{0-0hui1_v3h8b.js → 0rracz73p38mo.js} +26 -23
- package/out/_next/static/chunks/{3z4suna4kq4j5.js → 0sw-8gxbg4x0l.js} +568 -569
- package/out/_next/static/chunks/0sx-6rf3eteqn.js +1 -0
- package/out/_next/static/chunks/0thw099xk3_0p.js +3 -0
- package/out/_next/static/chunks/0u85f0dhb4i8e.js +1 -0
- package/out/_next/static/chunks/0uk7kigzm4vi2.js +31 -0
- package/out/_next/static/chunks/0ulufxnsrou61.js +1 -0
- package/out/_next/static/chunks/0xa9dyg6ezzyd.js +2 -0
- package/out/_next/static/chunks/0xvrfvur0p534.js +1 -0
- package/out/_next/static/chunks/{35aagg46wp139.js → 0ybs1u66q26su.js} +1 -1
- package/out/_next/static/chunks/0ydfhk-p6zvm0.js +1 -0
- package/out/_next/static/chunks/{29gv2swsp7tzu.js → 0z004fn14pbcu.js} +1 -1
- package/out/_next/static/chunks/{2z9mdtudj8crz.js → 0z9erbl3llr_b.js} +226 -224
- package/out/_next/static/chunks/0zcsxvcvog9ue.js +1 -0
- package/out/_next/static/chunks/0zqgq0lwtz9tn.js +1 -0
- package/out/_next/static/chunks/1-ogak5u00kwa.js +1 -0
- package/out/_next/static/chunks/{1ng-fqh2_n984.js → 10_5p5-xf2aoo.js} +1 -1
- package/out/_next/static/chunks/118qlrzdwpfmo.js +1 -0
- package/out/_next/static/chunks/11km5p4gd0ut4.js +1 -0
- package/out/_next/static/chunks/120rl4l29q9xs.js +1 -0
- package/out/_next/static/chunks/{1ho02fc091nj2.js → 129m5i93ltoym.js} +1 -1
- package/out/_next/static/chunks/12n73o884lyyl.js +1 -0
- package/out/_next/static/chunks/{3n-7bcmfbh299.js → 13zcn4lv0qj76.js} +11 -11
- package/out/_next/static/chunks/15jlgfcaeaki9.js +1 -0
- package/out/_next/static/chunks/{1ux1rpe-n1mai.js → 15o4_2t-l3rj5.js} +1 -1
- package/out/_next/static/chunks/{00o9hr_3hd0r8.js → 175st2ogkg_1o.js} +1 -1
- package/out/_next/static/chunks/19rsodtu91ja_.js +1 -0
- package/out/_next/static/chunks/1a2ouhup611bz.js +1 -0
- package/out/_next/static/chunks/{1solqr18og2ot.js → 1by60_b14x-3o.js} +1 -1
- package/out/_next/static/chunks/1cyq7i39885sl.js +1 -0
- package/out/_next/static/chunks/1d9it6yocgt54.js +1 -0
- package/out/_next/static/chunks/1dp1s1t-y7gal.js +1 -0
- package/out/_next/static/chunks/1dr7gh6xgypl8.js +1 -0
- package/out/_next/static/chunks/{32vaw89wdwv5_.js → 1dt30s_sp8415.js} +1 -1
- package/out/_next/static/chunks/{1t7nl8rx7mabd.js → 1e8_jl2cxd3rp.js} +576 -576
- package/out/_next/static/chunks/1f1rek_fxk3of.js +1 -0
- package/out/_next/static/chunks/1f2mna0k5efeq.js +1 -0
- package/out/_next/static/chunks/1gfz3sxwkkg3d.js +1 -0
- package/out/_next/static/chunks/1gr35qeguuws0.js +1 -0
- package/out/_next/static/chunks/{0g2wngc6oe7fd.js → 1gttu-n9am66k.js} +255 -253
- package/out/_next/static/chunks/1imi0xwi9hd99.js +1 -0
- package/out/_next/static/chunks/1ka5v5zu0cstt.js +1 -0
- package/out/_next/static/chunks/{17aahvhpls1l7.js → 1l_3oidssbhns.js} +298 -231
- package/out/_next/static/chunks/1m9zc5gm-327d.js +112 -0
- package/out/_next/static/chunks/1n9nhz-6azcp3.js +3 -0
- package/out/_next/static/chunks/1ncqwe81t_9_x.js +1 -0
- package/out/_next/static/chunks/1nix_lulkpklo.js +1 -0
- package/out/_next/static/chunks/{141tngxsk32hq.js → 1ntqovuz2c217.js} +1 -1
- package/out/_next/static/chunks/1pgs-98tfkq9_.js +1 -0
- package/out/_next/static/chunks/1q2z0aeopo8t8.js +1 -0
- package/out/_next/static/chunks/{2zpn7010iqgsy.js → 1q4lkgxfnqnew.js} +1 -1
- package/out/_next/static/chunks/{2khh_pmm224k5.js → 1qg1l7t00nyib.js} +97 -300
- package/out/_next/static/chunks/{1qxhgauuomthl.js → 1rcdimhu0qhlu.js} +407 -407
- package/out/_next/static/chunks/1rlfg62jxqj3z.js +1 -0
- package/out/_next/static/chunks/1ses023uud001.js +1 -0
- package/out/_next/static/chunks/1t5oynmttpfsw.js +1 -0
- package/out/_next/static/chunks/{25gf6xn9u1c57.js → 1t9i20i5-f8ze.js} +1 -1
- package/out/_next/static/chunks/{2h5nvlgky7fpa.js → 1tgj55b305g4h.js} +1 -1
- package/out/_next/static/chunks/{255knovck7pv2.js → 1u8snlm6a7uhi.js} +4 -4
- package/out/_next/static/chunks/{04_3ri5emyfcu.js → 1ug4k-1zhr63a.js} +1 -1
- package/out/_next/static/chunks/{3-_08i4_7yhno.js → 1uh9zgsy69g92.js} +1 -1
- package/out/_next/static/chunks/1vrpzlif-z_p0.js +1 -0
- package/out/_next/static/chunks/1vurgl6oz2qey.js +17 -0
- package/out/_next/static/chunks/1w-qc09n9ijtq.js +1 -0
- package/out/_next/static/chunks/1ycqxcht6x54p.js +1 -0
- package/out/_next/static/chunks/{2zyjw8g4tiu51.js → 1zj4307ugq0qz.js} +1 -1
- package/out/_next/static/chunks/{425epvuw3yy-n.js → 1zkd8v-qka--j.js} +169 -174
- package/out/_next/static/chunks/1zm52cjrfrq7c.js +1 -0
- package/out/_next/static/chunks/{267q_eg-c6f6m.js → 1zm6eo861i3c8.js} +1 -1
- package/out/_next/static/chunks/{1e_-_7biavwmb.js → 1zp9363yfhpom.js} +1 -1
- package/out/_next/static/chunks/1zt1xxovnjhkm.js +1 -0
- package/out/_next/static/chunks/2-3hk_db5fpok.js +1 -0
- package/out/_next/static/chunks/2-bv9a_0zgw1f.js +1 -0
- package/out/_next/static/chunks/209sxygecny37.js +1 -0
- package/out/_next/static/chunks/{1ccn725by19i1.js → 216uiih3_vdfd.js} +1 -1
- package/out/_next/static/chunks/21kfpd_bityxt.js +1 -0
- package/out/_next/static/chunks/22yqh0zlo_vwr.js +1 -0
- package/out/_next/static/chunks/24ecas0m9tao7.js +3 -0
- package/out/_next/static/chunks/24pq9210rng3f.js +1 -0
- package/out/_next/static/chunks/{0zf26k6juhlzo.js → 267prao6fyt22.js} +23 -20
- package/out/_next/static/chunks/26skkagvj1z96.js +1 -0
- package/out/_next/static/chunks/26y9sv8_-ykxf.js +1 -0
- package/out/_next/static/chunks/2701xfv_07wz_.js +1 -0
- package/out/_next/static/chunks/{1x99m91nt1m3b.js → 271333m8y3k0e.js} +1 -1
- package/out/_next/static/chunks/29rkmguzky-bp.js +1 -0
- package/out/_next/static/chunks/{077eo-0dhbxz-.js → 2a07so920b6aa.js} +1 -1
- package/out/_next/static/chunks/2a2oy8ryz2tsk.js +1 -0
- package/out/_next/static/chunks/2ao-3jzz7yw3p.js +532 -0
- package/out/_next/static/chunks/2apihn9ra2ufp.js +1 -0
- package/out/_next/static/chunks/2apnpj0-fs9ks.js +1 -0
- package/out/_next/static/chunks/2b481pitl4k85.js +1 -0
- package/out/_next/static/chunks/2bettxaqt3d2p.js +1 -0
- package/out/_next/static/chunks/{1fyh50hjt7hi_.js → 2c721vfva711t.js} +1 -1
- package/out/_next/static/chunks/{442e2l3jzxd-_.js → 2d2kl_m64j9cb.js} +1 -1
- package/out/_next/static/chunks/2droqjmvmgj13.js +1 -0
- package/out/_next/static/chunks/2dxbvwbbgpzoq.js +1 -0
- package/out/_next/static/chunks/2eqbsut829r5l.js +1 -0
- package/out/_next/static/chunks/2f3_mzxjh3gso.js +1 -0
- package/out/_next/static/chunks/2fsde0jwi5qtt.js +1 -0
- package/out/_next/static/chunks/2h249uvhh2sij.js +114 -0
- package/out/_next/static/chunks/{1gvdmbr65lpud.js → 2izok2otbk8-2.js} +505 -505
- package/out/_next/static/chunks/{0yvevihll7sz-.js → 2j120dkh7q3uf.js} +1 -1
- package/out/_next/static/chunks/2j2ynchpqh34-.js +1 -0
- package/out/_next/static/chunks/2kj6pzs_wap1v.js +1 -0
- package/out/_next/static/chunks/{2-p206i_ihx09.js → 2kok6zedeeltw.js} +1 -1
- package/out/_next/static/chunks/2lnj9jruy4nrv.js +1 -0
- package/out/_next/static/chunks/{41yy4p3-rtyz1.js → 2lsvk7xcfkarc.js} +1 -1
- package/out/_next/static/chunks/2n-pveub8b_5t.js +1 -0
- package/out/_next/static/chunks/{00xc-0pj7on2s.js → 2n3xu_wbvtj7h.js} +29 -29
- package/out/_next/static/chunks/{1oljzgz5jistn.js → 2of8q0kaeqpf0.js} +1 -1
- package/out/_next/static/chunks/2ofwtw6p08sfz.js +1 -0
- package/out/_next/static/chunks/2phl5ta4iim7l.js +12 -0
- package/out/_next/static/chunks/2q6l-xdqzgmpf.js +1 -0
- package/out/_next/static/chunks/2q8yg63br2jc9.js +1 -0
- package/out/_next/static/chunks/2r5qgieqldcd9.js +1 -0
- package/out/_next/static/chunks/2r7y401cvjc1s.js +1 -0
- package/out/_next/static/chunks/{22ja7c3gk0_ko.js → 2r96kyeehsji9.js} +1 -1
- package/out/_next/static/chunks/{3gyyjsot8mdav.js → 2rmc6ru7mc-kg.js} +1 -1
- package/out/_next/static/chunks/{1ephzzweysylq.js → 2s6kpclh6ie7o.js} +901 -973
- package/out/_next/static/chunks/{0vso09vdz38sr.js → 2sys9nj8lo3uk.js} +1 -1
- package/out/_next/static/chunks/{0w-hm7g7trtjg.js → 2tc3e-iqv71y_.js} +1 -1
- package/out/_next/static/chunks/2uo6vm7mfgrbf.js +1 -0
- package/out/_next/static/chunks/2urx6fow8c8c9.js +505 -0
- package/out/_next/static/chunks/2w2k1gveljyb7.js +1 -0
- package/out/_next/static/chunks/{22rl_arnzs-ve.js → 2w99knknr5i8c.js} +1 -1
- package/out/_next/static/chunks/2w_ptlw-ad8-9.js +4 -0
- package/out/_next/static/chunks/2ws1s9d52ayv8.js +1 -0
- package/out/_next/static/chunks/2x7enks3ydgai.js +1 -0
- package/out/_next/static/chunks/{2e46-2ubc90do.js → 2y8i7_nxm4r05.js} +5 -5
- package/out/_next/static/chunks/2ydub0t01728d.js +1 -0
- package/out/_next/static/chunks/{309f81l5ucsb_.js → 2z_iab7ozohhq.js} +60 -60
- package/out/_next/static/chunks/3-m_vzabs1uez.js +1 -0
- package/out/_next/static/chunks/{0t89-lfct-7m6.js → 302qk2fjdrthp.js} +5 -5
- package/out/_next/static/chunks/30bhz7czzs4mf.js +1 -0
- package/out/_next/static/chunks/{0tn-9w46cwydp.js → 30n4y_uu8chbh.js} +515 -514
- package/out/_next/static/chunks/{2-hdejef-mpka.js → 32_c4mbb6j1l6.js} +372 -169
- package/out/_next/static/chunks/33hp-khdfohdq.js +1 -0
- package/out/_next/static/chunks/{28ndw4nsw2t_4.js → 33i36o_l69sm5.js} +1 -1
- package/out/_next/static/chunks/3527r3jo5fj3i.js +1 -0
- package/out/_next/static/chunks/355dg8yaa94hr.js +1 -0
- package/out/_next/static/chunks/{11p92pnn5el0v.js → 35ntbr_c-yx44.js} +1 -1
- package/out/_next/static/chunks/{2rjfrjhp4kjev.js → 35sne1llxnc-m.js} +57 -57
- package/out/_next/static/chunks/36enkx1skkv2-.js +4 -0
- package/out/_next/static/chunks/{3-x7522okdy-7.js → 3772oce1n3t_g.js} +1 -1
- package/out/_next/static/chunks/{1rb8wewjbdisv.js → 37cnbm5ft1mqf.js} +1 -1
- package/out/_next/static/chunks/38xdo3cifphut.js +1 -0
- package/out/_next/static/chunks/{1tt1bbry-4f-6.js → 3_dgblylldcgb.js} +1 -1
- package/out/_next/static/chunks/3beawo-qwuk8k.js +1 -0
- package/out/_next/static/chunks/3cj_6sl9kr3e9.js +1 -0
- package/out/_next/static/chunks/3d-i_skta_wes.js +1 -0
- package/out/_next/static/chunks/3df_l2we755bb.js +1 -0
- package/out/_next/static/chunks/{43hwl25uke0l_.js → 3eve5y7fpzx2h.js} +1 -1
- package/out/_next/static/chunks/3ewgyb4y19w-3.js +1 -0
- package/out/_next/static/chunks/3f3789eh18_oy.js +1 -0
- package/out/_next/static/chunks/{1n_gxvu31aofy.js → 3f8qelpscqfym.js} +2 -2
- package/out/_next/static/chunks/3g3-e9m1en45q.js +1 -0
- package/out/_next/static/chunks/{0uxdbfa8gv6tk.js → 3h6akt2uu05ku.js} +29 -29
- package/out/_next/static/chunks/{3w4qettzp7khe.js → 3huu0tqmxwowu.js} +523 -522
- package/out/_next/static/chunks/3i239y-1hbkm-.js +1 -0
- package/out/_next/static/chunks/{1qsut_e3msg0l.js → 3ipx7xbxchsq9.js} +1 -1
- package/out/_next/static/chunks/{2ftp5xmq_w23j.js → 3j9xvdz55bi4p.js} +345 -345
- package/out/_next/static/chunks/3kp8qmhoi24oz.js +1 -0
- package/out/_next/static/chunks/3ksq69yq-40_r.js +1 -0
- package/out/_next/static/chunks/{2x83vs8ns4pww.js → 3njwfothmmg7u.js} +3 -3
- package/out/_next/static/chunks/{0bj_310rugcn1.js → 3oqxl46ukaojj.js} +11 -11
- package/out/_next/static/chunks/{1upkv4ltuh3s5.js → 3qn6r8-0u6dij.js} +352 -352
- package/out/_next/static/chunks/3qye1lytea2i8.js +1 -0
- package/out/_next/static/chunks/3rlp9yr75liz7.js +1 -0
- package/out/_next/static/chunks/{2i82rmjta9ijs.js → 3sa_hlx3konc7.js} +1 -1
- package/out/_next/static/chunks/3tyo643l62h3m.js +1 -0
- package/out/_next/static/chunks/3tz2tpqa9uvwm.js +1 -0
- package/out/_next/static/chunks/{2pbgsq7vvtk8_.js → 3utpc-fc6_y0f.js} +1 -1
- package/out/_next/static/chunks/3v-0c2aj6c0on.js +1 -0
- package/out/_next/static/chunks/3v6nxa28rxngq.js +1 -0
- package/out/_next/static/chunks/{1og49_atcksim.js → 3vbamaoiuk9yj.js} +1 -1
- package/out/_next/static/chunks/3vv99btjc-mky.js +1 -0
- package/out/_next/static/chunks/{1nqojcig-0m3c.js → 3w59kt5ztyvoq.js} +1 -1
- package/out/_next/static/chunks/3x02lxdo28u9i.js +1 -0
- package/out/_next/static/chunks/3xl-op0hwxytg.js +272 -0
- package/out/_next/static/chunks/3ydnxyc4rvad_.js +1 -0
- package/out/_next/static/chunks/3ylg4gfetwgxw.js +1 -0
- package/out/_next/static/chunks/{1-4v8oivkgnyl.js → 3zdtteq-r2fs5.js} +3 -3
- package/out/_next/static/chunks/3zkwt0gybqtgm.js +1 -0
- package/out/_next/static/chunks/{0wq_9f98weoe3.js → 3zs7l4362msjd.js} +1 -1
- package/out/_next/static/chunks/40etabvml_71y.js +1 -0
- package/out/_next/static/chunks/417jkzz0slv9m.js +1 -0
- package/out/_next/static/chunks/41b5gpyqbj58m.js +338 -0
- package/out/_next/static/chunks/41u2-5jayyajf.js +22 -0
- package/out/_next/static/chunks/42gcpy51w7lk1.js +1 -0
- package/out/_next/static/chunks/{1ph0tfo-4hl-f.js → 42ymanq326mo7.js} +1 -1
- package/out/_next/static/chunks/{3w_umk1xtj6to.js → 43fp64xnfy646.js} +1 -1
- package/out/_next/static/chunks/43v4y2gu5z9_h.js +1 -0
- package/out/_next/static/chunks/44cer242u-f8v.js +1 -0
- package/out/_next/static/chunks/{1ozi46t8jajqh.js → 44zi0gl0a6a8w.js} +1 -1
- package/out/_next/static/chunks/turbopack-0n2o5_bkskckx.js +1 -0
- package/out/_not-found/__next._full.txt +12 -12
- package/out/_not-found/__next._not-found.__PAGE__.txt +19 -2
- package/out/_not-found/__next._tree.txt +2 -2
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +12 -12
- package/out/index.html +1 -1
- package/out/index.txt +11 -11
- package/package.json +15 -15
- package/out/__next._head.txt +0 -6
- package/out/__next._index.txt +0 -5
- package/out/_next/static/chunks/00g5suuoa-_wn.js +0 -1
- package/out/_next/static/chunks/01fh3_bncbe5u.js +0 -1
- package/out/_next/static/chunks/01urdkl1j8o6l.js +0 -1
- package/out/_next/static/chunks/026vw95s88gsy.js +0 -1
- package/out/_next/static/chunks/02eui3ctddbd2.js +0 -1
- package/out/_next/static/chunks/04c4nksb5y9r-.js +0 -1
- package/out/_next/static/chunks/04g-l-_b4payc.js +0 -1
- package/out/_next/static/chunks/04j9pexbmysdy.js +0 -1
- package/out/_next/static/chunks/055baac5e-c2o.js +0 -1
- package/out/_next/static/chunks/05bdni_jrobq1.js +0 -1
- package/out/_next/static/chunks/05o0tb8l_htmw.js +0 -1
- package/out/_next/static/chunks/07z6p262h5hgl.js +0 -1
- package/out/_next/static/chunks/08m_4cihfmik8.js +0 -1
- package/out/_next/static/chunks/08obqw64faj8j.js +0 -1
- package/out/_next/static/chunks/099ilz3dmm1jw.js +0 -1
- package/out/_next/static/chunks/09ppu_k464q-n.js +0 -1
- package/out/_next/static/chunks/0bgcaf2x51kms.js +0 -1
- package/out/_next/static/chunks/0c5d3qn2mb3ew.js +0 -1
- package/out/_next/static/chunks/0dck67in84de0.js +0 -1
- package/out/_next/static/chunks/0dg4wxz-6u5lo.js +0 -1
- package/out/_next/static/chunks/0dva036n8ab62.js +0 -1
- package/out/_next/static/chunks/0erga_bzezbza.js +0 -1
- package/out/_next/static/chunks/0f0-i105odxqd.js +0 -1
- package/out/_next/static/chunks/0gyeqz9pagssf.js +0 -1
- package/out/_next/static/chunks/0i82k-t0fbn8f.js +0 -1
- package/out/_next/static/chunks/0kzw45f61wm3j.js +0 -1
- package/out/_next/static/chunks/0l8bfa2xewq69.js +0 -1
- package/out/_next/static/chunks/0n-zml1gn0o1u.js +0 -1
- package/out/_next/static/chunks/0n92hec_jb_-_.js +0 -1
- package/out/_next/static/chunks/0pv2wirx45e1m.js +0 -1
- package/out/_next/static/chunks/0qxd_8t3nca36.js +0 -1
- package/out/_next/static/chunks/0s1jghzw8jufz.js +0 -1
- package/out/_next/static/chunks/0s84ekz_f9ngx.js +0 -1
- package/out/_next/static/chunks/0ti58h622yo-_.js +0 -2
- package/out/_next/static/chunks/0u8yr4k1y6m2t.js +0 -1
- package/out/_next/static/chunks/0ubxyut5rr600.js +0 -1
- package/out/_next/static/chunks/0wbw9h7rsis2r.js +0 -1
- package/out/_next/static/chunks/0y4e49hpuucdi.js +0 -1
- package/out/_next/static/chunks/1-b44873bjsdw.js +0 -1
- package/out/_next/static/chunks/1-c3a1vnl8v1q.js +0 -1
- package/out/_next/static/chunks/1-xf86jgea22y.js +0 -1
- package/out/_next/static/chunks/10b0qqdnb_nox.js +0 -1
- package/out/_next/static/chunks/12kdmh0h_mboy.js +0 -1
- package/out/_next/static/chunks/14ijcpo72av4r.js +0 -1
- package/out/_next/static/chunks/16hdip1drt8o-.js +0 -1
- package/out/_next/static/chunks/18txc1wwwu9f9.js +0 -1
- package/out/_next/static/chunks/18wa83g0qfh-b.js +0 -1
- package/out/_next/static/chunks/19dp8nr4uygg2.js +0 -5
- package/out/_next/static/chunks/1_8acnu6_-qe-.js +0 -1
- package/out/_next/static/chunks/1__nujzr9e352.js +0 -3
- package/out/_next/static/chunks/1bmyq1b0by7ug.js +0 -1
- package/out/_next/static/chunks/1d1tpj9nm1nhf.js +0 -1
- package/out/_next/static/chunks/1dfwa563iciz3.js +0 -1
- package/out/_next/static/chunks/1di5enkavl9vx.js +0 -4
- package/out/_next/static/chunks/1fwsjnd1y-lx_.js +0 -1
- package/out/_next/static/chunks/1gaexq_suxai0.js +0 -1
- package/out/_next/static/chunks/1gnggc6370ji-.js +0 -1
- package/out/_next/static/chunks/1gtj_l5ame5mw.js +0 -1
- package/out/_next/static/chunks/1hsvckd0sgdgr.js +0 -1
- package/out/_next/static/chunks/1i4f3n_2_3ery.js +0 -1
- package/out/_next/static/chunks/1j7e3qpjuj89a.js +0 -1
- package/out/_next/static/chunks/1mrvp94tietcv.js +0 -1
- package/out/_next/static/chunks/1mvadj46owrck.js +0 -1
- package/out/_next/static/chunks/1nasz7q3tvb53.js +0 -1
- package/out/_next/static/chunks/1o3ggu95lfu6i.js +0 -1
- package/out/_next/static/chunks/1qjsgebn9m-0l.js +0 -1
- package/out/_next/static/chunks/1rr74xxjtckyv.js +0 -1
- package/out/_next/static/chunks/1uu55ejvi7q5u.js +0 -1
- package/out/_next/static/chunks/1xbzxfeq9789f.js +0 -1
- package/out/_next/static/chunks/1ybiu-rkt50_1.js +0 -1
- package/out/_next/static/chunks/20qelrstvz9_n.js +0 -1
- package/out/_next/static/chunks/21at65obnoo8z.js +0 -1
- package/out/_next/static/chunks/21ko5mxfderw0.js +0 -1
- package/out/_next/static/chunks/21muzwu43o8xg.js +0 -1
- package/out/_next/static/chunks/23d-hvrwpixpm.js +0 -1
- package/out/_next/static/chunks/2569rrrffvm2w.js +0 -31
- package/out/_next/static/chunks/29o74k0d6hkdf.js +0 -1
- package/out/_next/static/chunks/2bm95r0011asw.js +0 -1
- package/out/_next/static/chunks/2btabnibkm0db.js +0 -1
- package/out/_next/static/chunks/2c--awgkdcikq.js +0 -1
- package/out/_next/static/chunks/2c2dspoukng-5.js +0 -1
- package/out/_next/static/chunks/2ep7mjbaoeou0.js +0 -1
- package/out/_next/static/chunks/2ezgqm7atphi6.js +0 -1
- package/out/_next/static/chunks/2gfjzq_vjea4w.js +0 -1
- package/out/_next/static/chunks/2h5hase6ewoyc.js +0 -1
- package/out/_next/static/chunks/2hghi41nhdww2.css +0 -3
- package/out/_next/static/chunks/2ies66gmou203.js +0 -1
- package/out/_next/static/chunks/2jenu2eek9viz.js +0 -1
- package/out/_next/static/chunks/2luaj_cf5f19-.js +0 -1
- package/out/_next/static/chunks/2mgmvz66gh5ub.js +0 -1
- package/out/_next/static/chunks/2nwlqtv3vrzcv.js +0 -1
- package/out/_next/static/chunks/2o8k8x5zcepfy.js +0 -1
- package/out/_next/static/chunks/2pcdnd4nzcw4c.js +0 -1
- package/out/_next/static/chunks/2q0rz76kj6h5z.js +0 -1
- package/out/_next/static/chunks/2si5cg3hl5dtf.js +0 -4
- package/out/_next/static/chunks/2uhrhq35bki6u.js +0 -1
- package/out/_next/static/chunks/2wi7y3sfqyqdo.js +0 -3
- package/out/_next/static/chunks/2ymtumj-hfrjo.js +0 -1
- package/out/_next/static/chunks/2zdzgmacaoor9.js +0 -1
- package/out/_next/static/chunks/3-irhmtm1q5qw.js +0 -1
- package/out/_next/static/chunks/3-k74vn9exnb6.js +0 -1
- package/out/_next/static/chunks/31ei992g8gqz9.js +0 -1
- package/out/_next/static/chunks/34845aqksy1dl.js +0 -3
- package/out/_next/static/chunks/34y7nx6qmat06.js +0 -1
- package/out/_next/static/chunks/36rqw8h6ildpl.js +0 -1
- package/out/_next/static/chunks/3a_khw6q6pyh1.js +0 -1
- package/out/_next/static/chunks/3c_31f20z4jrl.js +0 -1
- package/out/_next/static/chunks/3ckp70rgr63u9.js +0 -1
- package/out/_next/static/chunks/3ed24zmt8qfys.js +0 -1
- package/out/_next/static/chunks/3ez20hi1mxw0w.js +0 -1
- package/out/_next/static/chunks/3fdx-rnos5ft-.js +0 -1
- package/out/_next/static/chunks/3fgfbxxb-j_bn.js +0 -4
- package/out/_next/static/chunks/3k-gz8qf-mj-p.js +0 -1
- package/out/_next/static/chunks/3lehc5pujwhsz.js +0 -1
- package/out/_next/static/chunks/3m0ytnc241yfz.js +0 -1
- package/out/_next/static/chunks/3mpe7c3iyxn5h.js +0 -1
- package/out/_next/static/chunks/3mvaub8qjdyuc.js +0 -1
- package/out/_next/static/chunks/3nw7u4bie0-g6.js +0 -1
- package/out/_next/static/chunks/3qatb38-tk_gd.js +0 -1
- package/out/_next/static/chunks/3tdcdi_utmoy_.js +0 -1
- package/out/_next/static/chunks/3tdzweqszru4y.js +0 -1
- package/out/_next/static/chunks/3tt_ir_va6262.js +0 -1
- package/out/_next/static/chunks/3y_51bmdnc0ey.js +0 -1
- package/out/_next/static/chunks/3yr66ufoli71t.js +0 -1
- package/out/_next/static/chunks/41qxc142snm22.js +0 -1
- package/out/_next/static/chunks/43qmngblcab8f.js +0 -1
- package/out/_next/static/chunks/turbopack-3r8yn0j92tqw_.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/{BvOGdrl2Cfw-jVV73WY6a → A1hxMz783bIWo0Q9qqV3L}/_buildManifest.js +0 -0
- /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → A1hxMz783bIWo0Q9qqV3L}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{BvOGdrl2Cfw-jVV73WY6a → A1hxMz783bIWo0Q9qqV3L}/_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}])},84327,e=>{"use strict";var t=e.i(37875);let r="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
|
|
88
|
-
#ifdef MULTIVIEW
|
|
89
|
-
viewProjectionR : mat4x4<f32>,
|
|
90
|
-
#endif
|
|
91
|
-
view : mat4x4<f32>,
|
|
92
|
-
projection : mat4x4<f32>,
|
|
93
|
-
vEyePosition : vec4<f32>,
|
|
94
|
-
inverseProjection : mat4x4<f32>,};
|
|
95
|
-
#define SCENE_UBO
|
|
96
|
-
var<uniform> scene : Scene;
|
|
97
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["sceneUboDeclarationWGSL",0,{name:r,shader:i}])},2586,30368,95676,e=>{"use strict";var t=e.i(37875);let r="meshUboDeclaration",i=`struct Mesh {world : mat4x4<f32>,
|
|
98
|
-
visibility : f32,};var<uniform> mesh : Mesh;
|
|
99
|
-
#define WORLD_UBO
|
|
100
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["meshUboDeclarationWGSL",0,{name:r,shader:i}],2586);let a="mainUVVaryingDeclaration",n=`#ifdef MAINUV{X}
|
|
101
|
-
varying vMainUV{X}: vec2f;
|
|
102
|
-
#endif
|
|
103
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[a]||(t.ShaderStore.IncludesShadersStoreWGSL[a]=n),e.s(["mainUVVaryingDeclarationWGSL",0,{name:a,shader:n}],30368);let f="logDepthDeclaration",d=`#ifdef LOGARITHMICDEPTH
|
|
104
|
-
uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;
|
|
105
|
-
#endif
|
|
106
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["logDepthDeclarationWGSL",0,{name:f,shader:d}],95676)},50641,93879,e=>{"use strict";var t=e.i(37875);let r="bonesDeclaration",i=`#if NUM_BONE_INFLUENCERS>0
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,87691,45961,47485,89701,62921,49405,e=>{"use strict";var t=e.i(2342);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}],87691);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}],45961);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,25 +51,7 @@ uniform world : mat4x4<f32>;
|
|
|
156
51
|
uniform previousWorld : mat4x4<f32>;
|
|
157
52
|
#endif
|
|
158
53
|
#endif
|
|
159
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[
|
|
160
|
-
uniform vClipPlane: vec4<f32>;varying fClipDistance: f32;
|
|
161
|
-
#endif
|
|
162
|
-
#ifdef CLIPPLANE2
|
|
163
|
-
uniform vClipPlane2: vec4<f32>;varying fClipDistance2: f32;
|
|
164
|
-
#endif
|
|
165
|
-
#ifdef CLIPPLANE3
|
|
166
|
-
uniform vClipPlane3: vec4<f32>;varying fClipDistance3: f32;
|
|
167
|
-
#endif
|
|
168
|
-
#ifdef CLIPPLANE4
|
|
169
|
-
uniform vClipPlane4: vec4<f32>;varying fClipDistance4: f32;
|
|
170
|
-
#endif
|
|
171
|
-
#ifdef CLIPPLANE5
|
|
172
|
-
uniform vClipPlane5: vec4<f32>;varying fClipDistance5: f32;
|
|
173
|
-
#endif
|
|
174
|
-
#ifdef CLIPPLANE6
|
|
175
|
-
uniform vClipPlane6: vec4<f32>;varying fClipDistance6: f32;
|
|
176
|
-
#endif
|
|
177
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[r]||(t.ShaderStore.IncludesShadersStoreWGSL[r]=i),e.s(["clipPlaneVertexDeclarationWGSL",0,{name:r,shader:i}])},98046,99804,58220,4312,e=>{"use strict";var t=e.i(37875);let r="instancesVertex",i=`#ifdef INSTANCES
|
|
54
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["instancesDeclarationWGSL",0,{name:f,shader:o}],47485);let d="instancesVertex",s=`#ifdef INSTANCES
|
|
178
55
|
var finalWorld=mat4x4<f32>(vertexInputs.world0,vertexInputs.world1,vertexInputs.world2,vertexInputs.world3);
|
|
179
56
|
#if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
|
|
180
57
|
var finalPreviousWorld=mat4x4<f32>(
|
|
@@ -201,7 +78,7 @@ var finalWorld=mesh.world;
|
|
|
201
78
|
var finalPreviousWorld=uniforms.previousWorld;
|
|
202
79
|
#endif
|
|
203
80
|
#endif
|
|
204
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[
|
|
81
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["instancesVertexWGSL",0,{name:d,shader:s}],89701);let u="bonesVertex",l=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
205
82
|
#if NUM_BONE_INFLUENCERS>0
|
|
206
83
|
var influence : mat4x4<f32>;
|
|
207
84
|
#ifdef BONETEXTURE
|
|
@@ -254,82 +131,356 @@ influence=influence+uniforms.mBones[i32(vertexInputs.matricesIndicesExtra[3])]*v
|
|
|
254
131
|
finalWorld=finalWorld*influence;
|
|
255
132
|
#endif
|
|
256
133
|
#endif
|
|
257
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[
|
|
258
|
-
{
|
|
259
|
-
#ifdef INSTANCES
|
|
260
|
-
let VATStartFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.x;let VATEndFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.y;let VATOffsetFrame: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.z;let VATSpeed: f32=vertexInputs.bakedVertexAnimationSettingsInstanced.w;
|
|
134
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[u]||(t.ShaderStore.IncludesShadersStoreWGSL[u]=l),e.s(["bonesVertexWGSL",0,{name:u,shader:l}],62921);let v="bakedVertexAnimation",c=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
135
|
+
{
|
|
136
|
+
#ifdef INSTANCES
|
|
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;
|
|
138
|
+
#else
|
|
139
|
+
let VATStartFrame: f32=uniforms.bakedVertexAnimationSettings.x;let VATEndFrame: f32=uniforms.bakedVertexAnimationSettings.y;let VATOffsetFrame: f32=uniforms.bakedVertexAnimationSettings.z;let VATSpeed: f32=uniforms.bakedVertexAnimationSettings.w;
|
|
140
|
+
#endif
|
|
141
|
+
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];
|
|
142
|
+
#if NUM_BONE_INFLUENCERS>1
|
|
143
|
+
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndices[1],VATFrameNum)*vertexInputs.matricesWeights[1];
|
|
144
|
+
#endif
|
|
145
|
+
#if NUM_BONE_INFLUENCERS>2
|
|
146
|
+
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndices[2],VATFrameNum)*vertexInputs.matricesWeights[2];
|
|
147
|
+
#endif
|
|
148
|
+
#if NUM_BONE_INFLUENCERS>3
|
|
149
|
+
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndices[3],VATFrameNum)*vertexInputs.matricesWeights[3];
|
|
150
|
+
#endif
|
|
151
|
+
#if NUM_BONE_INFLUENCERS>4
|
|
152
|
+
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[0],VATFrameNum)*vertexInputs.matricesWeightsExtra[0];
|
|
153
|
+
#endif
|
|
154
|
+
#if NUM_BONE_INFLUENCERS>5
|
|
155
|
+
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[1],VATFrameNum)*vertexInputs.matricesWeightsExtra[1];
|
|
156
|
+
#endif
|
|
157
|
+
#if NUM_BONE_INFLUENCERS>6
|
|
158
|
+
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[2],VATFrameNum)*vertexInputs.matricesWeightsExtra[2];
|
|
159
|
+
#endif
|
|
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}],49405)},10997,e=>{"use strict";var t=e.i(2342);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}])},88074,e=>{"use strict";var t=e.i(2342);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}])},83753,64767,e=>{"use strict";var t=e.i(2342);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}],83753);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}],64767)},43402,25462,e=>{"use strict";var t=e.i(2342);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}],43402);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}],25462)},35551,e=>{"use strict";var t=e.i(2342);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}])},67263,e=>{"use strict";var t=e.i(2342);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}])},42158,e=>{"use strict";var t=e.i(2342);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}])},77918,e=>{"use strict";var t=e.i(2342);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}])},25661,e=>{"use strict";var t=e.i(2342);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}])},19579,44181,77316,43933,e=>{"use strict";var t=e.i(2342);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}],19579);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}],44181);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}],77316);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
|
|
395
|
+
#endif
|
|
396
|
+
#ifdef MORPHTARGETTEXTURE_HASUVS
|
|
397
|
+
vertexID=vertexID+1.0;
|
|
398
|
+
#endif
|
|
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);
|
|
261
402
|
#else
|
|
262
|
-
|
|
403
|
+
tangentUpdated=vec4f(tangentUpdated.xyz+(readVector3FromRawSampler(i,vertexID) -vertexInputs.tangent.xyz)*uniforms.morphTargetInfluences[i],tangentUpdated.a);
|
|
263
404
|
#endif
|
|
264
|
-
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];
|
|
265
|
-
#if NUM_BONE_INFLUENCERS>1
|
|
266
|
-
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndices[1],VATFrameNum)*vertexInputs.matricesWeights[1];
|
|
267
405
|
#endif
|
|
268
|
-
#
|
|
269
|
-
|
|
406
|
+
#ifdef MORPHTARGETTEXTURE_HASTANGENTS
|
|
407
|
+
vertexID=vertexID+1.0;
|
|
270
408
|
#endif
|
|
271
|
-
#
|
|
272
|
-
|
|
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];
|
|
273
414
|
#endif
|
|
274
|
-
#if NUM_BONE_INFLUENCERS>4
|
|
275
|
-
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[0],VATFrameNum)*vertexInputs.matricesWeightsExtra[0];
|
|
276
415
|
#endif
|
|
277
|
-
#
|
|
278
|
-
|
|
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];
|
|
279
421
|
#endif
|
|
280
|
-
#if NUM_BONE_INFLUENCERS>6
|
|
281
|
-
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[2],VATFrameNum)*vertexInputs.matricesWeightsExtra[2];
|
|
282
422
|
#endif
|
|
283
|
-
|
|
284
|
-
VATInfluence=VATInfluence+readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,vertexInputs.matricesIndicesExtra[3],VATFrameNum)*vertexInputs.matricesWeightsExtra[3];
|
|
423
|
+
}
|
|
285
424
|
#endif
|
|
286
|
-
|
|
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}];
|
|
287
431
|
#endif
|
|
288
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["bakedVertexAnimationWGSL",0,{name:f,shader:d}],58220);let o="clipPlaneVertex",s=`#ifdef CLIPPLANE
|
|
289
|
-
vertexOutputs.fClipDistance=dot(worldPos,uniforms.vClipPlane);
|
|
290
432
|
#endif
|
|
291
|
-
#ifdef
|
|
292
|
-
|
|
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}];
|
|
293
438
|
#endif
|
|
294
|
-
#ifdef CLIPPLANE3
|
|
295
|
-
vertexOutputs.fClipDistance3=dot(worldPos,uniforms.vClipPlane3);
|
|
296
439
|
#endif
|
|
297
|
-
#ifdef
|
|
298
|
-
|
|
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);
|
|
299
445
|
#endif
|
|
300
|
-
#ifdef CLIPPLANE5
|
|
301
|
-
vertexOutputs.fClipDistance5=dot(worldPos,uniforms.vClipPlane5);
|
|
302
446
|
#endif
|
|
303
|
-
#ifdef
|
|
304
|
-
|
|
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}];
|
|
305
452
|
#endif
|
|
306
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[o]||(t.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["clipPlaneVertexWGSL",0,{name:o,shader:s}],4312)},31160,52178,18101,e=>{"use strict";var t=e.i(37875);let r="fogVertexDeclaration",i=`#ifdef FOG
|
|
307
|
-
varying vFogDistance: vec3f;
|
|
308
453
|
#endif
|
|
309
|
-
|
|
310
|
-
#ifdef
|
|
311
|
-
|
|
454
|
+
#ifdef MORPHTARGETS_UV2
|
|
455
|
+
#ifdef USE_VERTEX_PULLING
|
|
456
|
+
uv2Updated=uv2Updated+(vertexInputs.uv2_{X}-vp_baseUV2)*uniforms.morphTargetInfluences[{X}];
|
|
312
457
|
#else
|
|
313
|
-
|
|
458
|
+
uv2Updated=uv2Updated+(vertexInputs.uv2_{X}-vertexInputs.uv2)*uniforms.morphTargetInfluences[{X}];
|
|
314
459
|
#endif
|
|
315
460
|
#endif
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
#ifdef VERTEXALPHA
|
|
320
|
-
vertexOutputs.vColor*=colorUpdated;
|
|
461
|
+
#ifdef MORPHTARGETS_COLOR
|
|
462
|
+
#ifdef USE_VERTEX_PULLING
|
|
463
|
+
colorUpdated=colorUpdated+(vertexInputs.color{X}-vp_baseColor)*uniforms.morphTargetInfluences[{X}];
|
|
321
464
|
#else
|
|
322
|
-
|
|
465
|
+
colorUpdated=colorUpdated+(vertexInputs.color{X}-vertexInputs.color)*uniforms.morphTargetInfluences[{X}];
|
|
323
466
|
#endif
|
|
324
467
|
#endif
|
|
325
|
-
#ifdef INSTANCESCOLOR
|
|
326
|
-
vertexOutputs.vColor*=vertexInputs.instanceColor;
|
|
327
468
|
#endif
|
|
328
469
|
#endif
|
|
329
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[
|
|
470
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["morphTargetsVertexWGSL",0,{name:d,shader:s}],43933)},34218,e=>{"use strict";var t=e.i(2342);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}])},73818,13076,5284,72997,43006,49965,40449,52828,55085,25818,e=>{"use strict";var t=e.i(2342);let r="uvAttributeDeclaration",i=`#if defined(UV{X}) && !defined(USE_VERTEX_PULLING)
|
|
330
481
|
attribute uv{X}: vec2f;
|
|
331
482
|
#endif
|
|
332
|
-
`;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}],73818);let a="prePassVertexDeclaration",n=`#ifdef PREPASS
|
|
333
484
|
#ifdef PREPASS_LOCAL_POSITION
|
|
334
485
|
varying vPosition : vec3f;
|
|
335
486
|
#endif
|
|
@@ -343,10 +494,10 @@ varying vNormViewDepth: f32;
|
|
|
343
494
|
uniform previousViewProjection: mat4x4f;varying vCurrentPosition: vec4f;varying vPreviousPosition: vec4f;
|
|
344
495
|
#endif
|
|
345
496
|
#endif
|
|
346
|
-
`;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}],13076);let f="samplerVertexDeclaration",o=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
|
|
347
498
|
varying v_VARYINGNAME_UV: vec2f;
|
|
348
499
|
#endif
|
|
349
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=
|
|
500
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=o),e.s(["samplerVertexDeclarationWGSL",0,{name:f,shader:o}],5284);let d="lightVxUboDeclaration",s=`#ifdef LIGHT{X}
|
|
350
501
|
struct Light{X}
|
|
351
502
|
{vLightData: vec4f,
|
|
352
503
|
vLightDiffuse: vec4f,
|
|
@@ -377,7 +528,7 @@ varying vPositionFromLight{X}: vec4f;varying vDepthMetric{X}: f32;uniform lightM
|
|
|
377
528
|
#endif
|
|
378
529
|
#endif
|
|
379
530
|
#endif
|
|
380
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[
|
|
531
|
+
`;t.ShaderStore.IncludesShadersStoreWGSL[d]||(t.ShaderStore.IncludesShadersStoreWGSL[d]=s),e.s(["lightVxUboDeclarationWGSL",0,{name:d,shader:s}],72997);let u="vertexPullingDeclaration",l=`#ifdef USE_VERTEX_PULLING
|
|
381
532
|
#ifdef VERTEX_PULLING_USE_INDEX_BUFFER
|
|
382
533
|
var<storage,read> indices : array<u32>;
|
|
383
534
|
#endif
|
|
@@ -555,7 +706,7 @@ vp_readMatrixWeightExtraValue(offset+cs*3u,dataType,normalized)
|
|
|
555
706
|
#endif
|
|
556
707
|
#endif
|
|
557
708
|
#endif
|
|
558
|
-
`;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}],43006);let v="vertexPullingVertex",c=`#ifdef USE_VERTEX_PULLING
|
|
559
710
|
let vpVertexIndex: u32=vp_readVertexIndex(vertexInputs.vertexIndex);positionUpdated=vp_readPosition(uniforms.vp_position_info,vpVertexIndex);
|
|
560
711
|
#ifdef NORMAL
|
|
561
712
|
normalUpdated=vp_readNormal(uniforms.vp_normal_info,vpVertexIndex);
|
|
@@ -609,7 +760,7 @@ var vp_matricesIndicesExtra: vec4f=vp_readBoneIndicesExtra(uniforms.vp_matricesI
|
|
|
609
760
|
#endif
|
|
610
761
|
#endif
|
|
611
762
|
#endif
|
|
612
|
-
`;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}],49965);let p="prePassVertex",m=`#ifdef PREPASS_DEPTH
|
|
613
764
|
vertexOutputs.vViewPos=(scene.view*worldPos).rgb;
|
|
614
765
|
#endif
|
|
615
766
|
#ifdef PREPASS_NORMALIZED_VIEW_DEPTH
|
|
@@ -648,7 +799,7 @@ vertexOutputs.vPreviousPosition=uniforms.previousViewProjection*finalPreviousWor
|
|
|
648
799
|
vertexOutputs.vPreviousPosition=uniforms.previousViewProjection*finalPreviousWorld* vec4f(positionUpdated,1.0);
|
|
649
800
|
#endif
|
|
650
801
|
#endif
|
|
651
|
-
`;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}],40449);let x="uvVariableDeclaration",S=`#ifdef MAINUV{X}
|
|
652
803
|
#if !defined(UV{X})
|
|
653
804
|
var uv{X}: vec2f=vec2f(0.,0.);
|
|
654
805
|
#elif defined(USE_VERTEX_PULLING)
|
|
@@ -658,7 +809,7 @@ var uv{X}: vec2f=vertexInputs.uv{X};
|
|
|
658
809
|
#endif
|
|
659
810
|
vertexOutputs.vMainUV{X}=uv{X};
|
|
660
811
|
#endif
|
|
661
|
-
`;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}],52828);let I="samplerVertexImplementation",E=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
|
|
662
813
|
if (uniforms.v_INFONAME_==0.)
|
|
663
814
|
{vertexOutputs.v_VARYINGNAME_UV= (uniforms._MATRIXNAME_Matrix* vec4f(uvUpdated,1.0,0.0)).xy;}
|
|
664
815
|
#ifdef UV2
|
|
@@ -682,7 +833,7 @@ else if (uniforms.v_INFONAME_==5.)
|
|
|
682
833
|
{vertexOutputs.v_VARYINGNAME_UV= (uniforms._MATRIXNAME_Matrix* vec4f(vertexInputs.uv6,1.0,0.0)).xy;}
|
|
683
834
|
#endif
|
|
684
835
|
#endif
|
|
685
|
-
`;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}],55085);let _="shadowsVertex",T=`#ifdef SHADOWS
|
|
686
837
|
#if defined(SHADOWCSM{X})
|
|
687
838
|
#ifdef SCENE_UBO
|
|
688
839
|
vertexOutputs.vPositionFromCamera{X}=scene.view*worldPos;
|
|
@@ -730,168 +881,17 @@ vertexOutputs.vDepthMetric{X}=(vertexOutputs.vPositionFromLight{X}.z+light{X}.de
|
|
|
730
881
|
#endif
|
|
731
882
|
#endif
|
|
732
883
|
#endif
|
|
733
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[_]||(t.ShaderStore.IncludesShadersStoreWGSL[_]=T),e.s(["shadowsVertexWGSL",0,{name:_,shader:T}],
|
|
734
|
-
vertexOutputs.
|
|
735
|
-
#
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
#ifdef MORPHTARGETS_TEXTURE
|
|
739
|
-
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>
|
|
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}],13407);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}],16247);let f="morphTargetsVertexGlobal",d=`#ifdef MORPHTARGETS
|
|
773
|
-
#ifdef MORPHTARGETS_TEXTURE
|
|
774
|
-
var vertexID : f32;
|
|
775
|
-
#endif
|
|
776
|
-
#endif
|
|
777
|
-
`;t.ShaderStore.IncludesShadersStoreWGSL[f]||(t.ShaderStore.IncludesShadersStoreWGSL[f]=d),e.s(["morphTargetsVertexGlobalWGSL",0,{name:f,shader:d}],78326);let o="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}],25818)},68600,e=>{"use strict";var t=e.i(2342);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[o]||(t.ShaderStore.IncludesShadersStoreWGSL[o]=s),e.s(["morphTargetsVertexWGSL",0,{name:o,shader:s}],9975)},90305,e=>{"use strict";var t=e.i(37875);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}])}]);
|