@uptimizr/dashboard 0.2.0 → 0.3.1
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/README.md +1 -1
- package/out/404.html +1 -1
- package/out/__next.__PAGE__.txt +4 -4
- package/out/__next._full.txt +11 -11
- package/out/__next._head.txt +4 -4
- package/out/__next._index.txt +4 -4
- package/out/__next._tree.txt +2 -2
- package/out/_next/static/chunks/0-29qf-q72olu.js +1 -0
- package/out/_next/static/chunks/0-tk5ptli--r0.js +1 -0
- package/out/_next/static/chunks/006nix8mv66z_.js +1 -0
- package/out/_next/static/chunks/01aeari2x_tlz.js +1 -0
- package/out/_next/static/chunks/0296l8lzd69ns.js +1 -0
- package/out/_next/static/chunks/02tc9r3sc7fgc.js +1 -0
- package/out/_next/static/chunks/{256k1jw1m--l7.js → 03st_hmor6qju.js} +1 -1
- package/out/_next/static/chunks/{2ue1wo4ryk87z.js → 04pk6n3z75dcy.js} +1 -1
- package/out/_next/static/chunks/05l3dluxivcor.js +1 -0
- package/out/_next/static/chunks/06ljadw2-i91-.js +1 -0
- package/out/_next/static/chunks/{2ycvtdd68gub7.js → 08bm3ye5govev.js} +1 -1
- package/out/_next/static/chunks/{32ahba5ezp467.js → 08rk1dp1wb-gm.js} +38 -38
- package/out/_next/static/chunks/091ll-lp6spu3.js +1 -0
- package/out/_next/static/chunks/09p5fltt7o3to.js +1 -0
- package/out/_next/static/chunks/{3mbnfpufs2-7e.js → 0_tqu60oxaj7q.js} +1 -1
- package/out/_next/static/chunks/{3riekaxl3uxfb.js → 0_ux41xcoea3u.js} +40 -40
- package/out/_next/static/chunks/0b7-mrrg7ryj2.js +1 -0
- package/out/_next/static/chunks/{29tfeb6amdkjb.js → 0c2k-gvwph4qs.js} +1 -1
- package/out/_next/static/chunks/0e7xuupmrw4-e.js +1 -0
- package/out/_next/static/chunks/0f_nv15a8q415.js +1 -0
- package/out/_next/static/chunks/0fxfsshoxnnh6.js +4 -0
- package/out/_next/static/chunks/0g6u34xkzrpjn.js +1 -0
- package/out/_next/static/chunks/0g7p8zp2kxve5.js +1 -0
- package/out/_next/static/chunks/0gblbgw7w7r9w.js +1 -0
- package/out/_next/static/chunks/0gwa154w_0wuh.js +1 -0
- package/out/_next/static/chunks/0h-ohf4gntwtj.js +1 -0
- package/out/_next/static/chunks/0h1o0cr3327tt.js +1 -0
- package/out/_next/static/chunks/0i9oqg-xbq-a9.js +1 -0
- package/out/_next/static/chunks/0ioyy42h35hnd.js +1 -0
- package/out/_next/static/chunks/{242xhzxxetctz.js → 0jf3n5n5yrr4o.js} +1 -1
- package/out/_next/static/chunks/{3idaz_s77e-j_.js → 0jxklh_ayjd4b.js} +12 -12
- package/out/_next/static/chunks/{07eeopuufsqp-.js → 0k79ryqehst0b.js} +11 -11
- package/out/_next/static/chunks/{3be6s4_kn9q-o.js → 0kcbdjbdxu_wa.js} +1 -1
- package/out/_next/static/chunks/0kr-bd6fuqc2s.js +1 -0
- package/out/_next/static/chunks/0l3wwyl93sqh9.js +1 -0
- package/out/_next/static/chunks/{3l1dr_qm_x5kp.js → 0m0n7kjzscx0y.js} +1 -1
- package/out/_next/static/chunks/0m3yjobjg36ce.js +1 -0
- package/out/_next/static/chunks/{1a9l89j7e6mqu.js → 0mk8tangq9equ.js} +1 -1
- package/out/_next/static/chunks/0mqi0xn_c010j.js +1 -0
- package/out/_next/static/chunks/0msckddycfy76.js +1 -0
- package/out/_next/static/chunks/0ngai1_zxwsk8.js +1 -0
- package/out/_next/static/chunks/0ngiuj5k-or6g.js +1 -0
- package/out/_next/static/chunks/0nx_t8iq-324h.js +1 -0
- package/out/_next/static/chunks/0oap0o8a8a_cl.js +1 -0
- package/out/_next/static/chunks/{3tm-pqpmq_ppw.js → 0ostjlqtwkhqr.js} +1 -1
- package/out/_next/static/chunks/{1uu-rt_8p1edp.js → 0ptp4ne7j6yg6.js} +11 -11
- package/out/_next/static/chunks/0rruvj1cyflrh.js +1 -0
- package/out/_next/static/chunks/{0o_mp98xzqfyf.js → 0tl8j9f8lt0yf.js} +1 -1
- package/out/_next/static/chunks/{0sqys6o2pbe1q.js → 0ufakw529sr9d.js} +38 -38
- package/out/_next/static/chunks/{3ne77mjdz2y7o.js → 0vddljjnmozzx.js} +1 -1
- package/out/_next/static/chunks/{0dm32-jq30tg8.js → 0w0sx062qmcsh.js} +1 -1
- package/out/_next/static/chunks/{0rys92_73hdb0.js → 0x4-zyy8pzmlq.js} +1 -1
- package/out/_next/static/chunks/0x6i6e6863tir.js +1 -0
- package/out/_next/static/chunks/{3k9d4ylc3li2t.js → 0zcdc17ie6lmh.js} +10 -10
- package/out/_next/static/chunks/{44nxswtahaq4w.js → 0zo4x1j8ug-kb.js} +5 -5
- package/out/_next/static/chunks/{0jmn7u31w95ly.js → 0zwkmsojeuekb.js} +2 -2
- package/out/_next/static/chunks/{3m6nmp2dca6un.js → 1--aypw9o8yng.js} +37 -37
- package/out/_next/static/chunks/1--kelnig7pxx.js +1 -0
- package/out/_next/static/chunks/1-ud6hztxiazp.js +1 -0
- package/out/_next/static/chunks/10v4rskkrjgd_.js +1 -0
- package/out/_next/static/chunks/117ys3lltfmcu.js +1 -0
- package/out/_next/static/chunks/14klj_i6-l-10.js +1 -0
- package/out/_next/static/chunks/159u-hx80yfaw.js +1 -0
- package/out/_next/static/chunks/{3gimb3z_mteou.js → 168r9r65o9jnc.js} +1 -1
- package/out/_next/static/chunks/{0w8_1yjvol1f0.js → 16d4a4iopj2if.js} +5 -5
- package/out/_next/static/chunks/{2z_jn9ud28fk7.js → 17d1isrw8gtnb.js} +1 -1
- package/out/_next/static/chunks/17dabmbnkkplu.js +1 -0
- package/out/_next/static/chunks/17dmbt396_tyq.js +1 -0
- package/out/_next/static/chunks/17ev44x54_jrd.js +1 -0
- package/out/_next/static/chunks/17svumd4o0qnc.js +1 -0
- package/out/_next/static/chunks/17v12p4sfraa0.js +1 -0
- package/out/_next/static/chunks/18avgwx9nlxp9.js +1 -0
- package/out/_next/static/chunks/{0tw4dyl-cp-hd.js → 18k-0jn63_5ie.js} +1 -1
- package/out/_next/static/chunks/18r387bj9iv0j.js +1 -0
- package/out/_next/static/chunks/18ss4ls60s31e.js +1 -0
- package/out/_next/static/chunks/1a7cup181rjod.js +1 -0
- package/out/_next/static/chunks/1ajmblsp0wj0_.js +1 -0
- package/out/_next/static/chunks/{1dsy2ngmfflis.js → 1b2tkk7e_2o0k.js} +2 -2
- package/out/_next/static/chunks/{1ltux4lwz7muf.js → 1bv97vf67p_ri.js} +33 -33
- package/out/_next/static/chunks/1e1zozntzsx42.js +1 -0
- package/out/_next/static/chunks/1ek5rtpo6rxev.js +1 -0
- package/out/_next/static/chunks/1evp209qbr4cr.js +5 -0
- package/out/_next/static/chunks/1f1vq3goue1w4.js +1 -0
- package/out/_next/static/chunks/{296w2ke-v5tbm.js → 1f92k-xa0pl-3.js} +1 -1
- package/out/_next/static/chunks/1fa265388524p.js +1 -0
- package/out/_next/static/chunks/{1_qzlkuxukhpq.js → 1fvlbwp6r93wo.js} +22 -22
- package/out/_next/static/chunks/1g3z43o3h-024.js +31 -0
- package/out/_next/static/chunks/1g_27texazqcj.js +1 -0
- package/out/_next/static/chunks/1iaxzjly2pap1.js +1 -0
- package/out/_next/static/chunks/{0c83pe1mpx456.js → 1j--a56ji33_x.js} +1 -1
- package/out/_next/static/chunks/{112hws17nz665.js → 1kl5xxohpr6-4.js} +1 -1
- package/out/_next/static/chunks/1kmsg9ef5djl3.js +1 -0
- package/out/_next/static/chunks/1kq86iv41cet4.js +1 -0
- package/out/_next/static/chunks/1l12hkz1g7uhf.js +1 -0
- package/out/_next/static/chunks/{3figbil1t4ssj.js → 1ll0ta8a2qx1p.js} +16 -16
- package/out/_next/static/chunks/1my2rhysaxjw4.js +3 -0
- package/out/_next/static/chunks/{1ynju1jqfrcv0.js → 1oara6fkfvgs3.js} +1 -1
- package/out/_next/static/chunks/1par9m038tiov.js +1 -0
- package/out/_next/static/chunks/1rcfy_gzean3n.js +1 -0
- package/out/_next/static/chunks/{35h5n42wxwgzk.js → 1rne-b-ktit5c.js} +2 -2
- package/out/_next/static/chunks/1t60cososq7b0.js +1 -0
- package/out/_next/static/chunks/1tdg_eolxlcdl.js +1 -0
- package/out/_next/static/chunks/1vkww9l6lgqag.js +1 -0
- package/out/_next/static/chunks/1vpcaaf-0dn7q.js +1 -0
- package/out/_next/static/chunks/1vuq3dos1406d.css +3 -0
- package/out/_next/static/chunks/1vzmzrjhlm1q5.js +1 -0
- package/out/_next/static/chunks/1w9xu1qa9-wmv.js +1 -0
- package/out/_next/static/chunks/1wyr4at61q29n.js +1 -0
- package/out/_next/static/chunks/{3_mu-4rdjajna.js → 1y12bjsbq18_t.js} +34 -34
- package/out/_next/static/chunks/1y20bv6vl4ylk.js +1 -0
- package/out/_next/static/chunks/{0tnlbw78tgaxp.js → 1zcrrq1fx8g2y.js} +2 -2
- package/out/_next/static/chunks/229mkx-mtfcgf.js +1 -0
- package/out/_next/static/chunks/{3yfrsm8lfi6ls.js → 22qzld31fbhbv.js} +1 -1
- package/out/_next/static/chunks/245h82k-g1nxr.js +1 -0
- package/out/_next/static/chunks/24cqjhy669845.js +1 -0
- package/out/_next/static/chunks/25ctnyh7njp-d.js +4 -0
- package/out/_next/static/chunks/2716si10ouwu-.js +1 -0
- package/out/_next/static/chunks/286ggpetqnwyo.js +3 -0
- package/out/_next/static/chunks/28f1onw3nywbz.js +1 -0
- package/out/_next/static/chunks/28ycc-1519hl2.js +1 -0
- package/out/_next/static/chunks/{17xd8hnazzr0g.js → 29v8falcmjvev.js} +34 -33
- package/out/_next/static/chunks/{0o6ayai0s01js.js → 2_7dp91937mqi.js} +1 -1
- package/out/_next/static/chunks/2ab-99frxpah-.js +1 -0
- package/out/_next/static/chunks/2apt1vh-7rl2l.js +1 -0
- package/out/_next/static/chunks/2bn9u9r0rfhvc.js +1 -0
- package/out/_next/static/chunks/{45bwefvdpztfs.js → 2btqzk0tj0gz6.js} +1 -1
- package/out/_next/static/chunks/2cvvxifoedn6j.js +1 -0
- package/out/_next/static/chunks/2dhv35o59yzao.js +1 -0
- package/out/_next/static/chunks/{17q0c2h5ui10r.js → 2dolerz81xb52.js} +1 -1
- package/out/_next/static/chunks/{2xwy0-qfho1iz.js → 2dqg85hsevk3c.js} +2 -2
- package/out/_next/static/chunks/{41wt50z9tx9cx.js → 2enlv4yy0t-9j.js} +12 -12
- package/out/_next/static/chunks/2ey30qeaob985.js +1 -0
- package/out/_next/static/chunks/2f0r-df7tb3pu.js +1 -0
- package/out/_next/static/chunks/2gh4z57fem0_v.js +1 -0
- package/out/_next/static/chunks/2gtebfttq1v0o.js +1 -0
- package/out/_next/static/chunks/{1ua15kzid0_8p.js → 2h051-1hu4co_.js} +9 -9
- package/out/_next/static/chunks/2h1uw3cluvmmo.js +1 -0
- package/out/_next/static/chunks/2ib62lnqqaf4p.js +1 -0
- package/out/_next/static/chunks/2j-sax2xfdv7l.js +1 -0
- package/out/_next/static/chunks/{3z84au-mitjjw.js → 2k4s5rt7-l8jr.js} +1 -1
- package/out/_next/static/chunks/2kje_jvmwsvwo.js +1 -0
- package/out/_next/static/chunks/{2cbmf9m7lqv6k.js → 2kn_dqzbyabtn.js} +1 -1
- package/out/_next/static/chunks/2l_oqx9idxcs8.js +1 -0
- package/out/_next/static/chunks/{1xpwp4m1tqugp.js → 2mleh3pbge181.js} +1 -1
- package/out/_next/static/chunks/{31u5lbu1vxznh.js → 2npk7tr63h7rl.js} +1 -1
- package/out/_next/static/chunks/2op88btas-hl8.js +1 -0
- package/out/_next/static/chunks/{1gs-5722l4u59.js → 2p8dbh81chhon.js} +1 -1
- package/out/_next/static/chunks/{2yph6f7khgqii.js → 2reukv9c7cq_9.js} +1 -1
- package/out/_next/static/chunks/{14ggsmqwej_tt.js → 2rjc8yn50ducj.js} +34 -34
- package/out/_next/static/chunks/2s0dwzg7kq36n.js +1 -0
- package/out/_next/static/chunks/2vaoftqgc44cg.js +1 -0
- package/out/_next/static/chunks/{3_gku1pwluoo0.js → 2vmybybb3dvia.js} +1 -1
- package/out/_next/static/chunks/2w7yf7ouyrlkb.js +1 -0
- package/out/_next/static/chunks/{3218lp8l0a5g_.js → 2y75diyxqlhzl.js} +1 -1
- package/out/_next/static/chunks/{0fh-9h9ylxskr.js → 2yr9wt421xdjr.js} +17 -17
- package/out/_next/static/chunks/{0otsec99kdkt7.js → 2yzui3v-besdu.js} +4 -4
- package/out/_next/static/chunks/{3wi9gzq2mtr_q.js → 2z9ot-w1x60fv.js} +1 -1
- package/out/_next/static/chunks/2zljunurdji0q.js +1 -0
- package/out/_next/static/chunks/{38x3c1ra5slhe.js → 3043pprgv9ors.js} +23 -23
- package/out/_next/static/chunks/31nbg0n1q43p2.js +1 -0
- package/out/_next/static/chunks/340pg0qkv5tqq.js +1 -0
- package/out/_next/static/chunks/{37epa8fz59vba.js → 348hdbpkkcq_2.js} +22 -21
- package/out/_next/static/chunks/34gp3hvr3j6um.js +1 -0
- package/out/_next/static/chunks/38ea9kqlbxt86.js +1 -0
- package/out/_next/static/chunks/38g9jpxjoxn2x.js +1 -0
- package/out/_next/static/chunks/390fogn9oz13i.js +1 -0
- package/out/_next/static/chunks/{3w9go565cjhq3.js → 39lxb7c--3_2u.js} +30 -30
- package/out/_next/static/chunks/{2bjlls8-qe05r.js → 3_bzxvqtk1t53.js} +12 -12
- package/out/_next/static/chunks/3ajhvedcs_lzb.js +1 -0
- package/out/_next/static/chunks/3bsvp8qhjqdu0.js +1 -0
- package/out/_next/static/chunks/{023axeoslq39i.js → 3d0ejsnhbzi-j.js} +1 -1
- package/out/_next/static/chunks/3d5yb9ybkz7hx.js +1 -0
- package/out/_next/static/chunks/{0echnagbkyx79.js → 3efuvh_35yhes.js} +39 -39
- package/out/_next/static/chunks/3fx3sriw1w3sa.js +1 -0
- package/out/_next/static/chunks/{2qq3uzsbiicw3.js → 3fz7tc-4j13uv.js} +21 -21
- package/out/_next/static/chunks/3g4e2txsrb2p2.js +1 -0
- package/out/_next/static/chunks/{1m_buecgcq67j.js → 3g5ae-38cepwm.js} +199 -199
- package/out/_next/static/chunks/3g_h_00xs9u59.js +1 -0
- package/out/_next/static/chunks/3gi0f1kg72xsf.js +1 -0
- package/out/_next/static/chunks/{38fhw7fatsyvd.js → 3he9bxsc67ivq.js} +1 -1
- package/out/_next/static/chunks/3hr-mlwi78nov.js +1 -0
- package/out/_next/static/chunks/3kr1polwvt6o_.js +1 -0
- package/out/_next/static/chunks/{0j__xaq_8_di1.js → 3mwoauxszd3mn.js} +1 -1
- package/out/_next/static/chunks/3ovd8o_usay7j.js +1 -0
- package/out/_next/static/chunks/3pdpaqzwhhijn.js +1 -0
- package/out/_next/static/chunks/3pyggl13glbdc.js +1 -0
- package/out/_next/static/chunks/{0927l-ygd5c8d.js → 3qw6q7d74g5wp.js} +1 -1
- package/out/_next/static/chunks/3rl45k759wfi1.js +1 -0
- package/out/_next/static/chunks/3s2d9ymcd0l4e.js +1 -0
- package/out/_next/static/chunks/{0flc7nppbmsl1.js → 3sbm1ak54_2ep.js} +1 -1
- package/out/_next/static/chunks/3sg4zff4-h3t1.js +1 -0
- package/out/_next/static/chunks/3urd7r018nel4.js +1 -0
- package/out/_next/static/chunks/3v0td-ziuai2i.js +1 -0
- package/out/_next/static/chunks/3vaho-xrtuchd.js +2 -0
- package/out/_next/static/chunks/3vxkkhs0vi_xa.js +1 -0
- package/out/_next/static/chunks/{1g7emwu85bifo.js → 3w1a2o8nevap8.js} +18 -18
- package/out/_next/static/chunks/3wqs57qehored.js +1 -0
- package/out/_next/static/chunks/3x6wpv_z5m6rz.js +1 -0
- package/out/_next/static/chunks/{1qg_etglhvp9h.js → 3y9c26fv1poq_.js} +199 -199
- package/out/_next/static/chunks/{0ql-s-tsmel_u.js → 404f_93w2e8ty.js} +1 -1
- package/out/_next/static/chunks/40acif2eh_unv.js +1 -0
- package/out/_next/static/chunks/{1hatz-jlztrn0.js → 4227p7752rnny.js} +1 -1
- package/out/_next/static/chunks/42oyfkhdvb-u3.js +1 -0
- package/out/_next/static/chunks/44gsjajjdhf51.js +1 -0
- package/out/_next/static/chunks/{turbopack-19105pdhzxp1x.js → turbopack-16ab30_1p4vhq.js} +1 -1
- package/out/_not-found/__next._full.txt +9 -9
- package/out/_not-found/__next._head.txt +4 -4
- package/out/_not-found/__next._index.txt +4 -4
- package/out/_not-found/__next._not-found.__PAGE__.txt +2 -2
- package/out/_not-found/__next._not-found.txt +3 -3
- package/out/_not-found/__next._tree.txt +2 -2
- package/out/_not-found.html +1 -1
- package/out/_not-found.txt +9 -9
- package/out/index.html +1 -1
- package/out/index.txt +11 -11
- package/package.json +8 -8
- package/out/_next/static/chunks/002cjeoit6-up.js +0 -1
- package/out/_next/static/chunks/02n1uiltexy3w.js +0 -1
- package/out/_next/static/chunks/03ab2khhe8-x5.js +0 -1
- package/out/_next/static/chunks/04_yytpc2paxy.js +0 -1
- package/out/_next/static/chunks/06qot1qvlsqaz.js +0 -1
- package/out/_next/static/chunks/08a5xek662n8n.js +0 -1
- package/out/_next/static/chunks/08wuc9--s8zn_.js +0 -1
- package/out/_next/static/chunks/09510356f0lad.js +0 -1
- package/out/_next/static/chunks/0_eu72k69lxj7.js +0 -1
- package/out/_next/static/chunks/0beajlqy8p8b5.js +0 -1
- package/out/_next/static/chunks/0dn0yx0rn6mpf.js +0 -1
- package/out/_next/static/chunks/0eh1ml86u8dh7.js +0 -1
- package/out/_next/static/chunks/0fzmc1up21g1i.js +0 -1
- package/out/_next/static/chunks/0grlb9lo8e502.js +0 -1
- package/out/_next/static/chunks/0h22pg-0xrxnm.js +0 -1
- package/out/_next/static/chunks/0j6p1pmc14t96.js +0 -1
- package/out/_next/static/chunks/0j_6dx-sttgsy.js +0 -1
- package/out/_next/static/chunks/0kfd-cvj5fvtz.js +0 -1
- package/out/_next/static/chunks/0r47gs_e93cka.js +0 -1
- package/out/_next/static/chunks/0titqrn1qmcsv.js +0 -1
- package/out/_next/static/chunks/0tl_moiyi2txt.js +0 -1
- package/out/_next/static/chunks/0v82oqyoy9zol.js +0 -1
- package/out/_next/static/chunks/0vbce-8omgurc.js +0 -1
- package/out/_next/static/chunks/0vfsg5byzep_0.js +0 -1
- package/out/_next/static/chunks/0xh144a5fz58h.js +0 -1
- package/out/_next/static/chunks/0xjltg_pph0c8.js +0 -1
- package/out/_next/static/chunks/0yeqgh0dnas8d.js +0 -1
- package/out/_next/static/chunks/101-7e_7up7rk.js +0 -1
- package/out/_next/static/chunks/128e51hj_04r0.js +0 -1
- package/out/_next/static/chunks/12kv810lohbsx.js +0 -5
- package/out/_next/static/chunks/137xbvd4nd41j.js +0 -3
- package/out/_next/static/chunks/14bws-suyy5zu.js +0 -1
- package/out/_next/static/chunks/15s7425ffrec9.js +0 -3
- package/out/_next/static/chunks/17genz6pkmty_.js +0 -1
- package/out/_next/static/chunks/18dczy9ylt2s_.js +0 -1
- package/out/_next/static/chunks/18xs_kvsaolb0.js +0 -1
- package/out/_next/static/chunks/19016f8-ry0z6.js +0 -1
- package/out/_next/static/chunks/1_6oejyxj39li.js +0 -1
- package/out/_next/static/chunks/1_aon8nz9p1fr.js +0 -1
- package/out/_next/static/chunks/1akaj5rhgitn3.js +0 -1
- package/out/_next/static/chunks/1bvl1ws7b_3gn.js +0 -1
- package/out/_next/static/chunks/1cdbk6kxyr1c9.js +0 -1
- package/out/_next/static/chunks/1fbjkk55uu4_g.js +0 -1
- package/out/_next/static/chunks/1furcfsgrw_3g.js +0 -1
- package/out/_next/static/chunks/1g0-f1g3gn_rs.js +0 -1
- package/out/_next/static/chunks/1gt4kh0_xmigy.js +0 -1
- package/out/_next/static/chunks/1h8xzuuhhglu9.js +0 -1
- package/out/_next/static/chunks/1iioifo7i0t0_.js +0 -1
- package/out/_next/static/chunks/1iiz7jqgj20z0.js +0 -1
- package/out/_next/static/chunks/1kujmd5n0j9nk.js +0 -1
- package/out/_next/static/chunks/1n9sy0yt5d2vq.js +0 -1
- package/out/_next/static/chunks/1nj82er7msdto.js +0 -2
- package/out/_next/static/chunks/1p1gz6dseck--.js +0 -1
- package/out/_next/static/chunks/1p1xtsfwvpuqo.js +0 -1
- package/out/_next/static/chunks/1p8f6okk2ewbz.js +0 -1
- package/out/_next/static/chunks/1pdep2_c530sg.js +0 -1
- package/out/_next/static/chunks/1th_t5ujeqlkf.js +0 -1
- package/out/_next/static/chunks/1thr-mdzbu96v.js +0 -1
- package/out/_next/static/chunks/1tta1a064979p.js +0 -1
- package/out/_next/static/chunks/1u_riwm0nfww7.js +0 -1
- package/out/_next/static/chunks/1uu93wuxigx4k.js +0 -1
- package/out/_next/static/chunks/1zfojlgb15okk.js +0 -1
- package/out/_next/static/chunks/1zj8x5wbgnzz-.js +0 -1
- package/out/_next/static/chunks/1zl6t15gh34nn.js +0 -1
- package/out/_next/static/chunks/223vrr_4sfhsj.js +0 -1
- package/out/_next/static/chunks/22cr2b04btguf.js +0 -1
- package/out/_next/static/chunks/24essz5mmvx-6.js +0 -1
- package/out/_next/static/chunks/259obyrpxcv6r.js +0 -1
- package/out/_next/static/chunks/26v9yqicofqba.js +0 -1
- package/out/_next/static/chunks/2712627rfsmwn.js +0 -1
- package/out/_next/static/chunks/290d93hmm_e8b.js +0 -1
- package/out/_next/static/chunks/2_2fk7iddrs43.js +0 -1
- package/out/_next/static/chunks/2ckd7f1wbfod-.js +0 -1
- package/out/_next/static/chunks/2d6hru4qo23tt.js +0 -1
- package/out/_next/static/chunks/2ejvntxtvf5o9.js +0 -1
- package/out/_next/static/chunks/2f7_3tzf7xhps.js +0 -1
- package/out/_next/static/chunks/2gxd_o1g89_bv.js +0 -1
- package/out/_next/static/chunks/2hd2txb4-m9k1.js +0 -1
- package/out/_next/static/chunks/2hpxou_cnp4f_.js +0 -1
- package/out/_next/static/chunks/2izioctrfc0s5.js +0 -1
- package/out/_next/static/chunks/2jhnk4h4n0udv.js +0 -1
- package/out/_next/static/chunks/2jpkhkk9zi8-f.js +0 -1
- package/out/_next/static/chunks/2kpet_l1kq2sx.js +0 -1
- package/out/_next/static/chunks/2mdbvf1b5h00_.css +0 -3
- package/out/_next/static/chunks/2nck5w4c7leb7.js +0 -1
- package/out/_next/static/chunks/2our10fwtj87e.js +0 -1
- package/out/_next/static/chunks/2qqqpu0ahfdda.js +0 -1
- package/out/_next/static/chunks/2u-f7mmxvk8wj.js +0 -1
- package/out/_next/static/chunks/2uk-vwlxe9-xr.js +0 -1
- package/out/_next/static/chunks/2ur5-lxdvv1jm.js +0 -1
- package/out/_next/static/chunks/2veqsohwfhfqc.js +0 -1
- package/out/_next/static/chunks/2vqlv9wnewhu9.js +0 -1
- package/out/_next/static/chunks/2wzshintp5lf8.js +0 -1
- package/out/_next/static/chunks/2x-00glogc485.js +0 -1
- package/out/_next/static/chunks/2yfxy0f5fqs4o.js +0 -1
- package/out/_next/static/chunks/2z88mt3ixktu3.js +0 -1
- package/out/_next/static/chunks/3-eswqjobiqk1.js +0 -1
- package/out/_next/static/chunks/30-tbi7pys6fp.js +0 -4
- package/out/_next/static/chunks/30c-nsedy_ce0.js +0 -1
- package/out/_next/static/chunks/337hn35kts7ud.js +0 -1
- package/out/_next/static/chunks/33dgpebv-tf73.js +0 -1
- package/out/_next/static/chunks/36jkdhq6kb-cf.js +0 -1
- package/out/_next/static/chunks/3833xfnz0a-ub.js +0 -1
- package/out/_next/static/chunks/38awrh_qxn22k.js +0 -1
- package/out/_next/static/chunks/39idqlqlcp5b9.js +0 -1
- package/out/_next/static/chunks/3coacc4-g-g5c.js +0 -1
- package/out/_next/static/chunks/3e00fzdfkclzq.js +0 -1
- package/out/_next/static/chunks/3e8fmlq0k5wkg.js +0 -1
- package/out/_next/static/chunks/3e9tzyrt4_98z.js +0 -1
- package/out/_next/static/chunks/3edelqkq92pil.js +0 -1
- package/out/_next/static/chunks/3j-4wuhs5weba.js +0 -1
- package/out/_next/static/chunks/3jjfnwvybayy7.js +0 -1
- package/out/_next/static/chunks/3jwm5dfk_78gc.js +0 -1
- package/out/_next/static/chunks/3l3_0ack3gy4k.js +0 -1
- package/out/_next/static/chunks/3lwhs5ja7tun3.js +0 -1
- package/out/_next/static/chunks/3mcd08gmt038z.js +0 -1
- package/out/_next/static/chunks/3mt5th7b1i_u9.js +0 -1
- package/out/_next/static/chunks/3puhrqtujktyv.js +0 -1
- package/out/_next/static/chunks/3rdifucupcgkg.js +0 -1
- package/out/_next/static/chunks/3sdoskq_buttj.js +0 -1
- package/out/_next/static/chunks/3sjq_xoi4rbyg.js +0 -31
- package/out/_next/static/chunks/3tg-ma9tv9xu4.js +0 -1
- package/out/_next/static/chunks/3xagd_2_9zft2.js +0 -1
- package/out/_next/static/chunks/3xsq_anpad-fb.js +0 -1
- package/out/_next/static/chunks/3ycv2qq7vpbua.js +0 -1
- package/out/_next/static/chunks/4030dhur2h70-.js +0 -1
- package/out/_next/static/chunks/40ffffml4h_3r.js +0 -4
- package/out/_next/static/chunks/431slrqh0wa0g.js +0 -1
- package/out/_next/static/chunks/43s_lbd1i2krj.js +0 -1
- /package/out/_next/static/{M9ZSIaKJeBgkjz1qktYio → -UlF345C3V4TG3ZtvR-5_}/_buildManifest.js +0 -0
- /package/out/_next/static/{M9ZSIaKJeBgkjz1qktYio → -UlF345C3V4TG3ZtvR-5_}/_clientMiddlewareManifest.js +0 -0
- /package/out/_next/static/{M9ZSIaKJeBgkjz1qktYio → -UlF345C3V4TG3ZtvR-5_}/_ssgManifest.js +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,58635,39217,83351,e=>{"use strict";var r=e.i(1719);let a="bumpFragmentMainFunctions",i=`#ifndef TEXRD_DEFINED
|
|
2
2
|
fn TEXRD(t: texture_2d<f32>,ts: sampler,uv: vec2f)->vec4f {return textureSample(t,ts,uv);}
|
|
3
3
|
#define TEXRD_DEFINED
|
|
4
4
|
#endif
|
|
@@ -42,7 +42,7 @@ fn perturbNormal(cotangentFrame: mat3x3f,textureSample: vec3f,scale: f32)->vec3f
|
|
|
42
42
|
fn cotangent_frame(normal: vec3f,p: vec3f,uv: vec2f,tangentSpaceParams: vec2f)->mat3x3f
|
|
43
43
|
{var dp1: vec3f=dpdx(p);var dp2: vec3f=dpdy(p);var duv1: vec2f=dpdx(uv);var duv2: vec2f=dpdy(uv);var dp2perp: vec3f=cross(dp2,normal);var dp1perp: vec3f=cross(normal,dp1);var tangent: vec3f=dp2perp*duv1.x+dp1perp*duv2.x;var bitangent: vec3f=dp2perp*duv1.y+dp1perp*duv2.y;tangent*=tangentSpaceParams.x;bitangent*=tangentSpaceParams.y;var det: f32=max(dot(tangent,tangent),dot(bitangent,bitangent));var invmax: f32=select(inverseSqrt(det),0.0,det==0.0);return mat3x3f(tangent*invmax,bitangent*invmax,normal);}
|
|
44
44
|
#endif
|
|
45
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["bumpFragmentMainFunctionsWGSL",0,{name:a,shader:i}],
|
|
45
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["bumpFragmentMainFunctionsWGSL",0,{name:a,shader:i}],58635),e.i(81845);let f="bumpFragmentFunctions",n=`#if defined(BUMP)
|
|
46
46
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,BUMP,_VARYINGNAME_,Bump,_SAMPLERNAME_,bump)
|
|
47
47
|
#endif
|
|
48
48
|
#if defined(DETAIL)
|
|
@@ -72,7 +72,7 @@ return -texCoordOffset;
|
|
|
72
72
|
#endif
|
|
73
73
|
}
|
|
74
74
|
#endif
|
|
75
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["bumpFragmentFunctionsWGSL",0,{name:f,shader:n}],
|
|
75
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["bumpFragmentFunctionsWGSL",0,{name:f,shader:n}],39217);let t="bumpFragment",o=`var uvOffset: vec2f= vec2f(0.0,0.0);
|
|
76
76
|
#if defined(BUMP) || defined(PARALLAX) || defined(DETAIL)
|
|
77
77
|
#ifdef NORMALXYSCALE
|
|
78
78
|
var normalScale: f32=1.0;
|
|
@@ -124,7 +124,7 @@ normalW=perturbNormalBase(TBN,blendedNormal,uniforms.vBumpInfos.y);
|
|
|
124
124
|
#elif defined(DETAIL)
|
|
125
125
|
detailNormal=vec3f(detailNormal.xy*uniforms.vDetailInfos.z,detailNormal.z);normalW=perturbNormalBase(TBN,detailNormal,uniforms.vDetailInfos.z);
|
|
126
126
|
#endif
|
|
127
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=o),e.s(["bumpFragmentWGSL",0,{name:t,shader:o}],
|
|
127
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=o),e.s(["bumpFragmentWGSL",0,{name:t,shader:o}],83351)},70882,e=>{"use strict";var r=e.i(1719);let a="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;
|
|
128
128
|
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;}
|
|
129
129
|
fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
|
|
130
130
|
fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
|
|
@@ -210,7 +210,7 @@ fn max3(v: vec3f)->f32 {return max(v.x,max(v.y,v.z));}
|
|
|
210
210
|
fn uint2float(i: u32)->f32 {return bitcast<f32>(0x3F800000u | (i>>9u))-1.0;}
|
|
211
211
|
fn plasticSequence(rstate: u32)->vec2f {return vec2f(uint2float(rstate*3242174889u),
|
|
212
212
|
uint2float(rstate*2447445414u));}
|
|
213
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["helperFunctionsWGSL",0,{name:a,shader:i}])},
|
|
213
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["helperFunctionsWGSL",0,{name:a,shader:i}])},95611,e=>{"use strict";var r=e.i(1719);let a="sceneUboDeclaration",i=`struct Scene {viewProjection : mat4x4<f32>,
|
|
214
214
|
#ifdef MULTIVIEW
|
|
215
215
|
viewProjectionR : mat4x4<f32>,
|
|
216
216
|
#endif
|
|
@@ -220,7 +220,7 @@ vEyePosition : vec4<f32>,
|
|
|
220
220
|
inverseProjection : mat4x4<f32>,};
|
|
221
221
|
#define SCENE_UBO
|
|
222
222
|
var<uniform> scene : Scene;
|
|
223
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["sceneUboDeclarationWGSL",0,{name:a,shader:i}])},
|
|
223
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["sceneUboDeclarationWGSL",0,{name:a,shader:i}])},8067,e=>{"use strict";var r=e.i(1719);let a="pbrBRDFFunctions",i=`#define FRESNEL_MAXIMUM_ON_ROUGH 0.25
|
|
224
224
|
#define BRDF_DIFFUSE_MODEL_EON 0
|
|
225
225
|
#define BRDF_DIFFUSE_MODEL_BURLEY 1
|
|
226
226
|
#define BRDF_DIFFUSE_MODEL_LAMBERT 2
|
|
@@ -392,7 +392,7 @@ fn transmittanceBRDF_Burley(tintColor: vec3f,diffusionDistance: vec3f,thickness:
|
|
|
392
392
|
fn computeWrappedDiffuseNdotL(NdotL: f32,w: f32)->f32 {var t: f32=1.0+w;var invt2: f32=1.0/(t*t);return saturate((NdotL+w)*invt2);}
|
|
393
393
|
#endif
|
|
394
394
|
#endif
|
|
395
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["pbrBRDFFunctionsWGSL",0,{name:a,shader:i}])},
|
|
395
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["pbrBRDFFunctionsWGSL",0,{name:a,shader:i}])},92091,40422,e=>{"use strict";var r=e.i(1719);let a="clipPlaneFragmentDeclaration",i=`#ifdef CLIPPLANE
|
|
396
396
|
varying fClipDistance: f32;
|
|
397
397
|
#endif
|
|
398
398
|
#ifdef CLIPPLANE2
|
|
@@ -410,7 +410,7 @@ varying fClipDistance5: f32;
|
|
|
410
410
|
#ifdef CLIPPLANE6
|
|
411
411
|
varying fClipDistance6: f32;
|
|
412
412
|
#endif
|
|
413
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:a,shader:i}],
|
|
413
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["clipPlaneFragmentDeclarationWGSL",0,{name:a,shader:i}],92091);let f="clipPlaneFragment",n=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
|
|
414
414
|
if (false) {}
|
|
415
415
|
#endif
|
|
416
416
|
#ifdef CLIPPLANE
|
|
@@ -437,7 +437,7 @@ else if (fragmentInputs.fClipDistance5>0.0)
|
|
|
437
437
|
else if (fragmentInputs.fClipDistance6>0.0)
|
|
438
438
|
{discard;}
|
|
439
439
|
#endif
|
|
440
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["clipPlaneFragmentWGSL",0,{name:f,shader:n}],
|
|
440
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["clipPlaneFragmentWGSL",0,{name:f,shader:n}],40422)},81845,53373,e=>{"use strict";var r=e.i(1719);let a="samplerFragmentDeclaration",i=`#ifdef _DEFINENAME_
|
|
441
441
|
#if _DEFINENAME_DIRECTUV==1
|
|
442
442
|
#define v_VARYINGNAME_UV vMainUV1
|
|
443
443
|
#elif _DEFINENAME_DIRECTUV==2
|
|
@@ -455,7 +455,7 @@ varying v_VARYINGNAME_UV: vec2f;
|
|
|
455
455
|
#endif
|
|
456
456
|
var _SAMPLERNAME_SamplerSampler: sampler;var _SAMPLERNAME_Sampler: texture_2d<f32>;
|
|
457
457
|
#endif
|
|
458
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["samplerFragmentDeclarationWGSL",0,{name:a,shader:i}],
|
|
458
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["samplerFragmentDeclarationWGSL",0,{name:a,shader:i}],81845);let f="reflectionFunction",n=`fn computeFixedEquirectangularCoords(worldPos: vec4f,worldNormal: vec3f,direction: vec3f)->vec3f
|
|
459
459
|
{var lon: f32=atan2(direction.z,direction.x);var lat: f32=acos(direction.y);var sphereCoords: vec2f= vec2f(lon,lat)*RECIPROCAL_PI2*2.0;var s: f32=sphereCoords.x*0.5+0.5;var t: f32=sphereCoords.y;return vec3f(s,t,0); }
|
|
460
460
|
fn computeMirroredFixedEquirectangularCoords(worldPos: vec4f,worldNormal: vec3f,direction: vec3f)->vec3f
|
|
461
461
|
{var lon: f32=atan2(direction.z,direction.x);var lat: f32=acos(direction.y);var sphereCoords: vec2f= vec2f(lon,lat)*RECIPROCAL_PI2*2.0;var s: f32=sphereCoords.x*0.5+0.5;var t: f32=sphereCoords.y;return vec3f(1.0-s,t,0); }
|
|
@@ -519,7 +519,7 @@ return vec3f(0,0,0);
|
|
|
519
519
|
#endif
|
|
520
520
|
}
|
|
521
521
|
#endif
|
|
522
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["reflectionFunctionWGSL",0,{name:f,shader:n}],
|
|
522
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["reflectionFunctionWGSL",0,{name:f,shader:n}],53373)},62329,39345,e=>{"use strict";var r=e.i(1719);let a="pbrFragmentReflectionDeclaration",i=`#ifdef REFLECTION
|
|
523
523
|
#ifdef REFLECTIONMAP_3D
|
|
524
524
|
var reflectionSamplerSampler: sampler;var reflectionSampler: texture_cube<f32>;
|
|
525
525
|
#ifdef LODBASEDMICROSFURACE
|
|
@@ -547,7 +547,7 @@ varying vDirectionW: vec3f;
|
|
|
547
547
|
#endif
|
|
548
548
|
#endif
|
|
549
549
|
#endif
|
|
550
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["pbrFragmentReflectionDeclarationWGSL",0,{name:a,shader:i}],
|
|
550
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["pbrFragmentReflectionDeclarationWGSL",0,{name:a,shader:i}],62329);let f="pbrIBLFunctions",n=`#if defined(REFLECTION) || defined(SS_REFRACTION)
|
|
551
551
|
fn getLodFromAlphaG(cubeMapDimensionPixels: f32,microsurfaceAverageSlope: f32)->f32 {var microsurfaceAverageSlopeTexels: f32=cubeMapDimensionPixels*microsurfaceAverageSlope;var lod: f32=log2(microsurfaceAverageSlopeTexels);return lod;}
|
|
552
552
|
fn getLinearLodFromRoughness(cubeMapDimensionPixels: f32,roughness: f32)->f32 {var lod: f32=log2(cubeMapDimensionPixels)*roughness;return lod;}
|
|
553
553
|
#endif
|
|
@@ -561,7 +561,7 @@ fn environmentHorizonOcclusion(view: vec3f,normal: vec3f,geometricNormal: vec3f)
|
|
|
561
561
|
fn UNPACK_LOD(x: f32)->f32 {return (1.0-x)*255.0;}
|
|
562
562
|
fn getLodFromAlphaGNdotV(cubeMapDimensionPixels: f32,alphaG: f32,NdotV: f32)->f32 {var microsurfaceAverageSlope: f32=alphaG;microsurfaceAverageSlope*=sqrt(abs(NdotV));return getLodFromAlphaG(cubeMapDimensionPixels,microsurfaceAverageSlope);}
|
|
563
563
|
#endif
|
|
564
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["pbrIBLFunctionsWGSL",0,{name:f,shader:n}],
|
|
564
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["pbrIBLFunctionsWGSL",0,{name:f,shader:n}],39345)},1216,49284,42793,e=>{"use strict";var r=e.i(1719);let a="openpbrDielectricReflectance",i=`struct ReflectanceParams
|
|
565
565
|
{F0: f32,
|
|
566
566
|
F90: f32,
|
|
567
567
|
coloredF0: vec3f,
|
|
@@ -583,7 +583,7 @@ let dielectricColorF90: vec3f=specularColor.rgb*vec3f(f90Scale)*specularWeight;
|
|
|
583
583
|
let dielectricColorF90: vec3f=vec3f(f90Scale)*specularWeight;
|
|
584
584
|
#endif
|
|
585
585
|
outParams.coloredF90=dielectricColorF90;return outParams;}
|
|
586
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["openpbrDielectricReflectanceWGSL",0,{name:a,shader:i}],
|
|
586
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["openpbrDielectricReflectanceWGSL",0,{name:a,shader:i}],1216);let f="openpbrGeometryInfo",n=`struct geometryInfoOutParams
|
|
587
587
|
{NdotV: f32,
|
|
588
588
|
NdotVUnclamped: f32,
|
|
589
589
|
environmentBrdf: vec3f,
|
|
@@ -620,7 +620,7 @@ normalW: vec3f,viewDirectionW: vec3f,roughness: f32,geometricNormalW: vec3f
|
|
|
620
620
|
,vAnisotropy: vec3f,TBN: mat3x3<f32>
|
|
621
621
|
)->geometryInfoAnisoOutParams
|
|
622
622
|
{let geoInfo: geometryInfoOutParams=geometryInfo(normalW,viewDirectionW,roughness,geometricNormalW);var outParams: geometryInfoAnisoOutParams;outParams.NdotV=geoInfo.NdotV;outParams.NdotVUnclamped=geoInfo.NdotVUnclamped;outParams.environmentBrdf=geoInfo.environmentBrdf;outParams.horizonOcclusion=geoInfo.horizonOcclusion;outParams.anisotropy=vAnisotropy.b;let anisotropyDirection: vec3f=vec3f(vAnisotropy.xy,0.);let anisoTBN: mat3x3<f32>=mat3x3<f32>(normalize(TBN[0]),normalize(TBN[1]),normalize(TBN[2]));outParams.anisotropicTangent=normalize(anisoTBN*anisotropyDirection);outParams.anisotropicBitangent=normalize(cross(anisoTBN[2],outParams.anisotropicTangent));outParams.TBN=TBN;return outParams;}
|
|
623
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["openpbrGeometryInfoWGSL",0,{name:f,shader:n}],
|
|
623
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[f]||(r.ShaderStore.IncludesShadersStoreWGSL[f]=n),e.s(["openpbrGeometryInfoWGSL",0,{name:f,shader:n}],49284);let t="openpbrIblFunctions",o=`#ifdef REFLECTION
|
|
624
624
|
fn sampleIrradiance(
|
|
625
625
|
surfaceNormal: vec3f
|
|
626
626
|
#if defined(NORMAL) && defined(USESPHERICALINVERTEX)
|
|
@@ -756,13 +756,14 @@ environmentRadiance=vec4f(radiance(alphaG,reflectionSampler,reflectionSamplerSam
|
|
|
756
756
|
#else
|
|
757
757
|
environmentRadiance=textureSampleLevel(reflectionSampler,reflectionSamplerSampler,reflectionCoords,reflectionLOD);
|
|
758
758
|
#endif
|
|
759
|
+
var envRadiance: vec3f=environmentRadiance.rgb;
|
|
759
760
|
#ifdef RGBDREFLECTION
|
|
760
|
-
|
|
761
|
+
envRadiance=fromRGBD(environmentRadiance);
|
|
761
762
|
#endif
|
|
762
763
|
#ifdef GAMMAREFLECTION
|
|
763
|
-
|
|
764
|
+
envRadiance=toLinearSpaceVec3(environmentRadiance.rgb);
|
|
764
765
|
#endif
|
|
765
|
-
|
|
766
|
+
envRadiance*=reflectionInfos.x;return envRadiance;}
|
|
766
767
|
#if defined(ANISOTROPIC)
|
|
767
768
|
fn sampleRadianceAnisotropic(
|
|
768
769
|
alphaG: f32
|
|
@@ -838,7 +839,7 @@ return getReflectanceFromBRDFLookup(reflectance.coloredF0,reflectance.coloredF90
|
|
|
838
839
|
#endif
|
|
839
840
|
}
|
|
840
841
|
#endif
|
|
841
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=o),e.s(["openpbrIblFunctionsWGSL",0,{name:t,shader:o}],
|
|
842
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[t]||(r.ShaderStore.IncludesShadersStoreWGSL[t]=o),e.s(["openpbrIblFunctionsWGSL",0,{name:t,shader:o}],42793)},56880,e=>{"use strict";var r=e.i(1719);let a="openpbrSubsurfaceLayerData",i=`var subsurface_weight: f32=uniforms.vSubsurfaceWeight;var subsurface_color: vec3f=uniforms.vSubsurfaceColor.rgb;var subsurface_radius: f32=uniforms.vSubsurfaceRadius;var subsurface_radius_scale: vec3f=uniforms.vSubsurfaceRadiusScale;var subsurface_scatter_anisotropy: f32=clamp(uniforms.vSubsurfaceScatterAnisotropy,-0.9999f,0.9999f);
|
|
842
843
|
#ifdef SUBSURFACE_WEIGHT
|
|
843
844
|
let subsurfaceWeightFromTexture: vec4f=TEXRD(subsurfaceWeightSampler,subsurfaceWeightSamplerSampler,fragmentInputs.vSubsurfaceWeightUV+uvOffset);
|
|
844
845
|
#endif
|
|
@@ -866,7 +867,7 @@ subsurface_color*=uniforms.vSubsurfaceColorInfos.y;
|
|
|
866
867
|
#ifdef SUBSURFACE_RADIUS_SCALE
|
|
867
868
|
subsurface_radius_scale*=subsurfaceRadiusScaleFromTexture.rgb;
|
|
868
869
|
#endif
|
|
869
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["openpbrSubsurfaceLayerDataWGSL",0,{name:a,shader:i}])},
|
|
870
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["openpbrSubsurfaceLayerDataWGSL",0,{name:a,shader:i}])},63028,e=>{"use strict";var r=e.i(1719);let a="openpbrTransmissionLayerData",i=`var transmission_weight: f32=uniforms.vTransmissionWeight;var transmission_color: vec3f=uniforms.vTransmissionColor.rgb;var transmission_depth: f32=uniforms.vTransmissionDepth;var transmission_scatter: vec3f=uniforms.vTransmissionScatter.rgb;var transmission_scatter_anisotropy: f32=clamp(uniforms.vTransmissionScatterAnisotropy,-0.9999f,0.9999f);var transmission_dispersion_scale: f32=uniforms.vTransmissionDispersionScale;var transmission_dispersion_abbe_number: f32=uniforms.vTransmissionDispersionAbbeNumber;
|
|
870
871
|
#ifdef TRANSMISSION_WEIGHT
|
|
871
872
|
let transmissionWeightFromTexture: vec4f=TEXRD(transmissionWeightSampler,transmissionWeightSamplerSampler,fragmentInputs.vTransmissionWeightUV+uvOffset);
|
|
872
873
|
#endif
|
|
@@ -902,7 +903,7 @@ transmission_scatter*=transmissionScatterFromTexture.rgb;
|
|
|
902
903
|
#ifdef TRANSMISSION_DISPERSION_SCALE
|
|
903
904
|
transmission_dispersion_scale*=transmissionDispersionScaleFromTexture.r;
|
|
904
905
|
#endif
|
|
905
|
-
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["openpbrTransmissionLayerDataWGSL",0,{name:a,shader:i}])},
|
|
906
|
+
`;r.ShaderStore.IncludesShadersStoreWGSL[a]||(r.ShaderStore.IncludesShadersStoreWGSL[a]=i),e.s(["openpbrTransmissionLayerDataWGSL",0,{name:a,shader:i}])},29426,e=>{"use strict";var r=e.i(1719),a=e.i(92091),i=e.i(58635),f=e.i(81845),n=e.i(39217),t=e.i(70882),o=e.i(62329),c=e.i(95611),s=e.i(8067),l=e.i(1216),d=e.i(39345),v=e.i(53373),m=e.i(49284),u=e.i(42793),p=e.i(40422),S=e.i(83351),E=e.i(56880),R=e.i(63028);let I="geometryPixelShader",N=`#ifdef BUMP
|
|
906
907
|
varying vWorldView0: vec4f;varying vWorldView1: vec4f;varying vWorldView2: vec4f;varying vWorldView3: vec4f;varying vNormalW: vec3f;
|
|
907
908
|
#else
|
|
908
909
|
varying vNormalV: vec3f;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,1719,e=>{"use strict";class t{static GetShadersRepository(e=0){return 0===e?t.ShadersRepository:t.ShadersRepositoryWGSL}static GetShadersStore(e=0){return 0===e?t.ShadersStore:t.ShadersStoreWGSL}static GetIncludesShadersStore(e=0){return 0===e?t.IncludesShadersStore:t.IncludesShadersStoreWGSL}}t.ShadersRepository="src/Shaders/",t.ShadersStore={},t.IncludesShadersStore={},t.ShadersRepositoryWGSL="src/ShadersWGSL/",t.ShadersStoreWGSL={},t.IncludesShadersStoreWGSL={},e.s(["ShaderStore",0,t])},58727,e=>{"use strict";var t,i,s=e.i(57554);class r{get wrapU(){return this._cachedWrapU}set wrapU(e){this._cachedWrapU=e}get wrapV(){return this._cachedWrapV}set wrapV(e){this._cachedWrapV=e}get wrapR(){return this._cachedWrapR}set wrapR(e){this._cachedWrapR=e}get anisotropicFilteringLevel(){return this._cachedAnisotropicFilteringLevel}set anisotropicFilteringLevel(e){this._cachedAnisotropicFilteringLevel=e}get comparisonFunction(){return this._comparisonFunction}set comparisonFunction(e){this._comparisonFunction=e}get useMipMaps(){return this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}constructor(){this.samplingMode=-1,this._useMipMaps=!0,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this._comparisonFunction=0}setParameters(e=1,t=1,i=1,s=1,r=2,a=0){return this._cachedWrapU=e,this._cachedWrapV=t,this._cachedWrapR=i,this._cachedAnisotropicFilteringLevel=s,this.samplingMode=r,this._comparisonFunction=a,this}compareSampler(e){return this._cachedWrapU===e._cachedWrapU&&this._cachedWrapV===e._cachedWrapV&&this._cachedWrapR===e._cachedWrapR&&this._cachedAnisotropicFilteringLevel===e._cachedAnisotropicFilteringLevel&&this.samplingMode===e.samplingMode&&this._comparisonFunction===e._comparisonFunction&&this._useMipMaps===e._useMipMaps}}(t=i||(i={}))[t.Unknown=0]="Unknown",t[t.Url=1]="Url",t[t.Temp=2]="Temp",t[t.Raw=3]="Raw",t[t.Dynamic=4]="Dynamic",t[t.RenderTarget=5]="RenderTarget",t[t.MultiRenderTarget=6]="MultiRenderTarget",t[t.Cube=7]="Cube",t[t.CubeRaw=8]="CubeRaw",t[t.CubePrefiltered=9]="CubePrefiltered",t[t.Raw3D=10]="Raw3D",t[t.Raw2DArray=11]="Raw2DArray",t[t.DepthStencil=12]="DepthStencil",t[t.CubeRawRGBD=13]="CubeRawRGBD",t[t.Depth=14]="Depth",t[t.External=15]="External";class a extends r{get useMipMaps(){return null===this._useMipMaps?this.generateMipMaps:this._useMipMaps}set useMipMaps(e){this._useMipMaps=e}get uniqueId(){return this._uniqueId}_setUniqueId(e){this._uniqueId=e}getEngine(){return this._engine}get source(){return this._source}constructor(e,t,i=!1){super(),this.isReady=!1,this.isCube=!1,this.is3D=!1,this.is2DArray=!1,this.isMultiview=!1,this.url="",this.generateMipMaps=!1,this._useMipMaps=null,this.mipLevelCount=1,this.samples=0,this.type=-1,this.format=-1,this.onLoadedObservable=new s.Observable,this.onErrorObservable=new s.Observable,this.onRebuildCallback=null,this.width=0,this.height=0,this.depth=0,this.baseWidth=0,this.baseHeight=0,this.baseDepth=0,this.invertY=!1,this._invertVScale=!1,this._associatedChannel=-1,this._source=0,this._buffer=null,this._bufferView=null,this._bufferViewArray=null,this._bufferViewArrayArray=null,this._size=0,this._extension="",this._files=null,this._workingCanvas=null,this._workingContext=null,this._cachedCoordinatesMode=null,this._isDisabled=!1,this._compression=null,this._sphericalPolynomial=null,this._sphericalPolynomialPromise=null,this._sphericalPolynomialComputed=!1,this._lodGenerationScale=0,this._lodGenerationOffset=0,this._useSRGBBuffer=!1,this._creationFlags=0,this._lodTextureHigh=null,this._lodTextureMid=null,this._lodTextureLow=null,this._isRGBD=!1,this._linearSpecularLOD=!1,this._irradianceTexture=null,this._hardwareTexture=null,this._maxLodLevel=null,this._references=1,this._gammaSpace=null,this._premulAlpha=!1,this._dynamicTextureSource=null,this._autoMSAAManagement=!1,this._engine=e,this._source=t,this._uniqueId=a._Counter++,i||(this._hardwareTexture=e._createHardwareTexture())}incrementReferences(){this._references++}updateSize(e,t,i=1){this._engine.updateTextureDimensions(this,e,t,i),this.width=e,this.height=t,this.depth=i,this.baseWidth=e,this.baseHeight=t,this.baseDepth=i,this._size=e*t*i}_rebuild(){let e;if(this.isReady=!1,this._cachedCoordinatesMode=null,this._cachedWrapU=null,this._cachedWrapV=null,this._cachedWrapR=null,this._cachedAnisotropicFilteringLevel=null,this.onRebuildCallback){let e=this.onRebuildCallback(this),t=t=>{t._swapAndDie(this,!1),this.isReady=e.isReady};e.isAsync?e.proxy.then(t):t(e.proxy);return}switch(this.source){case 2:case 12:case 14:break;case 1:e=this._engine.createTexture(this._originalUrl??this.url,!this.generateMipMaps,this.invertY,null,this.samplingMode,e=>{e._swapAndDie(this,!1),this.isReady=!0},null,this._buffer,void 0,this.format,this._extension,void 0,void 0,void 0,this._useSRGBBuffer);return;case 3:if((e=this._engine.createRawTexture(this._bufferView,this.baseWidth,this.baseHeight,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this._useSRGBBuffer,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture(this,t,this.format,this.invertY,this._compression,this.type,this._useSRGBBuffer,e)}this.isReady=!0;break;case 10:(e=this._engine.createRawTexture3D(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type))._swapAndDie(this,!1),this.isReady=!0;break;case 11:if((e=this._engine.createRawTexture2DArray(this._bufferView,this.baseWidth,this.baseHeight,this.baseDepth,this.format,this.generateMipMaps,this.invertY,this.samplingMode,this._compression,this.type,this._creationFlags,this.mipLevelCount))._swapAndDie(this,!1),this._bufferViewArray)for(let e=0;e<this._bufferViewArray.length;e++){let t=this._bufferViewArray[e];t&&this._engine.updateRawTexture2DArray(this,t,this.format,this.invertY,this._compression,this.type,e)}this.isReady=!0;break;case 4:(e=this._engine.createDynamicTexture(this.baseWidth,this.baseHeight,this.generateMipMaps,this.samplingMode))._swapAndDie(this,!1),this._dynamicTextureSource&&this._engine.updateDynamicTexture(this,this._dynamicTextureSource,this.invertY,this._premulAlpha,this.format,!0);break;case 7:e=this._engine.createCubeTexture(this.url,null,this._files,!this.generateMipMaps,()=>{e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension,!1,0,0,null,void 0,this._useSRGBBuffer,ArrayBuffer.isView(this._buffer)?this._buffer:null);return;case 8:(e=this._engine.createRawCubeTexture(this._bufferViewArray,this.width,this._originalFormat??this.format,this.type,this.generateMipMaps,this.invertY,this.samplingMode,this._compression))._swapAndDie(this,!1),this.isReady=!0;break;case 13:return;case 9:(e=this._engine.createPrefilteredCubeTexture(this.url,null,this._lodGenerationScale,this._lodGenerationOffset,e=>{e&&e._swapAndDie(this,!1),this.isReady=!0},null,this.format,this._extension))._sphericalPolynomial=this._sphericalPolynomial;return}}_swapAndDie(e,t=!0){this._hardwareTexture?.setUsage(e._source,this.generateMipMaps,this.is2DArray,this.isCube,this.is3D,this.width,this.height,this.depth),e._hardwareTexture=this._hardwareTexture,e._setUniqueId(a._Counter++),t&&(e._isRGBD=this._isRGBD),this._lodTextureHigh&&(e._lodTextureHigh&&e._lodTextureHigh.dispose(),e._lodTextureHigh=this._lodTextureHigh),this._lodTextureMid&&(e._lodTextureMid&&e._lodTextureMid.dispose(),e._lodTextureMid=this._lodTextureMid),this._lodTextureLow&&(e._lodTextureLow&&e._lodTextureLow.dispose(),e._lodTextureLow=this._lodTextureLow),this._irradianceTexture&&(e._irradianceTexture&&e._irradianceTexture.dispose(),e._irradianceTexture=this._irradianceTexture);let i=this._engine.getLoadedTexturesCache(),s=i.indexOf(this);-1!==s&&i.splice(s,1),-1===(s=i.indexOf(e))&&i.push(e)}dispose(){this._references--,0===this._references&&(this.onLoadedObservable.clear(),this.onErrorObservable.clear(),this._engine._releaseTexture(this),this._hardwareTexture=null,this._dynamicTextureSource=null)}}a._Counter=0,e.s(["InternalTexture",0,a],58727)},38677,e=>{"use strict";var t=e.i(10534);class i{constructor(e,i,s,r){this.normal=new t.Vector3(e,i,s),this.d=r}asArray(){return[this.normal.x,this.normal.y,this.normal.z,this.d]}clone(){return new i(this.normal.x,this.normal.y,this.normal.z,this.d)}getClassName(){return"Plane"}getHashCode(){let e=this.normal.getHashCode();return 397*e^this.d}normalize(){let e=Math.sqrt(this.normal.x*this.normal.x+this.normal.y*this.normal.y+this.normal.z*this.normal.z),t=0;return 0!==e&&(t=1/e),this.normal.x*=t,this.normal.y*=t,this.normal.z*=t,this.d*=t,this}transform(e){let t=i._TmpMatrix;e.invertToRef(t);let s=t.m,r=this.normal.x,a=this.normal.y,h=this.normal.z,n=this.d;return new i(r*s[0]+a*s[1]+h*s[2]+n*s[3],r*s[4]+a*s[5]+h*s[6]+n*s[7],r*s[8]+a*s[9]+h*s[10]+n*s[11],r*s[12]+a*s[13]+h*s[14]+n*s[15])}dotCoordinate(e){return this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z+this.d}copyFromPoints(e,t,i){let s,r=t.x-e.x,a=t.y-e.y,h=t.z-e.z,n=i.x-e.x,o=i.y-e.y,l=i.z-e.z,u=a*l-h*o,c=h*n-r*l,d=r*o-a*n,_=Math.sqrt(u*u+c*c+d*d);return s=0!==_?1/_:0,this.normal.x=u*s,this.normal.y=c*s,this.normal.z=d*s,this.d=-(this.normal.x*e.x+this.normal.y*e.y+this.normal.z*e.z),this}isFrontFacingTo(e,i){return t.Vector3.Dot(this.normal,e)<=i}signedDistanceTo(e){return t.Vector3.Dot(e,this.normal)+this.d}static FromArray(e){return new i(e[0],e[1],e[2],e[3])}static FromPoints(e,t,s){let r=new i(0,0,0,0);return r.copyFromPoints(e,t,s),r}static FromPositionAndNormal(e,t){let s=new i(0,0,0,0);return this.FromPositionAndNormalToRef(e,t,s)}static FromPositionAndNormalToRef(e,t,i){return i.normal.copyFrom(t),i.normal.normalize(),i.d=-e.dot(i.normal),i}static SignedDistanceToPlaneFromPositionAndNormal(e,i,s){let r=-(i.x*e.x+i.y*e.y+i.z*e.z);return t.Vector3.Dot(s,i)+r}}i._TmpMatrix=t.Matrix.Identity(),e.s(["Plane",0,i])},21834,e=>{"use strict";e.s(["useOpenGLOrientationForUV",()=>!1])},95729,e=>{"use strict";var t=e.i(65679),i=e.i(25282),s=e.i(58727);let r=!1;r=!0,i.ThinEngine.prototype.createDynamicTexture=function(e,i,r,a){let h=new s.InternalTexture(this,4);return h.baseWidth=e,h.baseHeight=i,r&&(e=this.needPOTTextures?(0,t.GetExponentOfTwo)(e,this._caps.maxTextureSize):e,i=this.needPOTTextures?(0,t.GetExponentOfTwo)(i,this._caps.maxTextureSize):i),h.width=e,h.height=i,h.isReady=!1,h.generateMipMaps=r,h.samplingMode=a,this.updateTextureSamplingMode(a,h),this._internalTexturesCache.push(h),h},i.ThinEngine.prototype.updateDynamicTexture=function(e,t,i,s=!1,r,a=!1,h=!1){if(!e)return;let n=this._gl,o=n.TEXTURE_2D,l=this._bindTextureDirectly(o,e,!0,a);this._unpackFlipY(void 0===i?e.invertY:i),s&&n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,1);let u=this._getWebGLTextureType(e.type),c=this._getInternalFormat(r||e.format),d=this._getRGBABufferInternalSizedFormat(e.type,c);n.texImage2D(o,0,d,c,u,t),e.generateMipMaps&&n.generateMipmap(o),l||this._bindTextureDirectly(o,null),s&&n.pixelStorei(n.UNPACK_PREMULTIPLY_ALPHA_WEBGL,0),r&&(e.format=r),e._dynamicTextureSource=t,e._premulAlpha=s,e.invertY=i||!1,e.isReady=!0},e.s([],45490),e.i(45490);var a=e.i(83464),h=e.i(67374);class n extends h.Texture{constructor(e,t,i,s=!1,r=3,a=5,n){const o=!i||i._isScene;super(null,o?i:i?.scene,o?!s:i,n,r,void 0,void 0,void 0,void 0,a),this.name=e,this.wrapU=h.Texture.CLAMP_ADDRESSMODE,this.wrapV=h.Texture.CLAMP_ADDRESSMODE,this._generateMipMaps=s;const l=this._getEngine();if(!l)return;t.getContext?(this._canvas=t,this._ownCanvas=!1,this._texture=l.createDynamicTexture(this._canvas.width,this._canvas.height,s,r)):(this._canvas=l.createCanvas(1,1),this._ownCanvas=!0,t.width||0===t.width?this._texture=l.createDynamicTexture(t.width,t.height,s,r):this._texture=l.createDynamicTexture(t,t,s,r));const u=this.getSize();this._canvas.width!==u.width&&(this._canvas.width=u.width),this._canvas.height!==u.height&&(this._canvas.height=u.height),this._context=this._canvas.getContext("2d")}getClassName(){return"DynamicTexture"}get canRescale(){return!0}_recreate(e){this._canvas.width=e.width,this._canvas.height=e.height,this.releaseInternalTexture(),this._texture=this._getEngine().createDynamicTexture(e.width,e.height,this._generateMipMaps,this.samplingMode)}scale(e){let t=this.getSize();t.width*=e,t.height*=e,this._recreate(t)}scaleTo(e,t){let i=this.getSize();i.width=e,i.height=t,this._recreate(i)}getContext(){return this._context}clear(e){let t=this.getSize();e&&(this._context.fillStyle=e),this._context.clearRect(0,0,t.width,t.height)}update(e,t=!1,i=!1){this._texture&&this._getEngine().updateDynamicTexture(this._texture,this._canvas,void 0===e||e,t,this._format||void 0,void 0,i)}drawText(e,t,i,s,r,a,h,n=!0){let o=this.getSize();if(a&&(this._context.fillStyle=a,this._context.fillRect(0,0,o.width,o.height)),this._context.font=s,null==t){let i=this._context.measureText(e);t=(o.width-i.width)/2}if(null==i){let e=parseInt(s.replace(/\D/g,""));i=o.height/2+e/3.65}this._context.fillStyle=r||"",this._context.fillText(e,t,i),n&&this.update(h)}dispose(){super.dispose(),this._ownCanvas&&this._canvas?.remove?.(),this._canvas=null,this._context=null}clone(){let e=this.getScene();if(!e)return this;let t=this.getSize(),i=new n(this.name,t,e,this._generateMipMaps);return i.hasAlpha=this.hasAlpha,i.level=this.level,i.wrapU=this.wrapU,i.wrapV=this.wrapV,i}serialize(){let e=this.getScene();e&&!e.isReady()&&a.Logger.Warn("The scene must be ready before serializing the dynamic texture");let t=super.serialize();return n._IsCanvasElement(this._canvas)&&(t.base64String=this._canvas.toDataURL()),t.invertY=this._invertY,t.samplingMode=this.samplingMode,t}static _IsCanvasElement(e){return void 0!==e.toDataURL}_rebuild(){this.update()}}e.s(["DynamicTexture",0,n],35701),e.i(35701),e.s(["DynamicTexture",0,n],95729)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,94903,e=>{"use strict";var t=e.i(92719),i=e.i(87986),s=e.i(82350),n=e.i(48477);class o extends t.FlowGraphEventBlock{constructor(e){super(e),this.type="PointerDown",this.targetMesh=this.registerDataInput("targetMesh",s.RichTypeAny,e?.targetMesh),this.pointerId=this.registerDataOutput("pointerId",s.RichTypeNumber),this.pickedMesh=this.registerDataOutput("pickedMesh",s.RichTypeAny),this.pickedPoint=this.registerDataOutput("pickedPoint",s.RichTypeAny)}_executeEvent(e,t){let s=this.targetMesh.getValue(e),n=t.pickInfo?.pickedMesh;return!(!s||n===s||n&&(0,i._IsDescendantOf)(n,s))||(this.pointerId.setValue(t.event.pointerId,e),this.pickedMesh.setValue(n??null,e),this.pickedPoint.setValue(t.pickInfo?.pickedPoint??null,e),this._execute(e),!this.config?.stopPropagation)}_preparePendingTasks(e){}_cancelPendingTasks(e){}getClassName(){return"FlowGraphPointerDownEventBlock"}}let r=!1;function p(){r||(r=!0,(0,n.RegisterClass)("FlowGraphPointerDownEventBlock",o))}e.s(["FlowGraphPointerDownEventBlock",0,o,"RegisterFlowGraphPointerDownEventBlock",0,p],11903),p(),e.s([],36441),e.i(36441),e.i(11903),e.s(["FlowGraphPointerDownEventBlock",0,o],94903)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,65207,t=>{"use strict";var e=t.i(82350),i=t.i(95330),o=t.i(14831),s=t.i(48477);class n extends i.FlowGraphExecutionBlockWithOutSignal{constructor(t={}){super(t),this.config=t,this.config.startIndex=t.startIndex??new o.FlowGraphInteger(0),this.reset=this._registerSignalInput("reset"),this.maxExecutions=this.registerDataInput("maxExecutions",e.RichTypeFlowGraphInteger),this.executionCount=this.registerDataOutput("executionCount",e.RichTypeFlowGraphInteger,new o.FlowGraphInteger(0))}_execute(t,e){if(e===this.reset)this.executionCount.setValue(this.config.startIndex,t);else{let e=this.executionCount.getValue(t);e.value<this.maxExecutions.getValue(t).value&&(this.executionCount.setValue(new o.FlowGraphInteger(e.value+1),t),this.out._activateSignal(t))}}getClassName(){return"FlowGraphDoNBlock"}}let a=!1;function r(){a||(a=!0,(0,s.RegisterClass)("FlowGraphDoNBlock",n))}t.s(["FlowGraphDoNBlock",0,n,"RegisterFlowGraphDoNBlock",0,r],12720),r(),t.s([],30585),t.i(30585),t.i(12720),t.s(["FlowGraphDoNBlock",0,n],65207)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,85358,t=>{"use strict";var e=t.i(42561),i=t.i(82350),n=t.i(37150),r=t.i(48477);class o extends e.FlowGraphAsyncExecutionBlock{constructor(t){super(t,["animationLoop","animationEnd","animationGroupLoop"]),this.config=t,this.speed=this.registerDataInput("speed",i.RichTypeNumber),this.loop=this.registerDataInput("loop",i.RichTypeBoolean),this.from=this.registerDataInput("from",i.RichTypeNumber,0),this.to=this.registerDataInput("to",i.RichTypeNumber),this.currentFrame=this.registerDataOutput("currentFrame",i.RichTypeNumber),this.currentTime=this.registerDataOutput("currentTime",i.RichTypeNumber),this.currentAnimationGroup=this.registerDataOutput("currentAnimationGroup",i.RichTypeAny),this.animationGroup=this.registerDataInput("animationGroup",i.RichTypeAny,t?.animationGroup),this.animation=this.registerDataInput("animation",i.RichTypeAny),this.object=this.registerDataInput("object",i.RichTypeAny)}_preparePendingTasks(t){let e=this.animationGroup.getValue(t),i=this.animation.getValue(t);if(!e&&!i)return this._reportError(t,"No animation or animation group provided");{let r=this.currentAnimationGroup.getValue(t);r&&r!==e&&r.dispose();let o=e;if(i&&!o){let e=this.object.getValue(t);if(!e)return this._reportError(t,"No target object provided");let r=Array.isArray(i)?i:[i],a=r[0].name;o=new n.AnimationGroup("flowGraphAnimationGroup-"+a+"-"+e.name,t.configuration.scene);let s=!1,u=t._getGlobalContextVariable("interpolationAnimations",[]);for(let t of r)o.addTargetedAnimation(t,e),-1!==u.indexOf(t.uniqueId)&&(s=!0);s&&this._checkInterpolationDuplications(t,r,e)}let a=this.speed.getValue(t)||1,s=this.from.getValue(t)??0,u=this.to.getValue(t)||o.to,l=!isFinite(u)||this.loop.getValue(t);this.currentAnimationGroup.setValue(o,t);let p=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]);-1!==p.indexOf(o.uniqueId)&&o.stop();try{o.start(l,a,s,u),o.onAnimationGroupEndObservable.add(()=>this._onAnimationGroupEnd(t)),o.onAnimationEndObservable.add(()=>this._eventsSignalOutputs.animationEnd._activateSignal(t)),o.onAnimationLoopObservable.add(()=>this._eventsSignalOutputs.animationLoop._activateSignal(t)),o.onAnimationGroupLoopObservable.add(()=>this._eventsSignalOutputs.animationGroupLoop._activateSignal(t)),p.push(o.uniqueId),t._setGlobalContextVariable("currentlyRunningAnimationGroups",p)}catch(e){this._reportError(t,e)}}}_reportError(t,e){super._reportError(t,e),this.currentFrame.setValue(-1,t),this.currentTime.setValue(-1,t)}_executeOnTick(t){let e=this.currentAnimationGroup.getValue(t);e&&(this.currentFrame.setValue(e.getCurrentFrame(),t),this.currentTime.setValue(e.animatables[0]?.elapsedTime??0,t))}_execute(t){this._startPendingTasks(t)}_onAnimationGroupEnd(t){this._removeFromCurrentlyRunning(t,this.currentAnimationGroup.getValue(t)),this._resetAfterCanceled(t),this.done._activateSignal(t)}_checkInterpolationDuplications(t,e,i){for(let n of t._getGlobalContextVariable("currentlyRunningAnimationGroups",[])){let r=t.assetsContext.animationGroups.find(t=>t.uniqueId===n);if(r)for(let n of r.targetedAnimations)for(let o of e)n.animation.targetProperty===o.targetProperty&&n.target===i&&this._stopAnimationGroup(t,r)}}_stopAnimationGroup(t,e){e.stop(!0),e.name.startsWith("flowGraphAnimationGroup-")&&e.dispose(),this._removeFromCurrentlyRunning(t,e)}_removeFromCurrentlyRunning(t,e){let i=t._getGlobalContextVariable("currentlyRunningAnimationGroups",[]),n=i.indexOf(e.uniqueId);-1!==n&&(i.splice(n,1),t._setGlobalContextVariable("currentlyRunningAnimationGroups",i))}_cancelPendingTasks(t){let e=this.currentAnimationGroup.getValue(t);e&&this._stopAnimationGroup(t,e)}getClassName(){return"FlowGraphPlayAnimationBlock"}}let a=!1;function s(){a||(a=!0,(0,r.RegisterClass)("FlowGraphPlayAnimationBlock",o))}t.s(["FlowGraphPlayAnimationBlock",0,o,"RegisterFlowGraphPlayAnimationBlock",0,s],7892),t.i(45959),s(),t.s([],31554),t.i(31554),t.i(7892),t.s(["FlowGraphPlayAnimationBlock",0,o],85358)}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,70882,e=>{"use strict";var i=e.i(1719);let t="helperFunctions",r=`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;
|
|
2
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
3
|
fn saturate(x: f32)->f32 {return clamp(x,0.0,1.0);}
|
|
4
4
|
fn saturateVec3(x: vec3f)->vec3f {return clamp(x,vec3f(),vec3f(1.0));}
|
|
@@ -84,7 +84,7 @@ fn max3(v: vec3f)->f32 {return max(v.x,max(v.y,v.z));}
|
|
|
84
84
|
fn uint2float(i: u32)->f32 {return bitcast<f32>(0x3F800000u | (i>>9u))-1.0;}
|
|
85
85
|
fn plasticSequence(rstate: u32)->vec2f {return vec2f(uint2float(rstate*3242174889u),
|
|
86
86
|
uint2float(rstate*2447445414u));}
|
|
87
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["helperFunctionsWGSL",0,{name:t,shader:r}])},
|
|
87
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["helperFunctionsWGSL",0,{name:t,shader:r}])},95611,e=>{"use strict";var i=e.i(1719);let t="sceneUboDeclaration",r=`struct Scene {viewProjection : mat4x4<f32>,
|
|
88
88
|
#ifdef MULTIVIEW
|
|
89
89
|
viewProjectionR : mat4x4<f32>,
|
|
90
90
|
#endif
|
|
@@ -94,16 +94,16 @@ vEyePosition : vec4<f32>,
|
|
|
94
94
|
inverseProjection : mat4x4<f32>,};
|
|
95
95
|
#define SCENE_UBO
|
|
96
96
|
var<uniform> scene : Scene;
|
|
97
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["sceneUboDeclarationWGSL",0,{name:t,shader:r}])},
|
|
97
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["sceneUboDeclarationWGSL",0,{name:t,shader:r}])},96024,58834,23681,e=>{"use strict";var i=e.i(1719);let t="meshUboDeclaration",r=`struct Mesh {world : mat4x4<f32>,
|
|
98
98
|
visibility : f32,};var<uniform> mesh : Mesh;
|
|
99
99
|
#define WORLD_UBO
|
|
100
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["meshUboDeclarationWGSL",0,{name:t,shader:r}],
|
|
100
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["meshUboDeclarationWGSL",0,{name:t,shader:r}],96024);let f="mainUVVaryingDeclaration",a=`#ifdef MAINUV{X}
|
|
101
101
|
varying vMainUV{X}: vec2f;
|
|
102
102
|
#endif
|
|
103
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["mainUVVaryingDeclarationWGSL",0,{name:f,shader:a}],
|
|
103
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["mainUVVaryingDeclarationWGSL",0,{name:f,shader:a}],58834);let n="logDepthDeclaration",o=`#ifdef LOGARITHMICDEPTH
|
|
104
104
|
uniform logarithmicDepthConstant: f32;varying vFragmentDepth: f32;
|
|
105
105
|
#endif
|
|
106
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[n]||(i.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["logDepthDeclarationWGSL",0,{name:n,shader:o}],
|
|
106
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[n]||(i.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["logDepthDeclarationWGSL",0,{name:n,shader:o}],23681)},2720,e=>{"use strict";var i=e.i(1719);let t="harmonicsFunctions",r=`#ifdef USESPHERICALFROMREFLECTIONMAP
|
|
107
107
|
#ifdef SPHERICAL_HARMONICS
|
|
108
108
|
fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSphericalL00
|
|
109
109
|
+ uniforms.vSphericalL1_1*(normal.y)
|
|
@@ -118,7 +118,7 @@ fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {return uniforms.vSpherica
|
|
|
118
118
|
fn computeEnvironmentIrradiance(normal: vec3f)->vec3f {var Nx: f32=normal.x;var Ny: f32=normal.y;var Nz: f32=normal.z;var C1: vec3f=uniforms.vSphericalZZ.rgb;var Cx: vec3f=uniforms.vSphericalX.rgb;var Cy: vec3f=uniforms.vSphericalY.rgb;var Cz: vec3f=uniforms.vSphericalZ.rgb;var Cxx_zz: vec3f=uniforms.vSphericalXX_ZZ.rgb;var Cyy_zz: vec3f=uniforms.vSphericalYY_ZZ.rgb;var Cxy: vec3f=uniforms.vSphericalXY.rgb;var Cyz: vec3f=uniforms.vSphericalYZ.rgb;var Czx: vec3f=uniforms.vSphericalZX.rgb;var a1: vec3f=Cyy_zz*Ny+Cy;var a2: vec3f=Cyz*Nz+a1;var b1: vec3f=Czx*Nz+Cx;var b2: vec3f=Cxy*Ny+b1;var b3: vec3f=Cxx_zz*Nx+b2;var t1: vec3f=Cz *Nz+C1;var t2: vec3f=a2 *Ny+t1;var t3: vec3f=b3 *Nx+t2;return t3;}
|
|
119
119
|
#endif
|
|
120
120
|
#endif
|
|
121
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["harmonicsFunctionsWGSL",0,{name:t,shader:r}])},
|
|
121
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["harmonicsFunctionsWGSL",0,{name:t,shader:r}])},8067,e=>{"use strict";var i=e.i(1719);let t="pbrBRDFFunctions",r=`#define FRESNEL_MAXIMUM_ON_ROUGH 0.25
|
|
122
122
|
#define BRDF_DIFFUSE_MODEL_EON 0
|
|
123
123
|
#define BRDF_DIFFUSE_MODEL_BURLEY 1
|
|
124
124
|
#define BRDF_DIFFUSE_MODEL_LAMBERT 2
|
|
@@ -290,11 +290,11 @@ fn transmittanceBRDF_Burley(tintColor: vec3f,diffusionDistance: vec3f,thickness:
|
|
|
290
290
|
fn computeWrappedDiffuseNdotL(NdotL: f32,w: f32)->f32 {var t: f32=1.0+w;var invt2: f32=1.0/(t*t);return saturate((NdotL+w)*invt2);}
|
|
291
291
|
#endif
|
|
292
292
|
#endif
|
|
293
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["pbrBRDFFunctionsWGSL",0,{name:t,shader:r}])},
|
|
293
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["pbrBRDFFunctionsWGSL",0,{name:t,shader:r}])},55190,e=>{"use strict";var i=e.i(1719);e.i(95611),e.i(96024);let t="pbrUboDeclaration",r=`uniform vAlbedoInfos: vec2f;uniform vBaseWeightInfos: vec2f;uniform vBaseDiffuseRoughnessInfos: vec2f;uniform vAmbientInfos: vec4f;uniform vOpacityInfos: vec2f;uniform vEmissiveInfos: vec2f;uniform vLightmapInfos: vec2f;uniform vReflectivityInfos: vec3f;uniform vMicroSurfaceSamplerInfos: vec2f;uniform vBumpInfos: vec3f;uniform albedoMatrix: mat4x4f;uniform baseWeightMatrix: mat4x4f;uniform baseDiffuseRoughnessMatrix: mat4x4f;uniform ambientMatrix: mat4x4f;uniform opacityMatrix: mat4x4f;uniform emissiveMatrix: mat4x4f;uniform lightmapMatrix: mat4x4f;uniform reflectivityMatrix: mat4x4f;uniform microSurfaceSamplerMatrix: mat4x4f;uniform bumpMatrix: mat4x4f;uniform vTangentSpaceParams: vec2f;uniform vAlbedoColor: vec4f;uniform baseWeight: f32;uniform baseDiffuseRoughness: f32;uniform vLightingIntensity: vec4f;uniform pointSize: f32;uniform vReflectivityColor: vec4f;uniform vEmissiveColor: vec3f;uniform vAmbientColor: vec3f;uniform vDebugMode: vec2f;uniform vMetallicReflectanceFactors: vec4f;uniform vMetallicReflectanceInfos: vec2f;uniform metallicReflectanceMatrix: mat4x4f;uniform vReflectanceInfos: vec2f;uniform reflectanceMatrix: mat4x4f;uniform cameraInfo: vec4f;uniform vTextureRepetitionHexTilingParams: vec4f;uniform vReflectionInfos: vec2f;uniform reflectionMatrix: mat4x4f;uniform vReflectionMicrosurfaceInfos: vec3f;uniform vReflectionPosition: vec3f;uniform vReflectionSize: vec3f;uniform vReflectionFilteringInfo: vec2f;uniform vReflectionDominantDirection: vec3f;uniform vReflectionColor: vec3f;uniform vSphericalL00: vec3f;uniform vSphericalL1_1: vec3f;uniform vSphericalL10: vec3f;uniform vSphericalL11: vec3f;uniform vSphericalL2_2: vec3f;uniform vSphericalL2_1: vec3f;uniform vSphericalL20: vec3f;uniform vSphericalL21: vec3f;uniform vSphericalL22: vec3f;uniform vSphericalX: vec3f;uniform vSphericalY: vec3f;uniform vSphericalZ: vec3f;uniform vSphericalXX_ZZ: vec3f;uniform vSphericalYY_ZZ: vec3f;uniform vSphericalZZ: vec3f;uniform vSphericalXY: vec3f;uniform vSphericalYZ: vec3f;uniform vSphericalZX: vec3f;
|
|
294
294
|
#define ADDITIONAL_UBO_DECLARATION
|
|
295
295
|
#include<sceneUboDeclaration>
|
|
296
296
|
#include<meshUboDeclaration>
|
|
297
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["pbrUboDeclarationWGSL",0,{name:t,shader:r}])},
|
|
297
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["pbrUboDeclarationWGSL",0,{name:t,shader:r}])},58635,39217,83351,e=>{"use strict";var i=e.i(1719);let t="bumpFragmentMainFunctions",r=`#ifndef TEXRD_DEFINED
|
|
298
298
|
fn TEXRD(t: texture_2d<f32>,ts: sampler,uv: vec2f)->vec4f {return textureSample(t,ts,uv);}
|
|
299
299
|
#define TEXRD_DEFINED
|
|
300
300
|
#endif
|
|
@@ -338,7 +338,7 @@ fn perturbNormal(cotangentFrame: mat3x3f,textureSample: vec3f,scale: f32)->vec3f
|
|
|
338
338
|
fn cotangent_frame(normal: vec3f,p: vec3f,uv: vec2f,tangentSpaceParams: vec2f)->mat3x3f
|
|
339
339
|
{var dp1: vec3f=dpdx(p);var dp2: vec3f=dpdy(p);var duv1: vec2f=dpdx(uv);var duv2: vec2f=dpdy(uv);var dp2perp: vec3f=cross(dp2,normal);var dp1perp: vec3f=cross(normal,dp1);var tangent: vec3f=dp2perp*duv1.x+dp1perp*duv2.x;var bitangent: vec3f=dp2perp*duv1.y+dp1perp*duv2.y;tangent*=tangentSpaceParams.x;bitangent*=tangentSpaceParams.y;var det: f32=max(dot(tangent,tangent),dot(bitangent,bitangent));var invmax: f32=select(inverseSqrt(det),0.0,det==0.0);return mat3x3f(tangent*invmax,bitangent*invmax,normal);}
|
|
340
340
|
#endif
|
|
341
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["bumpFragmentMainFunctionsWGSL",0,{name:t,shader:r}],
|
|
341
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["bumpFragmentMainFunctionsWGSL",0,{name:t,shader:r}],58635),e.i(81845);let f="bumpFragmentFunctions",a=`#if defined(BUMP)
|
|
342
342
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,BUMP,_VARYINGNAME_,Bump,_SAMPLERNAME_,bump)
|
|
343
343
|
#endif
|
|
344
344
|
#if defined(DETAIL)
|
|
@@ -368,7 +368,7 @@ return -texCoordOffset;
|
|
|
368
368
|
#endif
|
|
369
369
|
}
|
|
370
370
|
#endif
|
|
371
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["bumpFragmentFunctionsWGSL",0,{name:f,shader:a}],
|
|
371
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["bumpFragmentFunctionsWGSL",0,{name:f,shader:a}],39217);let n="bumpFragment",o=`var uvOffset: vec2f= vec2f(0.0,0.0);
|
|
372
372
|
#if defined(BUMP) || defined(PARALLAX) || defined(DETAIL)
|
|
373
373
|
#ifdef NORMALXYSCALE
|
|
374
374
|
var normalScale: f32=1.0;
|
|
@@ -420,7 +420,7 @@ normalW=perturbNormalBase(TBN,blendedNormal,uniforms.vBumpInfos.y);
|
|
|
420
420
|
#elif defined(DETAIL)
|
|
421
421
|
detailNormal=vec3f(detailNormal.xy*uniforms.vDetailInfos.z,detailNormal.z);normalW=perturbNormalBase(TBN,detailNormal,uniforms.vDetailInfos.z);
|
|
422
422
|
#endif
|
|
423
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[n]||(i.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["bumpFragmentWGSL",0,{name:n,shader:o}],
|
|
423
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[n]||(i.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["bumpFragmentWGSL",0,{name:n,shader:o}],83351)},1928,46275,e=>{"use strict";var i=e.i(1719);let t="decalFragment",r=`#ifdef DECAL
|
|
424
424
|
var decalTempColor=decalColor.rgb;var decalTempAlpha=decalColor.a;
|
|
425
425
|
#ifdef GAMMADECAL
|
|
426
426
|
decalTempColor=toLinearSpaceVec3(decalColor.rgb);
|
|
@@ -430,7 +430,7 @@ decalTempAlpha=decalColor.a*decalColor.a;
|
|
|
430
430
|
#endif
|
|
431
431
|
surfaceAlbedo=mix(surfaceAlbedo.rgb,decalTempColor,decalTempAlpha);
|
|
432
432
|
#endif
|
|
433
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["decalFragmentWGSL",0,{name:t,shader:r}],
|
|
433
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["decalFragmentWGSL",0,{name:t,shader:r}],1928);let f="lightFragment",a=`#ifdef LIGHT{X}
|
|
434
434
|
#if defined(SHADOWONLY) || defined(LIGHTMAP) && defined(LIGHTMAPEXCLUDED{X}) && defined(LIGHTMAPNOSPECULAR{X})
|
|
435
435
|
#else
|
|
436
436
|
var diffuse{X}: vec4f=light{X}.vLightDiffuse;
|
|
@@ -817,7 +817,7 @@ sheenBase+=info.sheen.rgb*shadow;
|
|
|
817
817
|
#endif
|
|
818
818
|
#endif
|
|
819
819
|
#endif
|
|
820
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["lightFragmentWGSL",0,{name:f,shader:a}],
|
|
820
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["lightFragmentWGSL",0,{name:f,shader:a}],46275)},81845,53373,e=>{"use strict";var i=e.i(1719);let t="samplerFragmentDeclaration",r=`#ifdef _DEFINENAME_
|
|
821
821
|
#if _DEFINENAME_DIRECTUV==1
|
|
822
822
|
#define v_VARYINGNAME_UV vMainUV1
|
|
823
823
|
#elif _DEFINENAME_DIRECTUV==2
|
|
@@ -835,7 +835,7 @@ varying v_VARYINGNAME_UV: vec2f;
|
|
|
835
835
|
#endif
|
|
836
836
|
var _SAMPLERNAME_SamplerSampler: sampler;var _SAMPLERNAME_Sampler: texture_2d<f32>;
|
|
837
837
|
#endif
|
|
838
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["samplerFragmentDeclarationWGSL",0,{name:t,shader:r}],
|
|
838
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["samplerFragmentDeclarationWGSL",0,{name:t,shader:r}],81845);let f="reflectionFunction",a=`fn computeFixedEquirectangularCoords(worldPos: vec4f,worldNormal: vec3f,direction: vec3f)->vec3f
|
|
839
839
|
{var lon: f32=atan2(direction.z,direction.x);var lat: f32=acos(direction.y);var sphereCoords: vec2f= vec2f(lon,lat)*RECIPROCAL_PI2*2.0;var s: f32=sphereCoords.x*0.5+0.5;var t: f32=sphereCoords.y;return vec3f(s,t,0); }
|
|
840
840
|
fn computeMirroredFixedEquirectangularCoords(worldPos: vec4f,worldNormal: vec3f,direction: vec3f)->vec3f
|
|
841
841
|
{var lon: f32=atan2(direction.z,direction.x);var lat: f32=acos(direction.y);var sphereCoords: vec2f= vec2f(lon,lat)*RECIPROCAL_PI2*2.0;var s: f32=sphereCoords.x*0.5+0.5;var t: f32=sphereCoords.y;return vec3f(1.0-s,t,0); }
|
|
@@ -899,7 +899,7 @@ return vec3f(0,0,0);
|
|
|
899
899
|
#endif
|
|
900
900
|
}
|
|
901
901
|
#endif
|
|
902
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["reflectionFunctionWGSL",0,{name:f,shader:a}],
|
|
902
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["reflectionFunctionWGSL",0,{name:f,shader:a}],53373)},62329,39345,e=>{"use strict";var i=e.i(1719);let t="pbrFragmentReflectionDeclaration",r=`#ifdef REFLECTION
|
|
903
903
|
#ifdef REFLECTIONMAP_3D
|
|
904
904
|
var reflectionSamplerSampler: sampler;var reflectionSampler: texture_cube<f32>;
|
|
905
905
|
#ifdef LODBASEDMICROSFURACE
|
|
@@ -927,7 +927,7 @@ varying vDirectionW: vec3f;
|
|
|
927
927
|
#endif
|
|
928
928
|
#endif
|
|
929
929
|
#endif
|
|
930
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["pbrFragmentReflectionDeclarationWGSL",0,{name:t,shader:r}],
|
|
930
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["pbrFragmentReflectionDeclarationWGSL",0,{name:t,shader:r}],62329);let f="pbrIBLFunctions",a=`#if defined(REFLECTION) || defined(SS_REFRACTION)
|
|
931
931
|
fn getLodFromAlphaG(cubeMapDimensionPixels: f32,microsurfaceAverageSlope: f32)->f32 {var microsurfaceAverageSlopeTexels: f32=cubeMapDimensionPixels*microsurfaceAverageSlope;var lod: f32=log2(microsurfaceAverageSlopeTexels);return lod;}
|
|
932
932
|
fn getLinearLodFromRoughness(cubeMapDimensionPixels: f32,roughness: f32)->f32 {var lod: f32=log2(cubeMapDimensionPixels)*roughness;return lod;}
|
|
933
933
|
#endif
|
|
@@ -941,7 +941,7 @@ fn environmentHorizonOcclusion(view: vec3f,normal: vec3f,geometricNormal: vec3f)
|
|
|
941
941
|
fn UNPACK_LOD(x: f32)->f32 {return (1.0-x)*255.0;}
|
|
942
942
|
fn getLodFromAlphaGNdotV(cubeMapDimensionPixels: f32,alphaG: f32,NdotV: f32)->f32 {var microsurfaceAverageSlope: f32=alphaG;microsurfaceAverageSlope*=sqrt(abs(NdotV));return getLodFromAlphaG(cubeMapDimensionPixels,microsurfaceAverageSlope);}
|
|
943
943
|
#endif
|
|
944
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["pbrIBLFunctionsWGSL",0,{name:f,shader:a}],
|
|
944
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["pbrIBLFunctionsWGSL",0,{name:f,shader:a}],39345)},16555,13001,43639,1397,80442,53554,20503,30997,44953,17517,15202,99505,e=>{"use strict";var i=e.i(1719);e.i(58834);let t="pbrFragmentExtraDeclaration",r=`varying vPositionW: vec3f;
|
|
945
945
|
#if DEBUGMODE>0
|
|
946
946
|
varying vClipSpacePosition: vec4f;
|
|
947
947
|
#endif
|
|
@@ -958,15 +958,15 @@ varying vColor: vec4f;
|
|
|
958
958
|
#if defined(CLUSTLIGHT_BATCH) && CLUSTLIGHT_BATCH>0
|
|
959
959
|
varying vViewDepth: f32;
|
|
960
960
|
#endif
|
|
961
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["pbrFragmentExtraDeclarationWGSL",0,{name:t,shader:r}],
|
|
962
|
-
{return diffusionProfile<1.;}`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["subSurfaceScatteringFunctionsWGSL",0,{name:f,shader:a}],
|
|
961
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[t]||(i.ShaderStore.IncludesShadersStoreWGSL[t]=r),e.s(["pbrFragmentExtraDeclarationWGSL",0,{name:t,shader:r}],16555);let f="subSurfaceScatteringFunctions",a=`fn testLightingForSSS(diffusionProfile: f32)->bool
|
|
962
|
+
{return diffusionProfile<1.;}`;i.ShaderStore.IncludesShadersStoreWGSL[f]||(i.ShaderStore.IncludesShadersStoreWGSL[f]=a),e.s(["subSurfaceScatteringFunctionsWGSL",0,{name:f,shader:a}],13001);let n="importanceSampling",o=`fn hemisphereCosSample(u: vec2f)->vec3f {var phi: f32=2.*PI*u.x;var cosTheta2: f32=1.-u.y;var cosTheta: f32=sqrt(cosTheta2);var sinTheta: f32=sqrt(1.-cosTheta2);return vec3f(sinTheta*cos(phi),sinTheta*sin(phi),cosTheta);}
|
|
963
963
|
fn hemisphereImportanceSampleDggx(u: vec2f,a: f32)->vec3f {var phi: f32=2.*PI*u.x;var cosTheta2: f32=(1.-u.y)/(1.+(a+1.)*((a-1.)*u.y));var cosTheta: f32=sqrt(cosTheta2);var sinTheta: f32=sqrt(1.-cosTheta2);return vec3f(sinTheta*cos(phi),sinTheta*sin(phi),cosTheta);}
|
|
964
964
|
fn hemisphereImportanceSampleDggxAnisotropic(Xi: vec2f,alphaTangent: f32,alphaBitangent: f32)->vec3f
|
|
965
965
|
{let alphaT: f32=max(alphaTangent,0.0001);let alphaB: f32=max(alphaBitangent,0.0001);var phi: f32=atan(alphaB/alphaT*tan(2.0f*PI*Xi.x));if (Xi.x>0.5) {phi+=PI; }
|
|
966
966
|
let cosPhi: f32=cos(phi);let sinPhi: f32=sin(phi);let alpha2: f32=(cosPhi*cosPhi)/(alphaT*alphaT) +
|
|
967
967
|
(sinPhi*sinPhi)/(alphaB*alphaB);let tanTheta2: f32=Xi.y/(1.0f-Xi.y)/alpha2;let cosTheta: f32=1.0f/sqrt(1.0f+tanTheta2);let sinTheta: f32=sqrt(max(0.0f,1.0f-cosTheta*cosTheta));return vec3f(sinTheta*cosPhi,sinTheta*sinPhi,cosTheta);}
|
|
968
968
|
fn hemisphereImportanceSampleDCharlie(u: vec2f,a: f32)->vec3f {
|
|
969
|
-
var phi: f32=2.*PI*u.x;var sinTheta: f32=pow(u.y,a/(2.*a+1.));var cosTheta: f32=sqrt(1.-sinTheta*sinTheta);return vec3f(sinTheta*cos(phi),sinTheta*sin(phi),cosTheta);}`;i.ShaderStore.IncludesShadersStoreWGSL[n]||(i.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["importanceSamplingWGSL",0,{name:n,shader:o}],
|
|
969
|
+
var phi: f32=2.*PI*u.x;var sinTheta: f32=pow(u.y,a/(2.*a+1.));var cosTheta: f32=sqrt(1.-sinTheta*sinTheta);return vec3f(sinTheta*cos(phi),sinTheta*sin(phi),cosTheta);}`;i.ShaderStore.IncludesShadersStoreWGSL[n]||(i.ShaderStore.IncludesShadersStoreWGSL[n]=o),e.s(["importanceSamplingWGSL",0,{name:n,shader:o}],43639);let l="pbrHelperFunctions",s=`#define MINIMUMVARIANCE 0.0005
|
|
970
970
|
#ifndef TEXRD_DEFINED
|
|
971
971
|
fn TEXRD(t: texture_2d<f32>,ts: sampler,uv: vec2f)->vec4f {return textureSample(t,ts,uv);}
|
|
972
972
|
#define TEXRD_DEFINED
|
|
@@ -1004,7 +1004,7 @@ clearCoatIntensity);return clearCoatAbsorption;}
|
|
|
1004
1004
|
fn computeDefaultMicroSurface(microSurface: f32,reflectivityColor: vec3f)->f32
|
|
1005
1005
|
{const kReflectivityNoAlphaWorkflow_SmoothnessMax: f32=0.95;var reflectivityLuminance: f32=getLuminance(reflectivityColor);var reflectivityLuma: f32=sqrt(reflectivityLuminance);var resultMicroSurface=reflectivityLuma*kReflectivityNoAlphaWorkflow_SmoothnessMax;return resultMicroSurface;}
|
|
1006
1006
|
#endif
|
|
1007
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[l]||(i.ShaderStore.IncludesShadersStoreWGSL[l]=s),e.s(["pbrHelperFunctionsWGSL",0,{name:l,shader:s}],
|
|
1007
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[l]||(i.ShaderStore.IncludesShadersStoreWGSL[l]=s),e.s(["pbrHelperFunctionsWGSL",0,{name:l,shader:s}],1397),e.i(81006);let c="pbrDirectLightingSetupFunctions",d=`struct preLightingInfo
|
|
1008
1008
|
{lightOffset: vec3f,
|
|
1009
1009
|
lightDistanceSquared: f32,
|
|
1010
1010
|
lightDistance: f32,
|
|
@@ -1049,7 +1049,7 @@ result.areaLightFresnel=data.Fresnel;result.areaLightSpecular=data.Specular;
|
|
|
1049
1049
|
#endif
|
|
1050
1050
|
result.areaLightDiffuse=data.Diffuse;result.LdotV=0.;result.roughness=0.;result.diffuseRoughness=0.;result.surfaceAlbedo=vec3f(0.);return result;}
|
|
1051
1051
|
#endif
|
|
1052
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[c]||(i.ShaderStore.IncludesShadersStoreWGSL[c]=d),e.s(["pbrDirectLightingSetupFunctionsWGSL",0,{name:c,shader:d}],
|
|
1052
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[c]||(i.ShaderStore.IncludesShadersStoreWGSL[c]=d),e.s(["pbrDirectLightingSetupFunctionsWGSL",0,{name:c,shader:d}],80442);let u="pbrDirectLightingFalloffFunctions",v=`fn computeDistanceLightFalloff_Standard(lightOffset: vec3f,range: f32)->f32
|
|
1053
1053
|
{return max(0.,1.0-length(lightOffset)/range);}
|
|
1054
1054
|
fn computeDistanceLightFalloff_Physical(lightDistanceSquared: f32)->f32
|
|
1055
1055
|
{return 1.0/maxEps(lightDistanceSquared);}
|
|
@@ -1085,7 +1085,7 @@ return computeDirectionalLightFalloff_GLTF(lightDirection,directionToLightCenter
|
|
|
1085
1085
|
#else
|
|
1086
1086
|
return computeDirectionalLightFalloff_Standard(lightDirection,directionToLightCenterW,cosHalfAngle,exponent);
|
|
1087
1087
|
#endif
|
|
1088
|
-
}`;i.ShaderStore.IncludesShadersStoreWGSL[u]||(i.ShaderStore.IncludesShadersStoreWGSL[u]=v),e.s(["pbrDirectLightingFalloffFunctionsWGSL",0,{name:u,shader:v}],
|
|
1088
|
+
}`;i.ShaderStore.IncludesShadersStoreWGSL[u]||(i.ShaderStore.IncludesShadersStoreWGSL[u]=v),e.s(["pbrDirectLightingFalloffFunctionsWGSL",0,{name:u,shader:v}],53554);let h="hdrFilteringFunctions",m=`#ifdef NUM_SAMPLES
|
|
1089
1089
|
#if NUM_SAMPLES>0
|
|
1090
1090
|
fn radicalInverse_VdC(value: u32)->f32
|
|
1091
1091
|
{var bits=(value<<16u) | (value>>16u);bits=((bits & 0x55555555u)<<1u) | ((bits & 0xAAAAAAAAu)>>1u);bits=((bits & 0x33333333u)<<2u) | ((bits & 0xCCCCCCCCu)>>2u);bits=((bits & 0x0F0F0F0Fu)<<4u) | ((bits & 0xF0F0F0F0u)>>4u);bits=((bits & 0x00FF00FFu)<<8u) | ((bits & 0xFF00FF00u)>>8u);return f32(bits)*2.3283064365386963e-10; }
|
|
@@ -1202,11 +1202,11 @@ result=result/weight;return result;}
|
|
|
1202
1202
|
#endif
|
|
1203
1203
|
#endif
|
|
1204
1204
|
#endif
|
|
1205
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[h]||(i.ShaderStore.IncludesShadersStoreWGSL[h]=m),e.s(["hdrFilteringFunctionsWGSL",0,{name:h,shader:m}],
|
|
1205
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[h]||(i.ShaderStore.IncludesShadersStoreWGSL[h]=m),e.s(["hdrFilteringFunctionsWGSL",0,{name:h,shader:m}],20503);let p="pbrBlockReflectance0",g=`var reflectanceF0: f32=reflectivityOut.reflectanceF0;var specularEnvironmentR0: vec3f=reflectivityOut.colorReflectanceF0;var specularEnvironmentR90: vec3f= reflectivityOut.reflectanceF90;
|
|
1206
1206
|
#ifdef ALPHAFRESNEL
|
|
1207
1207
|
var reflectance90: f32=fresnelGrazingReflectance(reflectanceF0);specularEnvironmentR90=specularEnvironmentR90*reflectance90;
|
|
1208
1208
|
#endif
|
|
1209
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[p]||(i.ShaderStore.IncludesShadersStoreWGSL[p]=g),e.s(["pbrBlockReflectance0WGSL",0,{name:p,shader:g}],
|
|
1209
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[p]||(i.ShaderStore.IncludesShadersStoreWGSL[p]=g),e.s(["pbrBlockReflectance0WGSL",0,{name:p,shader:g}],30997),e.i(69914);let S="pbrDirectLightingFunctions",L=`#define CLEARCOATREFLECTANCE90 1.0
|
|
1210
1210
|
struct lightingInfo
|
|
1211
1211
|
{diffuse: vec3f,
|
|
1212
1212
|
#ifdef SS_TRANSLUCENCY
|
|
@@ -1428,7 +1428,7 @@ result.sheen+=info.sheen;
|
|
|
1428
1428
|
batchOffset+=CLUSTLIGHT_BATCH;}
|
|
1429
1429
|
return result;}
|
|
1430
1430
|
#endif
|
|
1431
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[S]||(i.ShaderStore.IncludesShadersStoreWGSL[S]=L),e.s(["pbrDirectLightingFunctionsWGSL",0,{name:S,shader:L}],
|
|
1431
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[S]||(i.ShaderStore.IncludesShadersStoreWGSL[S]=L),e.s(["pbrDirectLightingFunctionsWGSL",0,{name:S,shader:L}],44953);let E="pbrBlockNormalGeometric",I=`var viewDirectionW: vec3f=normalize(scene.vEyePosition.xyz-input.vPositionW);
|
|
1432
1432
|
#ifdef NORMAL
|
|
1433
1433
|
var normalW: vec3f=normalize(input.vNormalW);
|
|
1434
1434
|
#else
|
|
@@ -1438,7 +1438,7 @@ var geometricNormalW: vec3f=normalW;
|
|
|
1438
1438
|
#if defined(TWOSIDEDLIGHTING) && defined(NORMAL)
|
|
1439
1439
|
geometricNormalW=select(-geometricNormalW,geometricNormalW,fragmentInputs.frontFacing);
|
|
1440
1440
|
#endif
|
|
1441
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[E]||(i.ShaderStore.IncludesShadersStoreWGSL[E]=I),e.s(["pbrBlockNormalGeometricWGSL",0,{name:E,shader:I}],
|
|
1441
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[E]||(i.ShaderStore.IncludesShadersStoreWGSL[E]=I),e.s(["pbrBlockNormalGeometricWGSL",0,{name:E,shader:I}],17517);let T="pbrBlockImageProcessing",A=`#if defined(IMAGEPROCESSINGPOSTPROCESS) || defined(SS_SCATTERING)
|
|
1442
1442
|
#if !defined(SKIPFINALCOLORCLAMP)
|
|
1443
1443
|
finalColor=vec4f(clamp(finalColor.rgb,vec3f(0.),vec3f(30.0)),finalColor.a);
|
|
1444
1444
|
#endif
|
|
@@ -1449,7 +1449,7 @@ finalColor=vec4f(finalColor.rgb,finalColor.a*mesh.visibility);
|
|
|
1449
1449
|
#ifdef PREMULTIPLYALPHA
|
|
1450
1450
|
finalColor=vec4f(finalColor.rgb*finalColor.a,finalColor.a);;
|
|
1451
1451
|
#endif
|
|
1452
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[T]||(i.ShaderStore.IncludesShadersStoreWGSL[T]=A),e.s(["pbrBlockImageProcessingWGSL",0,{name:T,shader:A}],
|
|
1452
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[T]||(i.ShaderStore.IncludesShadersStoreWGSL[T]=A),e.s(["pbrBlockImageProcessingWGSL",0,{name:T,shader:A}],15202);let D="pbrDebug",R=`#if DEBUGMODE>0
|
|
1453
1453
|
if (input.vClipSpacePosition.x/input.vClipSpacePosition.w>=uniforms.vDebugMode.x) {var color: vec3f;
|
|
1454
1454
|
#if DEBUGMODE==1
|
|
1455
1455
|
color=fragmentInputs.vPositionW.rgb;
|
|
@@ -1633,4 +1633,4 @@ return fragmentOutputs;
|
|
|
1633
1633
|
#endif
|
|
1634
1634
|
}
|
|
1635
1635
|
#endif
|
|
1636
|
-
`;i.ShaderStore.IncludesShadersStoreWGSL[D]||(i.ShaderStore.IncludesShadersStoreWGSL[D]=R),e.s(["pbrDebugWGSL",0,{name:D,shader:R}],
|
|
1636
|
+
`;i.ShaderStore.IncludesShadersStoreWGSL[D]||(i.ShaderStore.IncludesShadersStoreWGSL[D]=R),e.s(["pbrDebugWGSL",0,{name:D,shader:R}],99505)}]);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88774,78263,e=>{"use strict";var i=e.i(1719);let r="bonesDeclaration",t=`#if NUM_BONE_INFLUENCERS>0
|
|
2
2
|
attribute vec4 matricesIndices;attribute vec4 matricesWeights;
|
|
3
3
|
#if NUM_BONE_INFLUENCERS>4
|
|
4
4
|
attribute vec4 matricesIndicesExtra;attribute vec4 matricesWeightsExtra;
|
|
@@ -27,7 +27,7 @@ return mat4(m0,m1,m2,m3);
|
|
|
27
27
|
#endif
|
|
28
28
|
#endif
|
|
29
29
|
#endif
|
|
30
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["bonesDeclaration",0,{name:r,shader:t}],
|
|
30
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["bonesDeclaration",0,{name:r,shader:t}],88774);let n="bakedVertexAnimationDeclaration",a=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
31
31
|
uniform float bakedVertexAnimationTime;
|
|
32
32
|
#if !defined(WEBGL2) && !defined(WEBGPU)
|
|
33
33
|
uniform vec2 bakedVertexAnimationTextureSizeInverted;
|
|
@@ -46,7 +46,7 @@ float offset=index*4.0;float frameUV=(frame+0.5)*bakedVertexAnimationTextureSize
|
|
|
46
46
|
#endif
|
|
47
47
|
}
|
|
48
48
|
#endif
|
|
49
|
-
`;i.ShaderStore.IncludesShadersStore[n]||(i.ShaderStore.IncludesShadersStore[n]=a),e.s(["bakedVertexAnimationDeclaration",0,{name:n,shader:a}],
|
|
49
|
+
`;i.ShaderStore.IncludesShadersStore[n]||(i.ShaderStore.IncludesShadersStore[n]=a),e.s(["bakedVertexAnimationDeclaration",0,{name:n,shader:a}],78263)},92125,e=>{"use strict";var i=e.i(1719);let r="clipPlaneVertexDeclaration",t=`#ifdef CLIPPLANE
|
|
50
50
|
uniform vec4 vClipPlane;varying float fClipDistance;
|
|
51
51
|
#endif
|
|
52
52
|
#ifdef CLIPPLANE2
|
|
@@ -64,7 +64,7 @@ uniform vec4 vClipPlane5;varying float fClipDistance5;
|
|
|
64
64
|
#ifdef CLIPPLANE6
|
|
65
65
|
uniform vec4 vClipPlane6;varying float fClipDistance6;
|
|
66
66
|
#endif
|
|
67
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["clipPlaneVertexDeclaration",0,{name:r,shader:t}])},
|
|
67
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["clipPlaneVertexDeclaration",0,{name:r,shader:t}])},82059,e=>{"use strict";var i=e.i(1719);let r="instancesDeclaration",t=`#ifdef INSTANCES
|
|
68
68
|
attribute vec4 world0;attribute vec4 world1;attribute vec4 world2;attribute vec4 world3;
|
|
69
69
|
#ifdef INSTANCESCOLOR
|
|
70
70
|
attribute vec4 instanceColor;
|
|
@@ -86,7 +86,7 @@ uniform mat4 world;
|
|
|
86
86
|
uniform mat4 previousWorld;
|
|
87
87
|
#endif
|
|
88
88
|
#endif
|
|
89
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["instancesDeclaration",0,{name:r,shader:t}])},
|
|
89
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["instancesDeclaration",0,{name:r,shader:t}])},99136,1e4,65474,14518,e=>{"use strict";var i=e.i(1719);let r="instancesVertex",t=`#ifdef INSTANCES
|
|
90
90
|
mat4 finalWorld=mat4(world0,world1,world2,world3);
|
|
91
91
|
#if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
|
|
92
92
|
mat4 finalPreviousWorld=mat4(previousWorld0,previousWorld1,
|
|
@@ -104,7 +104,7 @@ mat4 finalWorld=world;
|
|
|
104
104
|
mat4 finalPreviousWorld=previousWorld;
|
|
105
105
|
#endif
|
|
106
106
|
#endif
|
|
107
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["instancesVertex",0,{name:r,shader:t}],
|
|
107
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["instancesVertex",0,{name:r,shader:t}],99136);let n="bonesVertex",a=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
108
108
|
#if NUM_BONE_INFLUENCERS>0
|
|
109
109
|
mat4 influence;
|
|
110
110
|
#ifdef BONETEXTURE
|
|
@@ -157,7 +157,7 @@ influence+=mBones[int(matricesIndicesExtra[3])]*matricesWeightsExtra[3];
|
|
|
157
157
|
finalWorld=finalWorld*influence;
|
|
158
158
|
#endif
|
|
159
159
|
#endif
|
|
160
|
-
`;i.ShaderStore.IncludesShadersStore[n]||(i.ShaderStore.IncludesShadersStore[n]=a),e.s(["bonesVertex",0,{name:n,shader:a}],
|
|
160
|
+
`;i.ShaderStore.IncludesShadersStore[n]||(i.ShaderStore.IncludesShadersStore[n]=a),e.s(["bonesVertex",0,{name:n,shader:a}],1e4);let d="bakedVertexAnimation",f=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
161
161
|
{
|
|
162
162
|
#ifdef INSTANCES
|
|
163
163
|
#define BVASNAME bakedVertexAnimationSettingsInstanced
|
|
@@ -188,7 +188,7 @@ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIn
|
|
|
188
188
|
#endif
|
|
189
189
|
finalWorld=finalWorld*VATInfluence;}
|
|
190
190
|
#endif
|
|
191
|
-
`;i.ShaderStore.IncludesShadersStore[d]||(i.ShaderStore.IncludesShadersStore[d]=f),e.s(["bakedVertexAnimation",0,{name:d,shader:f}],
|
|
191
|
+
`;i.ShaderStore.IncludesShadersStore[d]||(i.ShaderStore.IncludesShadersStore[d]=f),e.s(["bakedVertexAnimation",0,{name:d,shader:f}],65474);let o="clipPlaneVertex",s=`#ifdef CLIPPLANE
|
|
192
192
|
fClipDistance=dot(worldPos,vClipPlane);
|
|
193
193
|
#endif
|
|
194
194
|
#ifdef CLIPPLANE2
|
|
@@ -206,13 +206,13 @@ fClipDistance5=dot(worldPos,vClipPlane5);
|
|
|
206
206
|
#ifdef CLIPPLANE6
|
|
207
207
|
fClipDistance6=dot(worldPos,vClipPlane6);
|
|
208
208
|
#endif
|
|
209
|
-
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=s),e.s(["clipPlaneVertex",0,{name:o,shader:s}],
|
|
209
|
+
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=s),e.s(["clipPlaneVertex",0,{name:o,shader:s}],14518)},72482,68852,94672,e=>{"use strict";var i=e.i(1719);let r="fogVertexDeclaration",t=`#ifdef FOG
|
|
210
210
|
varying vec3 vFogDistance;
|
|
211
211
|
#endif
|
|
212
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["fogVertexDeclaration",0,{name:r,shader:t}],
|
|
212
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=t),e.s(["fogVertexDeclaration",0,{name:r,shader:t}],72482);let n="fogVertex",a=`#ifdef FOG
|
|
213
213
|
vFogDistance=(view*worldPos).xyz;
|
|
214
214
|
#endif
|
|
215
|
-
`;i.ShaderStore.IncludesShadersStore[n]||(i.ShaderStore.IncludesShadersStore[n]=a),e.s(["fogVertex",0,{name:n,shader:a}],
|
|
215
|
+
`;i.ShaderStore.IncludesShadersStore[n]||(i.ShaderStore.IncludesShadersStore[n]=a),e.s(["fogVertex",0,{name:n,shader:a}],68852);let d="vertexColorMixing",f=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
|
|
216
216
|
vColor=vec4(1.0);
|
|
217
217
|
#ifdef VERTEXCOLOR
|
|
218
218
|
#ifdef VERTEXALPHA
|
|
@@ -225,7 +225,7 @@ vColor.rgb*=colorUpdated.rgb;
|
|
|
225
225
|
vColor*=instanceColor;
|
|
226
226
|
#endif
|
|
227
227
|
#endif
|
|
228
|
-
`;i.ShaderStore.IncludesShadersStore[d]||(i.ShaderStore.IncludesShadersStore[d]=f),e.s(["vertexColorMixing",0,{name:d,shader:f}],
|
|
228
|
+
`;i.ShaderStore.IncludesShadersStore[d]||(i.ShaderStore.IncludesShadersStore[d]=f),e.s(["vertexColorMixing",0,{name:d,shader:f}],94672)},84425,e=>{"use strict";var i=e.i(1719),r=e.i(88774),t=e.i(78263),n=e.i(92125),a=e.i(72482),d=e.i(82059),f=e.i(99136),o=e.i(1e4),s=e.i(65474),l=e.i(14518),m=e.i(68852),c=e.i(94672);let E="colorVertexShader",S=`attribute vec3 position;
|
|
229
229
|
#ifdef VERTEXCOLOR
|
|
230
230
|
attribute vec4 color;
|
|
231
231
|
#endif
|