@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 +1 @@
|
|
|
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,83960,e=>{"use strict";var t=e.i(83464);function r(e){let t=0;return{id_length:e[t++],colormap_type:e[t++],image_type:e[t++],colormap_index:e[t++]|e[t++]<<8,colormap_length:e[t++]|e[t++]<<8,colormap_size:e[t++],origin:[e[t++]|e[t++]<<8,e[t++]|e[t++]<<8],width:e[t++]|e[t++]<<8,height:e[t++]|e[t++]<<8,pixel_size:e[t++],flags:e[t]}}function i(e,i){let o,n,h,l,g,s,c,f;if(i.length<19)return void t.Logger.Error("Unable to load TGA file - Not enough data to contain header");let u=18,d=r(i);if(d.id_length+u>i.length)return void t.Logger.Error("Unable to load TGA file - Not enough data");u+=d.id_length;let w=!1,b=!1,_=!1;switch(d.image_type){case 9:w=!0;case 1:b=!0;break;case 10:w=!0;case 2:break;case 11:w=!0;case 3:_=!0}let p=d.pixel_size>>3,y=d.width*d.height*p;if(b&&(n=i.subarray(u,u+=d.colormap_length*(d.colormap_size>>3))),w){let e,t,r;o=new Uint8Array(y);let a=0,n=new Uint8Array(p);for(;u<y&&a<y;)if(t=(127&(e=i[u++]))+1,128&e){for(r=0;r<p;++r)n[r]=i[u++];for(r=0;r<t;++r)o.set(n,a+r*p);a+=p*t}else{for(t*=p,r=0;r<t;++r)o[a+r]=i[u++];a+=t}}else o=i.subarray(u,u+(b?d.width*d.height:y));switch((48&d.flags)>>4){default:case 2:h=0,g=1,f=d.width,l=0,s=1,c=d.height;break;case 0:h=0,g=1,f=d.width,l=d.height-1,s=-1,c=-1;break;case 3:h=d.width-1,g=-1,f=-1,l=0,s=1,c=d.height;break;case 1:h=d.width-1,g=-1,f=-1,l=d.height-1,s=-1,c=-1}let m=a["_getImageData"+(_?"Grey":"")+d.pixel_size+"bits"](d,n,o,l,s,c,h,g,f);e.getEngine()._uploadDataToTextureDirectly(e,m)}let a={GetTGAHeader:r,UploadContent:i,_getImageData8bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c,f=0,u,d,w=new Uint8Array(g*s*4);for(d=i;d!==o;d+=a)for(u=n;u!==l;u+=h,f++)c=r[f],w[(u+g*d)*4+3]=255,w[(u+g*d)*4+2]=t[3*c+0],w[(u+g*d)*4+1]=t[3*c+1],w[(u+g*d)*4+0]=t[3*c+2];return w},_getImageData16bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c,f=0,u,d,w=new Uint8Array(g*s*4);for(d=i;d!==o;d+=a)for(u=n;u!==l;u+=h,f+=2){let e=((31744&(c=r[f+0]+(r[f+1]<<8)))>>10)*255/31|0,t=((992&c)>>5)*255/31|0,i=(31&c)*255/31|0;w[(u+g*d)*4+0]=e,w[(u+g*d)*4+1]=t,w[(u+g*d)*4+2]=i,w[(u+g*d)*4+3]=32768&c?0:255}return w},_getImageData24bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c=0,f,u,d=new Uint8Array(g*s*4);for(u=i;u!==o;u+=a)for(f=n;f!==l;f+=h,c+=3)d[(f+g*u)*4+3]=255,d[(f+g*u)*4+2]=r[c+0],d[(f+g*u)*4+1]=r[c+1],d[(f+g*u)*4+0]=r[c+2];return d},_getImageData32bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c=0,f,u,d=new Uint8Array(g*s*4);for(u=i;u!==o;u+=a)for(f=n;f!==l;f+=h,c+=4)d[(f+g*u)*4+2]=r[c+0],d[(f+g*u)*4+1]=r[c+1],d[(f+g*u)*4+0]=r[c+2],d[(f+g*u)*4+3]=r[c+3];return d},_getImageDataGrey8bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c,f=0,u,d,w=new Uint8Array(g*s*4);for(d=i;d!==o;d+=a)for(u=n;u!==l;u+=h,f++)c=r[f],w[(u+g*d)*4+0]=c,w[(u+g*d)*4+1]=c,w[(u+g*d)*4+2]=c,w[(u+g*d)*4+3]=255;return w},_getImageDataGrey16bits:function(e,t,r,i,a,o,n,h,l){let g=e.width,s=e.height,c=0,f,u,d=new Uint8Array(g*s*4);for(u=i;u!==o;u+=a)for(f=n;f!==l;f+=h,c+=2)d[(f+g*u)*4+0]=r[c+0],d[(f+g*u)*4+1]=r[c+0],d[(f+g*u)*4+2]=r[c+0],d[(f+g*u)*4+3]=r[c+1];return d}};e.s(["_TGATextureLoader",0,class{constructor(){this.supportCascades=!1}loadCubeData(){throw".env not supported in Cube."}loadData(e,t,a){let o=new Uint8Array(e.buffer,e.byteOffset,e.byteLength),n=r(o);a(n.width,n.height,t.generateMipMaps,!1,()=>{i(t,o)})}}],83960)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,33606,t=>{"use strict";var e=t.i(82721),i=t.i(82350),s=t.i(14831),n=t.i(48477);class l extends e.FlowGraphExecutionBlock{constructor(t){super(t),this.config=t,this.outputSignals=[],this.reset=this._registerSignalInput("reset"),this.lastIndex=this.registerDataOutput("lastIndex",i.RichTypeFlowGraphInteger,new s.FlowGraphInteger(-1)),this.setNumberOfOutputSignals(t?.outputSignalCount)}_getNextIndex(t){if(!t.includes(!1)&&this.config.isLoop&&t.fill(!1),!this.config.isRandom)return t.indexOf(!1);{let e=t.map((t,e)=>t?-1:e).filter(t=>-1!==t);return e.length?e[Math.floor(Math.random()*e.length)]:-1}}setNumberOfOutputSignals(t=1){for(;this.outputSignals.length>t;){let t=this.outputSignals.pop();t&&(t.disconnectFromAll(),this._unregisterSignalOutput(t.name))}for(;this.outputSignals.length<t;)this.outputSignals.push(this._registerSignalOutput(`out_${this.outputSignals.length}`))}_execute(t,e){if(t._hasExecutionVariable(this,"indexesUsed")||t._setExecutionVariable(this,"indexesUsed",this.outputSignals.map(()=>!1)),e===this.reset){t._deleteExecutionVariable(this,"indexesUsed"),this.lastIndex.setValue(new s.FlowGraphInteger(-1),t);return}let i=t._getExecutionVariable(this,"indexesUsed",[]),n=this._getNextIndex(i);n>-1&&(this.lastIndex.setValue(new s.FlowGraphInteger(n),t),i[n]=!0,t._setExecutionVariable(this,"indexesUsed",i),this.outputSignals[n]._activateSignal(t))}getClassName(){return"FlowGraphMultiGateBlock"}serialize(t){super.serialize(t),t.config.outputSignalCount=this.config.outputSignalCount,t.config.isRandom=this.config.isRandom,t.config.loop=this.config.isLoop,t.config.startIndex=this.config.startIndex}}let o=!1;function a(){o||(o=!0,(0,n.RegisterClass)("FlowGraphMultiGateBlock",l))}t.s(["FlowGraphMultiGateBlock",0,l,"RegisterFlowGraphMultiGateBlock",0,a],81869),a(),t.s([],69700),t.i(69700),t.i(81869),t.s(["FlowGraphMultiGateBlock",0,l],33606)}]);
|
|
@@ -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,1609,e=>{"use strict";var i=e.i(1719);let t="helperFunctions",r=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
|
|
2
2
|
const float LinearEncodePowerApprox=2.2;const float GammaEncodePowerApprox=1.0/LinearEncodePowerApprox;const vec3 LuminanceEncodeApprox=vec3(0.2126,0.7152,0.0722);const float Epsilon=0.0000001;
|
|
3
3
|
#define saturate(x) clamp(x,0.0,1.0)
|
|
4
4
|
#define absEps(x) abs(x)+Epsilon
|
|
@@ -116,25 +116,25 @@ float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
|
|
|
116
116
|
vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
|
|
117
117
|
uint2float(rstate*2447445414u));}
|
|
118
118
|
#endif
|
|
119
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["helperFunctions",0,{name:t,shader:r}])},
|
|
119
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["helperFunctions",0,{name:t,shader:r}])},12209,e=>{"use strict";var i=e.i(1719);let t="sceneUboDeclaration",r=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
|
|
120
120
|
#ifdef MULTIVIEW
|
|
121
121
|
mat4 viewProjectionR;
|
|
122
122
|
#endif
|
|
123
123
|
mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
|
|
124
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["sceneUboDeclaration",0,{name:t,shader:r}])},
|
|
124
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["sceneUboDeclaration",0,{name:t,shader:r}])},81108,57972,30964,e=>{"use strict";var i=e.i(1719);let t="meshUboDeclaration",r=`#ifdef WEBGL2
|
|
125
125
|
uniform mat4 world;uniform float visibility;
|
|
126
126
|
#else
|
|
127
127
|
layout(std140,column_major) uniform;uniform Mesh
|
|
128
128
|
{mat4 world;float visibility;};
|
|
129
129
|
#endif
|
|
130
130
|
#define WORLD_UBO
|
|
131
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["meshUboDeclaration",0,{name:t,shader:r}],
|
|
131
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["meshUboDeclaration",0,{name:t,shader:r}],81108);let a="mainUVVaryingDeclaration",n=`#ifdef MAINUV{X}
|
|
132
132
|
varying vec2 vMainUV{X};
|
|
133
133
|
#endif
|
|
134
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["mainUVVaryingDeclaration",0,{name:a,shader:n}],
|
|
134
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["mainUVVaryingDeclaration",0,{name:a,shader:n}],57972);let o="logDepthDeclaration",f=`#ifdef LOGARITHMICDEPTH
|
|
135
135
|
uniform float logarithmicDepthConstant;varying float vFragmentDepth;
|
|
136
136
|
#endif
|
|
137
|
-
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["logDepthDeclaration",0,{name:o,shader:f}],
|
|
137
|
+
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["logDepthDeclaration",0,{name:o,shader:f}],30964)},41980,e=>{"use strict";var i=e.i(1719);let t="harmonicsFunctions",r=`#ifdef USESPHERICALFROMREFLECTIONMAP
|
|
138
138
|
#ifdef SPHERICAL_HARMONICS
|
|
139
139
|
vec3 computeEnvironmentIrradiance(vec3 normal) {return vSphericalL00
|
|
140
140
|
+ vSphericalL1_1*(normal.y)
|
|
@@ -149,7 +149,7 @@ vec3 computeEnvironmentIrradiance(vec3 normal) {return vSphericalL00
|
|
|
149
149
|
vec3 computeEnvironmentIrradiance(vec3 normal) {float Nx=normal.x;float Ny=normal.y;float Nz=normal.z;vec3 C1=vSphericalZZ.rgb;vec3 Cx=vSphericalX.rgb;vec3 Cy=vSphericalY.rgb;vec3 Cz=vSphericalZ.rgb;vec3 Cxx_zz=vSphericalXX_ZZ.rgb;vec3 Cyy_zz=vSphericalYY_ZZ.rgb;vec3 Cxy=vSphericalXY.rgb;vec3 Cyz=vSphericalYZ.rgb;vec3 Czx=vSphericalZX.rgb;vec3 a1=Cyy_zz*Ny+Cy;vec3 a2=Cyz*Nz+a1;vec3 b1=Czx*Nz+Cx;vec3 b2=Cxy*Ny+b1;vec3 b3=Cxx_zz*Nx+b2;vec3 t1=Cz *Nz+C1;vec3 t2=a2 *Ny+t1;vec3 t3=b3 *Nx+t2;return t3;}
|
|
150
150
|
#endif
|
|
151
151
|
#endif
|
|
152
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["harmonicsFunctions",0,{name:t,shader:r}])},
|
|
152
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["harmonicsFunctions",0,{name:t,shader:r}])},72979,e=>{"use strict";var i=e.i(1719);let t="pbrBRDFFunctions",r=`#define FRESNEL_MAXIMUM_ON_ROUGH 0.25
|
|
153
153
|
#define BRDF_DIFFUSE_MODEL_EON 0
|
|
154
154
|
#define BRDF_DIFFUSE_MODEL_BURLEY 1
|
|
155
155
|
#define BRDF_DIFFUSE_MODEL_LAMBERT 2
|
|
@@ -322,12 +322,12 @@ vec3 transmittanceBRDF_Burley(const vec3 tintColor,const vec3 diffusionDistance,
|
|
|
322
322
|
float computeWrappedDiffuseNdotL(float NdotL,float w) {float t=1.0+w;float invt2=1.0/square(t);return saturate((NdotL+w)*invt2);}
|
|
323
323
|
#endif
|
|
324
324
|
#endif
|
|
325
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["pbrBRDFFunctions",0,{name:t,shader:r}])},
|
|
325
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["pbrBRDFFunctions",0,{name:t,shader:r}])},90560,e=>{"use strict";var i=e.i(1719);e.i(12209),e.i(81108);let t="pbrUboDeclaration",r=`layout(std140,column_major) uniform;uniform Material {vec2 vAlbedoInfos;vec2 vBaseWeightInfos;vec2 vBaseDiffuseRoughnessInfos;vec4 vAmbientInfos;vec2 vOpacityInfos;vec2 vEmissiveInfos;vec2 vLightmapInfos;vec3 vReflectivityInfos;vec2 vMicroSurfaceSamplerInfos;vec3 vBumpInfos;mat4 albedoMatrix;mat4 baseWeightMatrix;mat4 baseDiffuseRoughnessMatrix;mat4 ambientMatrix;mat4 opacityMatrix;mat4 emissiveMatrix;mat4 lightmapMatrix;mat4 reflectivityMatrix;mat4 microSurfaceSamplerMatrix;mat4 bumpMatrix;vec2 vTangentSpaceParams;vec4 vAlbedoColor;float baseWeight;float baseDiffuseRoughness;vec4 vLightingIntensity;float pointSize;vec4 vReflectivityColor;vec3 vEmissiveColor;vec3 vAmbientColor;vec2 vDebugMode;vec4 vMetallicReflectanceFactors;vec2 vMetallicReflectanceInfos;mat4 metallicReflectanceMatrix;vec2 vReflectanceInfos;mat4 reflectanceMatrix;vec4 cameraInfo;vec4 vTextureRepetitionHexTilingParams;vec2 vReflectionInfos;mat4 reflectionMatrix;vec3 vReflectionMicrosurfaceInfos;vec3 vReflectionPosition;vec3 vReflectionSize;vec2 vReflectionFilteringInfo;vec3 vReflectionDominantDirection;vec3 vReflectionColor;vec3 vSphericalL00;vec3 vSphericalL1_1;vec3 vSphericalL10;vec3 vSphericalL11;vec3 vSphericalL2_2;vec3 vSphericalL2_1;vec3 vSphericalL20;vec3 vSphericalL21;vec3 vSphericalL22;vec3 vSphericalX;vec3 vSphericalY;vec3 vSphericalZ;vec3 vSphericalXX_ZZ;vec3 vSphericalYY_ZZ;vec3 vSphericalZZ;vec3 vSphericalXY;vec3 vSphericalYZ;vec3 vSphericalZX;
|
|
326
326
|
#define ADDITIONAL_UBO_DECLARATION
|
|
327
327
|
};
|
|
328
328
|
#include<sceneUboDeclaration>
|
|
329
329
|
#include<meshUboDeclaration>
|
|
330
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["pbrUboDeclaration",0,{name:t,shader:r}])},
|
|
330
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["pbrUboDeclaration",0,{name:t,shader:r}])},88774,78263,e=>{"use strict";var i=e.i(1719);let t="bonesDeclaration",r=`#if NUM_BONE_INFLUENCERS>0
|
|
331
331
|
attribute vec4 matricesIndices;attribute vec4 matricesWeights;
|
|
332
332
|
#if NUM_BONE_INFLUENCERS>4
|
|
333
333
|
attribute vec4 matricesIndicesExtra;attribute vec4 matricesWeightsExtra;
|
|
@@ -356,7 +356,7 @@ return mat4(m0,m1,m2,m3);
|
|
|
356
356
|
#endif
|
|
357
357
|
#endif
|
|
358
358
|
#endif
|
|
359
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["bonesDeclaration",0,{name:t,shader:r}],
|
|
359
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["bonesDeclaration",0,{name:t,shader:r}],88774);let a="bakedVertexAnimationDeclaration",n=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
360
360
|
uniform float bakedVertexAnimationTime;
|
|
361
361
|
#if !defined(WEBGL2) && !defined(WEBGPU)
|
|
362
362
|
uniform vec2 bakedVertexAnimationTextureSizeInverted;
|
|
@@ -375,7 +375,7 @@ float offset=index*4.0;float frameUV=(frame+0.5)*bakedVertexAnimationTextureSize
|
|
|
375
375
|
#endif
|
|
376
376
|
}
|
|
377
377
|
#endif
|
|
378
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["bakedVertexAnimationDeclaration",0,{name:a,shader:n}],
|
|
378
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["bakedVertexAnimationDeclaration",0,{name:a,shader:n}],78263)},82059,e=>{"use strict";var i=e.i(1719);let t="instancesDeclaration",r=`#ifdef INSTANCES
|
|
379
379
|
attribute vec4 world0;attribute vec4 world1;attribute vec4 world2;attribute vec4 world3;
|
|
380
380
|
#ifdef INSTANCESCOLOR
|
|
381
381
|
attribute vec4 instanceColor;
|
|
@@ -397,7 +397,7 @@ uniform mat4 world;
|
|
|
397
397
|
uniform mat4 previousWorld;
|
|
398
398
|
#endif
|
|
399
399
|
#endif
|
|
400
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["instancesDeclaration",0,{name:t,shader:r}])},
|
|
400
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["instancesDeclaration",0,{name:t,shader:r}])},92125,e=>{"use strict";var i=e.i(1719);let t="clipPlaneVertexDeclaration",r=`#ifdef CLIPPLANE
|
|
401
401
|
uniform vec4 vClipPlane;varying float fClipDistance;
|
|
402
402
|
#endif
|
|
403
403
|
#ifdef CLIPPLANE2
|
|
@@ -415,7 +415,7 @@ uniform vec4 vClipPlane5;varying float fClipDistance5;
|
|
|
415
415
|
#ifdef CLIPPLANE6
|
|
416
416
|
uniform vec4 vClipPlane6;varying float fClipDistance6;
|
|
417
417
|
#endif
|
|
418
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["clipPlaneVertexDeclaration",0,{name:t,shader:r}])},
|
|
418
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["clipPlaneVertexDeclaration",0,{name:t,shader:r}])},99136,1e4,65474,14518,e=>{"use strict";var i=e.i(1719);let t="instancesVertex",r=`#ifdef INSTANCES
|
|
419
419
|
mat4 finalWorld=mat4(world0,world1,world2,world3);
|
|
420
420
|
#if defined(PREPASS_VELOCITY) || defined(VELOCITY) || defined(PREPASS_VELOCITY_LINEAR) || defined(VELOCITY_LINEAR)
|
|
421
421
|
mat4 finalPreviousWorld=mat4(previousWorld0,previousWorld1,
|
|
@@ -433,7 +433,7 @@ mat4 finalWorld=world;
|
|
|
433
433
|
mat4 finalPreviousWorld=previousWorld;
|
|
434
434
|
#endif
|
|
435
435
|
#endif
|
|
436
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["instancesVertex",0,{name:t,shader:r}],
|
|
436
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["instancesVertex",0,{name:t,shader:r}],99136);let a="bonesVertex",n=`#ifndef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
437
437
|
#if NUM_BONE_INFLUENCERS>0
|
|
438
438
|
mat4 influence;
|
|
439
439
|
#ifdef BONETEXTURE
|
|
@@ -486,7 +486,7 @@ influence+=mBones[int(matricesIndicesExtra[3])]*matricesWeightsExtra[3];
|
|
|
486
486
|
finalWorld=finalWorld*influence;
|
|
487
487
|
#endif
|
|
488
488
|
#endif
|
|
489
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["bonesVertex",0,{name:a,shader:n}],
|
|
489
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["bonesVertex",0,{name:a,shader:n}],1e4);let o="bakedVertexAnimation",f=`#ifdef BAKED_VERTEX_ANIMATION_TEXTURE
|
|
490
490
|
{
|
|
491
491
|
#ifdef INSTANCES
|
|
492
492
|
#define BVASNAME bakedVertexAnimationSettingsInstanced
|
|
@@ -517,7 +517,7 @@ VATInfluence+=readMatrixFromRawSamplerVAT(bakedVertexAnimationTexture,matricesIn
|
|
|
517
517
|
#endif
|
|
518
518
|
finalWorld=finalWorld*VATInfluence;}
|
|
519
519
|
#endif
|
|
520
|
-
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["bakedVertexAnimation",0,{name:o,shader:f}],
|
|
520
|
+
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["bakedVertexAnimation",0,{name:o,shader:f}],65474);let c="clipPlaneVertex",d=`#ifdef CLIPPLANE
|
|
521
521
|
fClipDistance=dot(worldPos,vClipPlane);
|
|
522
522
|
#endif
|
|
523
523
|
#ifdef CLIPPLANE2
|
|
@@ -535,13 +535,13 @@ fClipDistance5=dot(worldPos,vClipPlane5);
|
|
|
535
535
|
#ifdef CLIPPLANE6
|
|
536
536
|
fClipDistance6=dot(worldPos,vClipPlane6);
|
|
537
537
|
#endif
|
|
538
|
-
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=d),e.s(["clipPlaneVertex",0,{name:c,shader:d}],
|
|
538
|
+
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=d),e.s(["clipPlaneVertex",0,{name:c,shader:d}],14518)},72482,68852,94672,e=>{"use strict";var i=e.i(1719);let t="fogVertexDeclaration",r=`#ifdef FOG
|
|
539
539
|
varying vec3 vFogDistance;
|
|
540
540
|
#endif
|
|
541
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["fogVertexDeclaration",0,{name:t,shader:r}],
|
|
541
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["fogVertexDeclaration",0,{name:t,shader:r}],72482);let a="fogVertex",n=`#ifdef FOG
|
|
542
542
|
vFogDistance=(view*worldPos).xyz;
|
|
543
543
|
#endif
|
|
544
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["fogVertex",0,{name:a,shader:n}],
|
|
544
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["fogVertex",0,{name:a,shader:n}],68852);let o="vertexColorMixing",f=`#if defined(VERTEXCOLOR) || defined(INSTANCESCOLOR) && defined(INSTANCES)
|
|
545
545
|
vColor=vec4(1.0);
|
|
546
546
|
#ifdef VERTEXCOLOR
|
|
547
547
|
#ifdef VERTEXALPHA
|
|
@@ -554,13 +554,13 @@ vColor.rgb*=colorUpdated.rgb;
|
|
|
554
554
|
vColor*=instanceColor;
|
|
555
555
|
#endif
|
|
556
556
|
#endif
|
|
557
|
-
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["vertexColorMixing",0,{name:o,shader:f}],
|
|
557
|
+
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["vertexColorMixing",0,{name:o,shader:f}],94672)},58283,656,9269,23116,44560,94874,57837,57472,65073,93481,97063,e=>{"use strict";var i=e.i(1719);let t="decalVertexDeclaration",r=`#ifdef DECAL
|
|
558
558
|
uniform vec4 vDecalInfos;uniform mat4 decalMatrix;
|
|
559
559
|
#endif
|
|
560
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["decalVertexDeclaration",0,{name:t,shader:r}],
|
|
560
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["decalVertexDeclaration",0,{name:t,shader:r}],58283);let a="uvAttributeDeclaration",n=`#ifdef UV{X}
|
|
561
561
|
attribute vec2 uv{X};
|
|
562
562
|
#endif
|
|
563
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["uvAttributeDeclaration",0,{name:a,shader:n}],
|
|
563
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["uvAttributeDeclaration",0,{name:a,shader:n}],656);let o="prePassVertexDeclaration",f=`#ifdef PREPASS
|
|
564
564
|
#ifdef PREPASS_LOCAL_POSITION
|
|
565
565
|
varying vec3 vPosition;
|
|
566
566
|
#endif
|
|
@@ -574,10 +574,10 @@ varying float vNormViewDepth;
|
|
|
574
574
|
uniform mat4 previousViewProjection;varying vec4 vCurrentPosition;varying vec4 vPreviousPosition;
|
|
575
575
|
#endif
|
|
576
576
|
#endif
|
|
577
|
-
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["prePassVertexDeclaration",0,{name:o,shader:f}],
|
|
577
|
+
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["prePassVertexDeclaration",0,{name:o,shader:f}],9269);let c="samplerVertexDeclaration",d=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
|
|
578
578
|
varying vec2 v_VARYINGNAME_UV;
|
|
579
579
|
#endif
|
|
580
|
-
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=d),e.s(["samplerVertexDeclaration",0,{name:c,shader:d}],
|
|
580
|
+
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=d),e.s(["samplerVertexDeclaration",0,{name:c,shader:d}],23116);let l="lightVxFragmentDeclaration",s=`#ifdef LIGHT{X}
|
|
581
581
|
uniform vec4 vLightData{X};uniform vec4 vLightDiffuse{X};
|
|
582
582
|
#ifdef SPECULARTERM
|
|
583
583
|
uniform vec4 vLightSpecular{X};
|
|
@@ -604,7 +604,7 @@ uniform vec3 vLightGround{X};
|
|
|
604
604
|
uniform vec4 vLightWidth{X};uniform vec4 vLightHeight{X};
|
|
605
605
|
#endif
|
|
606
606
|
#endif
|
|
607
|
-
`;i.ShaderStore.IncludesShadersStore[l]||(i.ShaderStore.IncludesShadersStore[l]=s),e.s(["lightVxFragmentDeclaration",0,{name:l,shader:s}],
|
|
607
|
+
`;i.ShaderStore.IncludesShadersStore[l]||(i.ShaderStore.IncludesShadersStore[l]=s),e.s(["lightVxFragmentDeclaration",0,{name:l,shader:s}],44560);let E="lightVxUboDeclaration",m=`#ifdef LIGHT{X}
|
|
608
608
|
uniform Light{X}
|
|
609
609
|
{vec4 vLightData;vec4 vLightDiffuse;vec4 vLightSpecular;
|
|
610
610
|
#ifdef SPOTLIGHT{X}
|
|
@@ -629,7 +629,7 @@ varying vec4 vPositionFromLight{X};varying float vDepthMetric{X};uniform mat4 li
|
|
|
629
629
|
#endif
|
|
630
630
|
#endif
|
|
631
631
|
#endif
|
|
632
|
-
`;i.ShaderStore.IncludesShadersStore[E]||(i.ShaderStore.IncludesShadersStore[E]=m),e.s(["lightVxUboDeclaration",0,{name:E,shader:m}],
|
|
632
|
+
`;i.ShaderStore.IncludesShadersStore[E]||(i.ShaderStore.IncludesShadersStore[E]=m),e.s(["lightVxUboDeclaration",0,{name:E,shader:m}],94874);let v="prePassVertex",S=`#ifdef PREPASS_DEPTH
|
|
633
633
|
vViewPos=(view*worldPos).rgb;
|
|
634
634
|
#endif
|
|
635
635
|
#ifdef PREPASS_NORMALIZED_VIEW_DEPTH
|
|
@@ -668,13 +668,13 @@ vPreviousPosition=previousViewProjection*finalPreviousWorld*previousInfluence*ve
|
|
|
668
668
|
vPreviousPosition=previousViewProjection*finalPreviousWorld*vec4(positionUpdated,1.0);
|
|
669
669
|
#endif
|
|
670
670
|
#endif
|
|
671
|
-
`;i.ShaderStore.IncludesShadersStore[v]||(i.ShaderStore.IncludesShadersStore[v]=S),e.s(["prePassVertex",0,{name:v,shader:S}],
|
|
671
|
+
`;i.ShaderStore.IncludesShadersStore[v]||(i.ShaderStore.IncludesShadersStore[v]=S),e.s(["prePassVertex",0,{name:v,shader:S}],57837);let u="uvVariableDeclaration",I=`#if !defined(UV{X}) && defined(MAINUV{X})
|
|
672
672
|
vec2 uv{X}=vec2(0.,0.);
|
|
673
673
|
#endif
|
|
674
674
|
#ifdef MAINUV{X}
|
|
675
675
|
vMainUV{X}=uv{X};
|
|
676
676
|
#endif
|
|
677
|
-
`;i.ShaderStore.IncludesShadersStore[u]||(i.ShaderStore.IncludesShadersStore[u]=I),e.s(["uvVariableDeclaration",0,{name:u,shader:I}],
|
|
677
|
+
`;i.ShaderStore.IncludesShadersStore[u]||(i.ShaderStore.IncludesShadersStore[u]=I),e.s(["uvVariableDeclaration",0,{name:u,shader:I}],57472);let N="samplerVertexImplementation",_=`#if defined(_DEFINENAME_) && _DEFINENAME_DIRECTUV==0
|
|
678
678
|
if (v_INFONAME_==0.)
|
|
679
679
|
{v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uvUpdated,1.0,0.0));}
|
|
680
680
|
#ifdef UV2
|
|
@@ -698,7 +698,7 @@ else if (v_INFONAME_==5.)
|
|
|
698
698
|
{v_VARYINGNAME_UV=vec2(_MATRIXNAME_Matrix*vec4(uv6,1.0,0.0));}
|
|
699
699
|
#endif
|
|
700
700
|
#endif
|
|
701
|
-
`;i.ShaderStore.IncludesShadersStore[N]||(i.ShaderStore.IncludesShadersStore[N]=_),e.s(["samplerVertexImplementation",0,{name:N,shader:_}],
|
|
701
|
+
`;i.ShaderStore.IncludesShadersStore[N]||(i.ShaderStore.IncludesShadersStore[N]=_),e.s(["samplerVertexImplementation",0,{name:N,shader:_}],65073);let A="shadowsVertex",R=`#ifdef SHADOWS
|
|
702
702
|
#if defined(SHADOWCSM{X})
|
|
703
703
|
vPositionFromCamera{X}=view*worldPos;for (int i=0; i<SHADOWCSMNUM_CASCADES{X}; i++) {vPositionFromLight{X}[i]=lightMatrix{X}[i]*worldPos;
|
|
704
704
|
#ifdef USE_REVERSE_DEPTHBUFFER
|
|
@@ -716,10 +716,10 @@ vDepthMetric{X}=(vPositionFromLight{X}.z+light{X}.depthValues.x)/light{X}.depthV
|
|
|
716
716
|
#endif
|
|
717
717
|
#endif
|
|
718
718
|
#endif
|
|
719
|
-
`;i.ShaderStore.IncludesShadersStore[A]||(i.ShaderStore.IncludesShadersStore[A]=R),e.s(["shadowsVertex",0,{name:A,shader:R}],
|
|
719
|
+
`;i.ShaderStore.IncludesShadersStore[A]||(i.ShaderStore.IncludesShadersStore[A]=R),e.s(["shadowsVertex",0,{name:A,shader:R}],93481);let T="logDepthVertex",p=`#ifdef LOGARITHMICDEPTH
|
|
720
720
|
vFragmentDepth=1.0+gl_Position.w;gl_Position.z=log2(max(0.000001,vFragmentDepth))*logarithmicDepthConstant;
|
|
721
721
|
#endif
|
|
722
|
-
`;i.ShaderStore.IncludesShadersStore[T]||(i.ShaderStore.IncludesShadersStore[T]=p),e.s(["logDepthVertex",0,{name:T,shader:p}],
|
|
722
|
+
`;i.ShaderStore.IncludesShadersStore[T]||(i.ShaderStore.IncludesShadersStore[T]=p),e.s(["logDepthVertex",0,{name:T,shader:p}],97063)},90426,32122,61241,48921,e=>{"use strict";var i=e.i(1719);let t="morphTargetsVertexGlobalDeclaration",r=`#ifdef MORPHTARGETS
|
|
723
723
|
uniform float morphTargetInfluences[NUM_MORPH_INFLUENCERS];
|
|
724
724
|
#ifdef MORPHTARGETS_TEXTURE
|
|
725
725
|
uniform float morphTargetTextureIndices[NUM_MORPH_INFLUENCERS];uniform vec3 morphTargetTextureInfo;uniform highp sampler2DArray morphTargets;vec3 readVector3FromRawSampler(int targetIndex,float vertexIndex)
|
|
@@ -740,7 +740,7 @@ float y=floor(vertexIndex/morphTargetTextureInfo.y);float x=vertexIndex-y*morphT
|
|
|
740
740
|
}
|
|
741
741
|
#endif
|
|
742
742
|
#endif
|
|
743
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["morphTargetsVertexGlobalDeclaration",0,{name:t,shader:r}],
|
|
743
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["morphTargetsVertexGlobalDeclaration",0,{name:t,shader:r}],90426);let a="morphTargetsVertexDeclaration",n=`#ifdef MORPHTARGETS
|
|
744
744
|
#ifndef MORPHTARGETS_TEXTURE
|
|
745
745
|
#ifdef MORPHTARGETS_POSITION
|
|
746
746
|
attribute vec3 position{X};
|
|
@@ -764,12 +764,12 @@ attribute vec4 color{X};
|
|
|
764
764
|
uniform float morphTargetCount;
|
|
765
765
|
#endif
|
|
766
766
|
#endif
|
|
767
|
-
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["morphTargetsVertexDeclaration",0,{name:a,shader:n}],
|
|
767
|
+
`;i.ShaderStore.IncludesShadersStore[a]||(i.ShaderStore.IncludesShadersStore[a]=n),e.s(["morphTargetsVertexDeclaration",0,{name:a,shader:n}],32122);let o="morphTargetsVertexGlobal",f=`#ifdef MORPHTARGETS
|
|
768
768
|
#ifdef MORPHTARGETS_TEXTURE
|
|
769
769
|
float vertexID;
|
|
770
770
|
#endif
|
|
771
771
|
#endif
|
|
772
|
-
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["morphTargetsVertexGlobal",0,{name:o,shader:f}],
|
|
772
|
+
`;i.ShaderStore.IncludesShadersStore[o]||(i.ShaderStore.IncludesShadersStore[o]=f),e.s(["morphTargetsVertexGlobal",0,{name:o,shader:f}],61241);let c="morphTargetsVertex",d=`#ifdef MORPHTARGETS
|
|
773
773
|
#ifdef MORPHTARGETS_TEXTURE
|
|
774
774
|
#if {X}==0
|
|
775
775
|
for (int i=0; i<NUM_MORPH_INFLUENCERS; i++) {if (float(i)>=morphTargetCount) break;vertexID=float(gl_VertexID)*morphTargetTextureInfo.x;
|
|
@@ -829,17 +829,17 @@ colorUpdated+=(color{X}-color)*morphTargetInfluences[{X}];
|
|
|
829
829
|
#endif
|
|
830
830
|
#endif
|
|
831
831
|
#endif
|
|
832
|
-
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=d),e.s(["morphTargetsVertex",0,{name:c,shader:d}],
|
|
832
|
+
`;i.ShaderStore.IncludesShadersStore[c]||(i.ShaderStore.IncludesShadersStore[c]=d),e.s(["morphTargetsVertex",0,{name:c,shader:d}],48921)},5872,e=>{"use strict";var i=e.i(1719);let t="bumpVertex",r=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
|
|
833
833
|
#if defined(TANGENT) && defined(NORMAL)
|
|
834
834
|
vec3 tbnNormal=normalize(normalUpdated);vec3 tbnTangent=normalize(tangentUpdated.xyz);vec3 tbnBitangent=cross(tbnNormal,tbnTangent)*tangentUpdated.w;vTBN=mat3(finalWorld)*mat3(tbnTangent,tbnBitangent,tbnNormal);
|
|
835
835
|
#endif
|
|
836
836
|
#endif
|
|
837
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["bumpVertex",0,{name:t,shader:r}])},
|
|
837
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["bumpVertex",0,{name:t,shader:r}])},72199,e=>{"use strict";var i=e.i(1719);let t="bumpVertexDeclaration",r=`#if defined(BUMP) || defined(PARALLAX) || defined(CLEARCOAT_BUMP) || defined(ANISOTROPIC)
|
|
838
838
|
#if defined(TANGENT) && defined(NORMAL)
|
|
839
839
|
varying mat3 vTBN;
|
|
840
840
|
#endif
|
|
841
841
|
#endif
|
|
842
|
-
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["bumpVertexDeclaration",0,{name:t,shader:r}])},
|
|
842
|
+
`;i.ShaderStore.IncludesShadersStore[t]||(i.ShaderStore.IncludesShadersStore[t]=r),e.s(["bumpVertexDeclaration",0,{name:t,shader:r}])},45630,e=>{"use strict";var i=e.i(1719),t=e.i(58283);let r="pbrVertexDeclaration",a=`uniform mat4 view;uniform mat4 viewProjection;uniform vec4 vEyePosition;
|
|
843
843
|
#ifdef MULTIVIEW
|
|
844
844
|
mat4 viewProjectionR;
|
|
845
845
|
#endif
|
|
@@ -964,7 +964,7 @@ uniform vec4 vDetailInfos;uniform mat4 detailMatrix;
|
|
|
964
964
|
#endif
|
|
965
965
|
#include<decalVertexDeclaration>
|
|
966
966
|
#define ADDITIONAL_VERTEX_DECLARATION
|
|
967
|
-
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=a);var n=e.i(
|
|
967
|
+
`;i.ShaderStore.IncludesShadersStore[r]||(i.ShaderStore.IncludesShadersStore[r]=a);var n=e.i(12209),o=e.i(81108),f=e.i(90560),c=e.i(656),d=e.i(57972),l=e.i(1609),s=e.i(72979),E=e.i(88774),m=e.i(78263),v=e.i(82059),S=e.i(9269),u=e.i(23116),I=e.i(41980),N=e.i(72199),_=e.i(92125),A=e.i(72482),R=e.i(44560),T=e.i(94874),p=e.i(90426),h=e.i(32122),x=e.i(30964),M=e.i(61241),V=e.i(48921),C=e.i(99136),O=e.i(1e4),L=e.i(65474),g=e.i(57837),D=e.i(57472),F=e.i(65073),P=e.i(5872),U=e.i(14518),b=e.i(68852),G=e.i(93481),X=e.i(94672),B=e.i(97063);let y="pbrVertexShader",H=`#define PBR_VERTEX_SHADER
|
|
968
968
|
#define CUSTOM_VERTEX_EXTENSION
|
|
969
969
|
precision highp float;
|
|
970
970
|
#include<__decl__pbrVertex>
|
|
@@ -1195,4 +1195,4 @@ gl_PointSize=pointSize;
|
|
|
1195
1195
|
#include<logDepthVertex>
|
|
1196
1196
|
#define CUSTOM_VERTEX_MAIN_END
|
|
1197
1197
|
}
|
|
1198
|
-
`;for(let e of(i.ShaderStore.ShadersStore[y]||(i.ShaderStore.ShadersStore[y]=H),[t.decalVertexDeclaration,{name:r,shader:a},n.sceneUboDeclaration,o.meshUboDeclaration,f.pbrUboDeclaration,c.uvAttributeDeclaration,d.mainUVVaryingDeclaration,l.helperFunctions,s.pbrBRDFFunctions,E.bonesDeclaration,m.bakedVertexAnimationDeclaration,v.instancesDeclaration,S.prePassVertexDeclaration,u.samplerVertexDeclaration,I.harmonicsFunctions,N.bumpVertexDeclaration,_.clipPlaneVertexDeclaration,A.fogVertexDeclaration,R.lightVxFragmentDeclaration,T.lightVxUboDeclaration,p.morphTargetsVertexGlobalDeclaration,h.morphTargetsVertexDeclaration,x.logDepthDeclaration,M.morphTargetsVertexGlobal,V.morphTargetsVertex,C.instancesVertex,O.bonesVertex,L.bakedVertexAnimation,g.prePassVertex,D.uvVariableDeclaration,F.samplerVertexImplementation,P.bumpVertex,U.clipPlaneVertex,b.fogVertex,G.shadowsVertex,X.vertexColorMixing,B.logDepthVertex]))i.ShaderStore.IncludesShadersStore[e.name]||(i.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["pbrVertexShader",0,{name:y,shader:H}],
|
|
1198
|
+
`;for(let e of(i.ShaderStore.ShadersStore[y]||(i.ShaderStore.ShadersStore[y]=H),[t.decalVertexDeclaration,{name:r,shader:a},n.sceneUboDeclaration,o.meshUboDeclaration,f.pbrUboDeclaration,c.uvAttributeDeclaration,d.mainUVVaryingDeclaration,l.helperFunctions,s.pbrBRDFFunctions,E.bonesDeclaration,m.bakedVertexAnimationDeclaration,v.instancesDeclaration,S.prePassVertexDeclaration,u.samplerVertexDeclaration,I.harmonicsFunctions,N.bumpVertexDeclaration,_.clipPlaneVertexDeclaration,A.fogVertexDeclaration,R.lightVxFragmentDeclaration,T.lightVxUboDeclaration,p.morphTargetsVertexGlobalDeclaration,h.morphTargetsVertexDeclaration,x.logDepthDeclaration,M.morphTargetsVertexGlobal,V.morphTargetsVertex,C.instancesVertex,O.bonesVertex,L.bakedVertexAnimation,g.prePassVertex,D.uvVariableDeclaration,F.samplerVertexImplementation,P.bumpVertex,U.clipPlaneVertex,b.fogVertex,G.shadowsVertex,X.vertexColorMixing,B.logDepthVertex]))i.ShaderStore.IncludesShadersStore[e.name]||(i.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["pbrVertexShader",0,{name:y,shader:H}],45630)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,63587,t=>{"use strict";var i=t.i(82531),e=t.i(82350),o=t.i(48477);class r extends i.FlowGraphBlock{constructor(t){super(t),this.log=[],this._isDebug=!0,this.input=this.registerDataInput("input",e.RichTypeAny),this.output=this.registerDataOutput("output",e.RichTypeAny)}_updateOutputs(t){let i=this.input.getValue(t);this.output.setValue(i,t),this._logValue(i)}_logValue(t){if(null==t)this.log.push(["null","null"]);else{let i=r._FormatValue(t);this.log.push([i,String(t)])}this.log.length>100&&this.log.shift()}static _FormatValue(t){if("number"==typeof t)return Number.isInteger(t)?t.toString():t.toFixed(4);if("boolean"==typeof t||"string"==typeof t)return String(t);if(t&&"object"==typeof t){if("w"in t&&"x"in t&&"y"in t&&"z"in t)return`(${t.x.toFixed(3)}, ${t.y.toFixed(3)}, ${t.z.toFixed(3)}, ${t.w.toFixed(3)})`;if("z"in t&&"x"in t&&"y"in t)return`(${t.x.toFixed(3)}, ${t.y.toFixed(3)}, ${t.z.toFixed(3)})`;if("x"in t&&"y"in t)return`(${t.x.toFixed(3)}, ${t.y.toFixed(3)})`;if("r"in t&&"g"in t&&"b"in t){let i="a"in t?`, ${t.a.toFixed(3)}`:"";return`(${t.r.toFixed(3)}, ${t.g.toFixed(3)}, ${t.b.toFixed(3)}${i})`}if("function"==typeof t.toString&&t.toString!==Object.prototype.toString)return t.toString()}try{let i=JSON.stringify(t);return i.length>64?i.substring(0,61)+"...":i}catch{return String(t)}}getClassName(){return"FlowGraphDebugBlock"}}let n=!1;function u(){n||(n=!0,(0,o.RegisterClass)("FlowGraphDebugBlock",r))}t.s(["FlowGraphDebugBlock",0,r,"RegisterFlowGraphDebugBlock",0,u],4112),u(),t.s([],5898),t.i(5898),t.i(4112),t.s(["FlowGraphDebugBlock",0,r],63587)}]);
|
|
@@ -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,16355,27519,21933,e=>{"use strict";var r=e.i(1719);let i="bumpFragmentMainFunctions",o=`#ifndef TEXRD_DEFINED
|
|
2
2
|
#define TEXRD(s,uv) texture2D(s,uv)
|
|
3
3
|
#define TEXRD_DEFINED
|
|
4
4
|
#endif
|
|
@@ -63,7 +63,7 @@ vec3 perturbNormal(mat3 cotangentFrame,vec3 textureSample,float scale)
|
|
|
63
63
|
mat3 cotangent_frame(vec3 normal,vec3 p,vec2 uv,vec2 tangentSpaceParams)
|
|
64
64
|
{vec3 dp1=dFdx(p);vec3 dp2=dFdy(p);vec2 duv1=dFdx(uv);vec2 duv2=dFdy(uv);vec3 dp2perp=cross(dp2,normal);vec3 dp1perp=cross(normal,dp1);vec3 tangent=dp2perp*duv1.x+dp1perp*duv2.x;vec3 bitangent=dp2perp*duv1.y+dp1perp*duv2.y;tangent*=tangentSpaceParams.x;bitangent*=tangentSpaceParams.y;float det=max(dot(tangent,tangent),dot(bitangent,bitangent));float invmax=det==0.0 ? 0.0 : inversesqrt(det);return mat3(tangent*invmax,bitangent*invmax,normal);}
|
|
65
65
|
#endif
|
|
66
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["bumpFragmentMainFunctions",0,{name:i,shader:o}],
|
|
66
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["bumpFragmentMainFunctions",0,{name:i,shader:o}],16355),e.i(74393);let a="bumpFragmentFunctions",n=`#if defined(BUMP)
|
|
67
67
|
#include<samplerFragmentDeclaration>(_DEFINENAME_,BUMP,_VARYINGNAME_,Bump,_SAMPLERNAME_,bump)
|
|
68
68
|
#endif
|
|
69
69
|
#if defined(DETAIL)
|
|
@@ -93,7 +93,7 @@ return -texCoordOffset;
|
|
|
93
93
|
#endif
|
|
94
94
|
}
|
|
95
95
|
#endif
|
|
96
|
-
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["bumpFragmentFunctions",0,{name:a,shader:n}],
|
|
96
|
+
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["bumpFragmentFunctions",0,{name:a,shader:n}],27519);let t="bumpFragment",c=`vec2 uvOffset=vec2(0.0,0.0);
|
|
97
97
|
#if defined(BUMP) || defined(PARALLAX) || defined(DETAIL)
|
|
98
98
|
#ifdef NORMALXYSCALE
|
|
99
99
|
float normalScale=1.0;
|
|
@@ -145,7 +145,7 @@ normalW=perturbNormalBase(TBN,blendedNormal,vBumpInfos.y);
|
|
|
145
145
|
#elif defined(DETAIL)
|
|
146
146
|
detailNormal.xy*=vDetailInfos.z;normalW=perturbNormalBase(TBN,detailNormal,vDetailInfos.z);
|
|
147
147
|
#endif
|
|
148
|
-
`;r.ShaderStore.IncludesShadersStore[t]||(r.ShaderStore.IncludesShadersStore[t]=c),e.s(["bumpFragment",0,{name:t,shader:c}],
|
|
148
|
+
`;r.ShaderStore.IncludesShadersStore[t]||(r.ShaderStore.IncludesShadersStore[t]=c),e.s(["bumpFragment",0,{name:t,shader:c}],21933)},1609,e=>{"use strict";var r=e.i(1719);let i="helperFunctions",o=`const float PI=3.1415926535897932384626433832795;const float TWO_PI=6.283185307179586;const float HALF_PI=1.5707963267948966;const float RECIPROCAL_PI=0.3183098861837907;const float RECIPROCAL_PI2=0.15915494309189535;const float RECIPROCAL_PI4=0.07957747154594767;const float HALF_MIN=5.96046448e-08;
|
|
149
149
|
const float LinearEncodePowerApprox=2.2;const float GammaEncodePowerApprox=1.0/LinearEncodePowerApprox;const vec3 LuminanceEncodeApprox=vec3(0.2126,0.7152,0.0722);const float Epsilon=0.0000001;
|
|
150
150
|
#define saturate(x) clamp(x,0.0,1.0)
|
|
151
151
|
#define absEps(x) abs(x)+Epsilon
|
|
@@ -263,12 +263,12 @@ float uint2float(uint i) {return uintBitsToFloat(0x3F800000u | (i>>9u))-1.0;}
|
|
|
263
263
|
vec2 plasticSequence(const uint rstate) {return vec2(uint2float(rstate*3242174889u),
|
|
264
264
|
uint2float(rstate*2447445414u));}
|
|
265
265
|
#endif
|
|
266
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["helperFunctions",0,{name:i,shader:o}])},
|
|
266
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["helperFunctions",0,{name:i,shader:o}])},12209,e=>{"use strict";var r=e.i(1719);let i="sceneUboDeclaration",o=`layout(std140,column_major) uniform;uniform Scene {mat4 viewProjection;
|
|
267
267
|
#ifdef MULTIVIEW
|
|
268
268
|
mat4 viewProjectionR;
|
|
269
269
|
#endif
|
|
270
270
|
mat4 view;mat4 projection;vec4 vEyePosition;mat4 inverseProjection;};
|
|
271
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneUboDeclaration",0,{name:i,shader:o}])},
|
|
271
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneUboDeclaration",0,{name:i,shader:o}])},72979,e=>{"use strict";var r=e.i(1719);let i="pbrBRDFFunctions",o=`#define FRESNEL_MAXIMUM_ON_ROUGH 0.25
|
|
272
272
|
#define BRDF_DIFFUSE_MODEL_EON 0
|
|
273
273
|
#define BRDF_DIFFUSE_MODEL_BURLEY 1
|
|
274
274
|
#define BRDF_DIFFUSE_MODEL_LAMBERT 2
|
|
@@ -441,7 +441,7 @@ vec3 transmittanceBRDF_Burley(const vec3 tintColor,const vec3 diffusionDistance,
|
|
|
441
441
|
float computeWrappedDiffuseNdotL(float NdotL,float w) {float t=1.0+w;float invt2=1.0/square(t);return saturate((NdotL+w)*invt2);}
|
|
442
442
|
#endif
|
|
443
443
|
#endif
|
|
444
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrBRDFFunctions",0,{name:i,shader:o}])},
|
|
444
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrBRDFFunctions",0,{name:i,shader:o}])},64818,15008,e=>{"use strict";var r=e.i(1719);let i="clipPlaneFragmentDeclaration",o=`#ifdef CLIPPLANE
|
|
445
445
|
varying float fClipDistance;
|
|
446
446
|
#endif
|
|
447
447
|
#ifdef CLIPPLANE2
|
|
@@ -459,7 +459,7 @@ varying float fClipDistance5;
|
|
|
459
459
|
#ifdef CLIPPLANE6
|
|
460
460
|
varying float fClipDistance6;
|
|
461
461
|
#endif
|
|
462
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["clipPlaneFragmentDeclaration",0,{name:i,shader:o}],
|
|
462
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["clipPlaneFragmentDeclaration",0,{name:i,shader:o}],64818);let a="clipPlaneFragment",n=`#if defined(CLIPPLANE) || defined(CLIPPLANE2) || defined(CLIPPLANE3) || defined(CLIPPLANE4) || defined(CLIPPLANE5) || defined(CLIPPLANE6)
|
|
463
463
|
if (false) {}
|
|
464
464
|
#endif
|
|
465
465
|
#ifdef CLIPPLANE
|
|
@@ -486,7 +486,7 @@ else if (fClipDistance5>0.0)
|
|
|
486
486
|
else if (fClipDistance6>0.0)
|
|
487
487
|
{discard;}
|
|
488
488
|
#endif
|
|
489
|
-
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["clipPlaneFragment",0,{name:a,shader:n}],
|
|
489
|
+
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["clipPlaneFragment",0,{name:a,shader:n}],15008)},74393,102,e=>{"use strict";var r=e.i(1719);let i="samplerFragmentDeclaration",o=`#ifdef _DEFINENAME_
|
|
490
490
|
#if _DEFINENAME_DIRECTUV==1
|
|
491
491
|
#define v_VARYINGNAME_UV vMainUV1
|
|
492
492
|
#elif _DEFINENAME_DIRECTUV==2
|
|
@@ -504,7 +504,7 @@ varying vec2 v_VARYINGNAME_UV;
|
|
|
504
504
|
#endif
|
|
505
505
|
uniform sampler2D _SAMPLERNAME_Sampler;
|
|
506
506
|
#endif
|
|
507
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["samplerFragmentDeclaration",0,{name:i,shader:o}],
|
|
507
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["samplerFragmentDeclaration",0,{name:i,shader:o}],74393);let a="reflectionFunction",n=`vec3 computeFixedEquirectangularCoords(vec4 worldPos,vec3 worldNormal,vec3 direction)
|
|
508
508
|
{float lon=atan(direction.z,direction.x);float lat=acos(direction.y);vec2 sphereCoords=vec2(lon,lat)*RECIPROCAL_PI2*2.0;float s=sphereCoords.x*0.5+0.5;float t=sphereCoords.y;return vec3(s,t,0); }
|
|
509
509
|
vec3 computeMirroredFixedEquirectangularCoords(vec4 worldPos,vec3 worldNormal,vec3 direction)
|
|
510
510
|
{float lon=atan(direction.z,direction.x);float lat=acos(direction.y);vec2 sphereCoords=vec2(lon,lat)*RECIPROCAL_PI2*2.0;float s=sphereCoords.x*0.5+0.5;float t=sphereCoords.y;return vec3(1.0-s,t,0); }
|
|
@@ -566,7 +566,7 @@ return vec3(0,0,0);
|
|
|
566
566
|
#endif
|
|
567
567
|
}
|
|
568
568
|
#endif
|
|
569
|
-
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["reflectionFunction",0,{name:a,shader:n}],
|
|
569
|
+
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["reflectionFunction",0,{name:a,shader:n}],102)},69296,34473,e=>{"use strict";var r=e.i(1719);let i="pbrFragmentReflectionDeclaration",o=`#ifdef REFLECTION
|
|
570
570
|
#ifdef REFLECTIONMAP_3D
|
|
571
571
|
#define sampleReflection(s,c) textureCube(s,c)
|
|
572
572
|
uniform samplerCube reflectionSampler;
|
|
@@ -598,7 +598,7 @@ varying vec3 vDirectionW;
|
|
|
598
598
|
#endif
|
|
599
599
|
#endif
|
|
600
600
|
#endif
|
|
601
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrFragmentReflectionDeclaration",0,{name:i,shader:o}],
|
|
601
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["pbrFragmentReflectionDeclaration",0,{name:i,shader:o}],69296);let a="pbrIBLFunctions",n=`#if defined(REFLECTION) || defined(SS_REFRACTION)
|
|
602
602
|
float getLodFromAlphaG(float cubeMapDimensionPixels,float microsurfaceAverageSlope) {float microsurfaceAverageSlopeTexels=cubeMapDimensionPixels*microsurfaceAverageSlope;float lod=log2(microsurfaceAverageSlopeTexels);return lod;}
|
|
603
603
|
float getLinearLodFromRoughness(float cubeMapDimensionPixels,float roughness) {float lod=log2(cubeMapDimensionPixels)*roughness;return lod;}
|
|
604
604
|
#endif
|
|
@@ -612,12 +612,12 @@ float environmentHorizonOcclusion(vec3 view,vec3 normal,vec3 geometricNormal) {v
|
|
|
612
612
|
#define UNPACK_LOD(x) (1.0-x)*255.0
|
|
613
613
|
float getLodFromAlphaG(float cubeMapDimensionPixels,float alphaG,float NdotV) {float microsurfaceAverageSlope=alphaG;microsurfaceAverageSlope*=sqrt(abs(NdotV));return getLodFromAlphaG(cubeMapDimensionPixels,microsurfaceAverageSlope);}
|
|
614
614
|
#endif
|
|
615
|
-
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["pbrIBLFunctions",0,{name:a,shader:n}],
|
|
615
|
+
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["pbrIBLFunctions",0,{name:a,shader:n}],34473)},63950,59710,93767,49661,e=>{"use strict";var r=e.i(1719);let i="sceneFragmentDeclaration",o=`uniform mat4 viewProjection;
|
|
616
616
|
#ifdef MULTIVIEW
|
|
617
617
|
uniform mat4 viewProjectionR;
|
|
618
618
|
#endif
|
|
619
619
|
uniform mat4 view;uniform mat4 projection;uniform vec4 vEyePosition;uniform mat4 inverseProjection;
|
|
620
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneFragmentDeclaration",0,{name:i,shader:o}],
|
|
620
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["sceneFragmentDeclaration",0,{name:i,shader:o}],63950);let a="openpbrDielectricReflectance",n=`struct ReflectanceParams
|
|
621
621
|
{float F0;float F90;vec3 coloredF0;vec3 coloredF90;};
|
|
622
622
|
#define pbr_inline
|
|
623
623
|
ReflectanceParams dielectricReflectance(
|
|
@@ -635,7 +635,7 @@ float maxF0=max(specularColor.r,max(specularColor.g,specularColor.b));outParams.
|
|
|
635
635
|
outParams.F0=mix(dielectricF0_NoSpec,dielectricF0,specularWeight);
|
|
636
636
|
#endif
|
|
637
637
|
outParams.F90=mix(f90Scale_NoSpec,f90Scale,specularWeight);outParams.coloredF0=mix(vec3(dielectricF0_NoSpec),vec3(dielectricF0),specularWeight)*specularColor.rgb;outParams.coloredF90=mix(dielectricColorF90_NoSpec,dielectricColorF90,specularWeight);return outParams;}
|
|
638
|
-
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["openpbrDielectricReflectance",0,{name:a,shader:n}],
|
|
638
|
+
`;r.ShaderStore.IncludesShadersStore[a]||(r.ShaderStore.IncludesShadersStore[a]=n),e.s(["openpbrDielectricReflectance",0,{name:a,shader:n}],59710);let t="openpbrGeometryInfo",c=`struct geometryInfoOutParams
|
|
639
639
|
{float NdotV;float NdotVUnclamped;vec3 environmentBrdf;float horizonOcclusion;};struct geometryInfoAnisoOutParams
|
|
640
640
|
{float NdotV;float NdotVUnclamped;vec3 environmentBrdf;float horizonOcclusion;float anisotropy;vec3 anisotropicTangent;vec3 anisotropicBitangent;mat3 TBN;};
|
|
641
641
|
#define pbr_inline
|
|
@@ -664,7 +664,7 @@ geometryInfoAnisoOutParams geometryInfoAniso(
|
|
|
664
664
|
in vec3 normalW,in vec3 viewDirectionW,in float roughness,in vec3 geometricNormalW
|
|
665
665
|
,in vec3 vAnisotropy,in mat3 TBN
|
|
666
666
|
)
|
|
667
|
-
{geometryInfoOutParams geoInfo=geometryInfo(normalW,viewDirectionW,roughness,geometricNormalW);geometryInfoAnisoOutParams outParams;outParams.NdotV=geoInfo.NdotV;outParams.NdotVUnclamped=geoInfo.NdotVUnclamped;outParams.environmentBrdf=geoInfo.environmentBrdf;outParams.horizonOcclusion=geoInfo.horizonOcclusion;outParams.anisotropy=vAnisotropy.b;vec3 anisotropyDirection=vec3(vAnisotropy.xy,0.);mat3 anisoTBN=mat3(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;}`;r.ShaderStore.IncludesShadersStore[t]||(r.ShaderStore.IncludesShadersStore[t]=c),e.s(["openpbrGeometryInfo",0,{name:t,shader:c}],
|
|
667
|
+
{geometryInfoOutParams geoInfo=geometryInfo(normalW,viewDirectionW,roughness,geometricNormalW);geometryInfoAnisoOutParams outParams;outParams.NdotV=geoInfo.NdotV;outParams.NdotVUnclamped=geoInfo.NdotVUnclamped;outParams.environmentBrdf=geoInfo.environmentBrdf;outParams.horizonOcclusion=geoInfo.horizonOcclusion;outParams.anisotropy=vAnisotropy.b;vec3 anisotropyDirection=vec3(vAnisotropy.xy,0.);mat3 anisoTBN=mat3(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;}`;r.ShaderStore.IncludesShadersStore[t]||(r.ShaderStore.IncludesShadersStore[t]=c),e.s(["openpbrGeometryInfo",0,{name:t,shader:c}],93767);let f="openpbrIblFunctions",l=`#ifdef REFLECTION
|
|
668
668
|
vec3 sampleIrradiance(
|
|
669
669
|
in vec3 surfaceNormal
|
|
670
670
|
#if defined(NORMAL) && defined(USESPHERICALINVERTEX)
|
|
@@ -886,7 +886,7 @@ return getReflectanceFromBRDFLookup(reflectance.coloredF0,reflectance.coloredF90
|
|
|
886
886
|
#endif
|
|
887
887
|
}
|
|
888
888
|
#endif
|
|
889
|
-
`;r.ShaderStore.IncludesShadersStore[f]||(r.ShaderStore.IncludesShadersStore[f]=l),e.s(["openpbrIblFunctions",0,{name:f,shader:l}],
|
|
889
|
+
`;r.ShaderStore.IncludesShadersStore[f]||(r.ShaderStore.IncludesShadersStore[f]=l),e.s(["openpbrIblFunctions",0,{name:f,shader:l}],49661)},85827,e=>{"use strict";var r=e.i(1719);let i="openpbrSubsurfaceLayerData",o=`float subsurface_weight=vSubsurfaceWeight;vec3 subsurface_color=vSubsurfaceColor.rgb;float subsurface_radius=vSubsurfaceRadius;vec3 subsurface_radius_scale=vSubsurfaceRadiusScale;float subsurface_scatter_anisotropy=clamp(vSubsurfaceScatterAnisotropy,-0.9999,0.9999);
|
|
890
890
|
#ifdef SUBSURFACE_WEIGHT
|
|
891
891
|
vec4 subsurfaceWeightFromTexture=TEXRD(subsurfaceWeightSampler,vSubsurfaceWeightUV+uvOffset);
|
|
892
892
|
#endif
|
|
@@ -914,7 +914,7 @@ subsurface_color*=vSubsurfaceColorInfos.y;
|
|
|
914
914
|
#ifdef SUBSURFACE_RADIUS_SCALE
|
|
915
915
|
subsurface_radius_scale*=subsurfaceRadiusScaleFromTexture.rgb;
|
|
916
916
|
#endif
|
|
917
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrSubsurfaceLayerData",0,{name:i,shader:o}])},
|
|
917
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrSubsurfaceLayerData",0,{name:i,shader:o}])},93278,e=>{"use strict";var r=e.i(1719);let i="openpbrTransmissionLayerData",o=`float transmission_weight=vTransmissionWeight;vec3 transmission_color=vTransmissionColor.rgb;float transmission_depth=vTransmissionDepth;vec3 transmission_scatter=vTransmissionScatter.rgb;float transmission_scatter_anisotropy=clamp(vTransmissionScatterAnisotropy,-0.9999,0.9999);float transmission_dispersion_scale=vTransmissionDispersionScale;float transmission_dispersion_abbe_number=vTransmissionDispersionAbbeNumber;
|
|
918
918
|
#ifdef TRANSMISSION_WEIGHT
|
|
919
919
|
vec4 transmissionWeightFromTexture=TEXRD(transmissionWeightSampler,vTransmissionWeightUV+uvOffset);
|
|
920
920
|
#endif
|
|
@@ -950,10 +950,10 @@ transmission_scatter*=transmissionScatterFromTexture.rgb;
|
|
|
950
950
|
#ifdef TRANSMISSION_DISPERSION_SCALE
|
|
951
951
|
transmission_dispersion_scale*=transmissionDispersionScaleFromTexture.r;
|
|
952
952
|
#endif
|
|
953
|
-
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrTransmissionLayerData",0,{name:i,shader:o}])},
|
|
953
|
+
`;r.ShaderStore.IncludesShadersStore[i]||(r.ShaderStore.IncludesShadersStore[i]=o),e.s(["openpbrTransmissionLayerData",0,{name:i,shader:o}])},49990,e=>{"use strict";var r=e.i(1719),i=e.i(64818);let o="mrtFragmentDeclaration",a=`#if defined(WEBGL2) || defined(WEBGPU) || defined(NATIVE)
|
|
954
954
|
layout(location=0) out vec4 glFragData[{X}];
|
|
955
955
|
#endif
|
|
956
|
-
`;r.ShaderStore.IncludesShadersStore[o]||(r.ShaderStore.IncludesShadersStore[o]=a);var n=e.i(
|
|
956
|
+
`;r.ShaderStore.IncludesShadersStore[o]||(r.ShaderStore.IncludesShadersStore[o]=a);var n=e.i(16355),t=e.i(74393),c=e.i(27519),f=e.i(1609),l=e.i(69296),s=e.i(63950),d=e.i(12209),m=e.i(72979),v=e.i(59710),u=e.i(34473),E=e.i(102),R=e.i(93767),p=e.i(49661),S=e.i(15008),I=e.i(21933),N=e.i(85827),_=e.i(93278);let T="geometryPixelShader",A=`#extension GL_EXT_draw_buffers : require
|
|
957
957
|
#if defined(BUMP) || !defined(NORMAL)
|
|
958
958
|
#extension GL_OES_standard_derivatives : enable
|
|
959
959
|
#endif
|
|
@@ -1191,4 +1191,4 @@ irradiance_alpha=min(subsurface_weight+transmission_weight,1.0);
|
|
|
1191
1191
|
gl_FragData[IRRADIANCE_INDEX]=vec4(irradiance,irradiance_alpha);
|
|
1192
1192
|
#endif
|
|
1193
1193
|
}
|
|
1194
|
-
`;for(let e of(r.ShaderStore.ShadersStore[T]||(r.ShaderStore.ShadersStore[T]=A),[i.clipPlaneFragmentDeclaration,{name:o,shader:a},n.bumpFragmentMainFunctions,t.samplerFragmentDeclaration,c.bumpFragmentFunctions,f.helperFunctions,l.pbrFragmentReflectionDeclaration,s.sceneFragmentDeclaration,d.sceneUboDeclaration,m.pbrBRDFFunctions,v.openpbrDielectricReflectance,u.pbrIBLFunctions,E.reflectionFunction,R.openpbrGeometryInfo,p.openpbrIblFunctions,S.clipPlaneFragment,I.bumpFragment,N.openpbrSubsurfaceLayerData,_.openpbrTransmissionLayerData]))r.ShaderStore.IncludesShadersStore[e.name]||(r.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["geometryPixelShader",0,{name:T,shader:A}],
|
|
1194
|
+
`;for(let e of(r.ShaderStore.ShadersStore[T]||(r.ShaderStore.ShadersStore[T]=A),[i.clipPlaneFragmentDeclaration,{name:o,shader:a},n.bumpFragmentMainFunctions,t.samplerFragmentDeclaration,c.bumpFragmentFunctions,f.helperFunctions,l.pbrFragmentReflectionDeclaration,s.sceneFragmentDeclaration,d.sceneUboDeclaration,m.pbrBRDFFunctions,v.openpbrDielectricReflectance,u.pbrIBLFunctions,E.reflectionFunction,R.openpbrGeometryInfo,p.openpbrIblFunctions,S.clipPlaneFragment,I.bumpFragment,N.openpbrSubsurfaceLayerData,_.openpbrTransmissionLayerData]))r.ShaderStore.IncludesShadersStore[e.name]||(r.ShaderStore.IncludesShadersStore[e.name]=e.shader);e.s(["geometryPixelShader",0,{name:T,shader:A}],49990)}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,44988,e=>{"use strict";var t=e.i(65703),s=e.i(10952),r=e.i(57554),i=e.i(5313),a=e.i(52572);let n={positions:[1,1,-1,1,-1,-1,1,-1],indices:[0,1,2,0,2,3]};class o{static RegisterShaderCodeProcessing(e,t){t?o._CustomShaderCodeProcessing[e??""]=t:delete o._CustomShaderCodeProcessing[e??""]}static _GetShaderCodeProcessing(e){return o._CustomShaderCodeProcessing[e]??o._CustomShaderCodeProcessing[""]}get name(){return this.options.name}set name(e){this.options.name=e}isReady(){return this._drawWrapper.effect?.isReady()??!1}get drawWrapper(){return this._drawWrapper}get effect(){return this._drawWrapper.effect}set effect(e){this._drawWrapper.effect=e}constructor(e){this.alphaMode=0,this.onEffectCreatedObservable=new r.Observable(void 0,!0),this.onApplyObservable=new r.Observable,this._shadersLoaded=!1,this._webGPUReady=!1,this._importPromises=[],this.options={...e,name:e.name||"effectWrapper",engine:e.engine,uniforms:e.uniforms||e.uniformNames||[],uniformNames:void 0,samplers:e.samplers||e.samplerNames||[],samplerNames:void 0,attributeNames:e.attributeNames||["position"],uniformBuffers:e.uniformBuffers||[],defines:e.defines||"",useShaderStore:e.useShaderStore||!1,vertexUrl:e.vertexUrl||e.vertexShader||"postprocess",vertexShader:void 0,fragmentShader:e.fragmentShader||"pass",indexParameters:e.indexParameters,blockCompilation:e.blockCompilation||!1,shaderLanguage:e.shaderLanguage||0,onCompiled:e.onCompiled||void 0,extraInitializations:e.extraInitializations||void 0,extraInitializationsAsync:e.extraInitializationsAsync||void 0,useAsPostProcess:e.useAsPostProcess??!1,allowEmptySourceTexture:e.allowEmptySourceTexture??!1},this.options.uniformNames=this.options.uniforms,this.options.samplerNames=this.options.samplers,this.options.vertexShader=this.options.vertexUrl,this.options.useAsPostProcess&&(this.options.allowEmptySourceTexture||-1!==this.options.samplers.indexOf("textureSampler")||this.options.samplers.push("textureSampler"),-1===this.options.uniforms.indexOf("scale")&&this.options.uniforms.push("scale")),e.vertexUrl||e.vertexShader?this._shaderPath={vertexSource:this.options.vertexShader}:(this.options.useAsPostProcess||(this.options.uniforms.push("scale"),this.onApplyObservable.add(()=>{this.effect.setFloat2("scale",1,1)})),this._shaderPath={vertex:this.options.vertexShader}),this._shaderPath.fragmentSource=this.options.fragmentShader,this._shaderPath.spectorName=this.options.name,this.options.useShaderStore&&(this._shaderPath.fragment=this._shaderPath.fragmentSource,this._shaderPath.vertex||(this._shaderPath.vertex=this._shaderPath.vertexSource),delete this._shaderPath.fragmentSource,delete this._shaderPath.vertexSource),this.onApplyObservable.add(()=>{this.bind()}),this.options.useShaderStore||(this._onContextRestoredObserver=this.options.engine.onContextRestoredObservable.add(()=>{this.effect._pipelineContext=null,this.effect._prepareEffect()})),this._drawWrapper=new a.DrawWrapper(this.options.engine),this._webGPUReady=1===this.options.shaderLanguage;const t=Array.isArray(this.options.defines)?this.options.defines.join("\n"):this.options.defines;this._postConstructor(this.options.blockCompilation,t,this.options.extraInitializations)}_gatherImports(e=!1,t){}_postConstructor(t,s=null,r,i){this._importPromises.length=0,i&&this._importPromises.push(...i);let a=this.options.engine.isWebGPU&&!o.ForceGLSL;this._gatherImports(a,this._importPromises),this.options.useShaderStore&&"postprocess"===this._shaderPath.vertex&&this._importPromises.push(a&&this._webGPUReady?e.A(13831):e.A(88484)),void 0!==r&&r(a,this._importPromises),a&&this._webGPUReady&&(this.options.shaderLanguage=1),t||this.updateEffect(s)}updateEffect(e=null,t=null,s=null,r,a,n,h,l){let p,d=o._GetShaderCodeProcessing(this.name);if(d?.defineCustomBindings){let r=t?.slice()??[];r.push(...this.options.uniforms);let i=s?.slice()??[];i.push(...this.options.samplers),e=d.defineCustomBindings(this.name,e,r,i),t=r,s=i}this.options.defines=e||"";let u=this._shadersLoaded||0===this._importPromises.length?void 0:async()=>{await Promise.all(this._importPromises),this._shadersLoaded=!0};p=this.options.extraInitializationsAsync?async()=>{await u?.(),await this.options.extraInitializationsAsync()}:u,this.options.useShaderStore?this._drawWrapper.effect=this.options.engine.createEffect({vertex:h??this._shaderPath.vertex,fragment:l??this._shaderPath.fragment},{attributes:this.options.attributeNames,uniformsNames:t||this.options.uniforms,uniformBuffersNames:this.options.uniformBuffers,samplers:s||this.options.samplers,defines:null!==e?e:"",fallbacks:null,onCompiled:a??this.options.onCompiled,onError:n??null,indexParameters:r||this.options.indexParameters,processCodeAfterIncludes:d?.processCodeAfterIncludes?(e,t)=>d.processCodeAfterIncludes(this.name,e,t):null,processFinalCode:d?.processFinalCode?(e,t)=>d.processFinalCode(this.name,e,t):null,shaderLanguage:this.options.shaderLanguage,extraInitializationsAsync:p},this.options.engine):this._drawWrapper.effect=new i.Effect(this._shaderPath,this.options.attributeNames,t||this.options.uniforms,s||this.options.samplerNames,this.options.engine,e,void 0,a||this.options.onCompiled,void 0,void 0,void 0,this.options.shaderLanguage,p),this.onEffectCreatedObservable.notifyObservers(this._drawWrapper.effect)}bind(e=!1){this.options.useAsPostProcess&&!e&&(this.options.engine.setAlphaMode(this.alphaMode),this.drawWrapper.effect.setFloat2("scale",1,1)),o._GetShaderCodeProcessing(this.name)?.bindCustomBindings?.(this.name,this._drawWrapper.effect)}dispose(e=!1){this._onContextRestoredObserver&&(this.effect.getEngine().onContextRestoredObservable.remove(this._onContextRestoredObserver),this._onContextRestoredObserver=null),this.onEffectCreatedObservable.clear(),this._drawWrapper.dispose(!0)}}o.ForceGLSL=!1,o._CustomShaderCodeProcessing={},e.s(["EffectRenderer",0,class{constructor(e,r=n){this._fullscreenViewport=new s.Viewport(0,0,1,1);const i=r.positions??n.positions,a=r.indices??n.indices;this.engine=e,this._vertexBuffers={[t.VertexBuffer.PositionKind]:new t.VertexBuffer(e,i,t.VertexBuffer.PositionKind,!1,!1,2)},this._indexBuffer=e.createIndexBuffer(a),this._indexBufferLength=a.length,this._onContextRestoredObserver=e.onContextRestoredObservable.add(()=>{for(let t in this._indexBuffer=e.createIndexBuffer(a),this._vertexBuffers)this._vertexBuffers[t]._rebuild()})}setViewport(e=this._fullscreenViewport){this.engine.setViewport(e)}bindBuffers(e){this.engine.bindBuffers(this._vertexBuffers,this._indexBuffer,e)}applyEffectWrapper(e,t=!1,s=!1){this.engine.setState(!0),this.engine.depthCullingState.depthTest=t,this.engine.stencilState.stencilTest=s,this.engine.enableEffect(e.drawWrapper),this.bindBuffers(e.effect),e.onApplyObservable.notifyObservers({})}saveStates(){this._savedStateDepthTest=this.engine.depthCullingState.depthTest,this._savedStateStencilTest=this.engine.stencilState.stencilTest}restoreStates(){this.engine.depthCullingState.depthTest=this._savedStateDepthTest,this.engine.stencilState.stencilTest=this._savedStateStencilTest}draw(){this.engine.drawElementsType(0,0,this._indexBufferLength)}_isRenderTargetTexture(e){return void 0!==e.renderTarget}render(e,t=null){if(!e.effect.isReady())return;this.saveStates(),this.setViewport();let s=null===t?null:this._isRenderTargetTexture(t)?t.renderTarget:t;s&&this.engine.bindFramebuffer(s),this.applyEffectWrapper(e),this.draw(),s&&this.engine.unBindFramebuffer(s),this.restoreStates()}dispose(){let e=this._vertexBuffers[t.VertexBuffer.PositionKind];e&&(e.dispose(),delete this._vertexBuffers[t.VertexBuffer.PositionKind]),this._indexBuffer&&this.engine._releaseBuffer(this._indexBuffer),this._onContextRestoredObserver&&(this.engine.onContextRestoredObservable.remove(this._onContextRestoredObserver),this._onContextRestoredObserver=null)}},"EffectWrapper",0,o])},13456,41190,e=>{"use strict";var t=e.i(16147),s=e.i(95294),r=e.i(57554),i=e.i(10534),a=e.i(40220),n=e.i(95397),o=e.i(48477),h=e.i(65679),l=e.i(44988);class p{static get ForceGLSL(){return l.EffectWrapper.ForceGLSL}static set ForceGLSL(e){l.EffectWrapper.ForceGLSL=e}static RegisterShaderCodeProcessing(e,t){l.EffectWrapper.RegisterShaderCodeProcessing(e,t)}get name(){return this._effectWrapper.name}set name(e){this._effectWrapper.name=e}get alphaMode(){return this._effectWrapper.alphaMode}set alphaMode(e){this._effectWrapper.alphaMode=e}get samples(){return this._samples}set samples(e){this._samples=Math.min(e,this._engine.getCaps().maxMSAASamples),this._textures.forEach(e=>{e.setSamples(this._samples)})}get shaderLanguage(){return this._shaderLanguage}getEffectName(){return this._fragmentUrl}set onActivate(e){this._onActivateObserver&&this.onActivateObservable.remove(this._onActivateObserver),e&&(this._onActivateObserver=this.onActivateObservable.add(e))}set onSizeChanged(e){this._onSizeChangedObserver&&this.onSizeChangedObservable.remove(this._onSizeChangedObserver),this._onSizeChangedObserver=this.onSizeChangedObservable.add(e)}set onApply(e){this._onApplyObserver&&this.onApplyObservable.remove(this._onApplyObserver),this._onApplyObserver=this.onApplyObservable.add(e)}set onBeforeRender(e){this._onBeforeRenderObserver&&this.onBeforeRenderObservable.remove(this._onBeforeRenderObserver),this._onBeforeRenderObserver=this.onBeforeRenderObservable.add(e)}set onAfterRender(e){this._onAfterRenderObserver&&this.onAfterRenderObservable.remove(this._onAfterRenderObserver),this._onAfterRenderObserver=this.onAfterRenderObservable.add(e)}get inputTexture(){return this._textures.data[this._currentRenderTextureInd]}set inputTexture(e){this._forcedOutputTexture=e}restoreDefaultInputTexture(){this._forcedOutputTexture&&(this._forcedOutputTexture=null,this.markTextureDirty())}getCamera(){return this._camera}get texelSize(){return this._shareOutputWithPostProcess?this._shareOutputWithPostProcess.texelSize:(this._forcedOutputTexture&&this._texelSize.copyFromFloats(1/this._forcedOutputTexture.width,1/this._forcedOutputTexture.height),this._texelSize)}constructor(e,t,a,n,o,h,d=1,u,f,c=null,_=0,g="postprocess",m,x=!1,b=5,v,P){let C;this._parentContainer=null,this.width=-1,this.height=-1,this.nodeMaterialSource=null,this._outputTexture=null,this.autoClear=!0,this.forceAutoClearInAlphaMode=!1,this.animations=[],this.enablePixelPerfectMode=!1,this.forceFullscreenViewport=!0,this.scaleMode=1,this.alwaysForcePOT=!1,this._samples=1,this.adaptScaleToCurrentViewport=!1,this.doNotSerialize=!1,this._webGPUReady=!1,this._reusable=!1,this._renderId=0,this.externalTextureSamplerBinding=!1,this._textures=new s.SmartArray(2),this._textureCache=[],this._currentRenderTextureInd=0,this._scaleRatio=new i.Vector2(1,1),this._texelSize=i.Vector2.Zero(),this.onActivateObservable=new r.Observable,this.onSizeChangedObservable=new r.Observable,this.onApplyObservable=new r.Observable,this.onBeforeRenderObservable=new r.Observable,this.onAfterRenderObservable=new r.Observable,this.onDisposeObservable=new r.Observable;let O=1,S=null;if(a&&!Array.isArray(a)){const e=a;a=e.uniforms??null,n=e.samplers??null,O=e.size??1,h=e.camera??null,d=e.samplingMode??1,u=e.engine,f=e.reusable,c=Array.isArray(e.defines)?e.defines.join("\n"):e.defines??null,_=e.textureType??0,g=e.vertexUrl??"postprocess",m=e.indexParameters,x=e.blockCompilation??!1,b=e.textureFormat??5,v=e.shaderLanguage??0,S=e.uniformBuffers??null,P=e.extraInitializations,C=e.effectWrapper}else o&&(O="number"==typeof o?o:{width:o.width,height:o.height});if(this._useExistingThinPostProcess=!!C,this._effectWrapper=C??new l.EffectWrapper({name:e,useShaderStore:!0,useAsPostProcess:!0,fragmentShader:t,engine:u||h?.getScene().getEngine(),uniforms:a,samplers:n,uniformBuffers:S,defines:c,vertexUrl:g,indexParameters:m,blockCompilation:!0,shaderLanguage:v,extraInitializations:void 0}),this.name=e,this.onEffectCreatedObservable=this._effectWrapper.onEffectCreatedObservable,null!=h?(this._camera=h,this._scene=h.getScene(),h.attachPostProcess(this),this._engine=this._scene.getEngine(),this._scene.addPostProcess(this),this.uniqueId=this._scene.getUniqueId()):u&&(this._engine=u,this._engine.postProcesses.push(this)),this._options=O,this.renderTargetSamplingMode=d||1,this._reusable=f||!1,this._textureType=_,this._textureFormat=b,this._shaderLanguage=v||0,this._samplers=n||[],-1===this._samplers.indexOf("textureSampler")&&this._samplers.push("textureSampler"),this._fragmentUrl=t,this._vertexUrl=g,this._parameters=a||[],-1===this._parameters.indexOf("scale")&&this._parameters.push("scale"),this._uniformBuffers=S||[],this._indexParameters=m,!this._useExistingThinPostProcess){this._webGPUReady=1===this._shaderLanguage;const e=[];this._gatherImports(this._engine.isWebGPU&&!p.ForceGLSL,e),this._effectWrapper._webGPUReady=this._webGPUReady,this._effectWrapper._postConstructor(x,c,P,e)}}_gatherImports(t=!1,s){t&&this._webGPUReady?s.push(Promise.all([e.A(13831)])):s.push(Promise.all([e.A(88484)]))}getClassName(){return"PostProcess"}getEngine(){return this._engine}getEffect(){return this._effectWrapper.drawWrapper.effect}shareOutputWith(e){return this._disposeTextures(),this._shareOutputWithPostProcess=e,this}useOwnOutput(){0==this._textures.length&&(this._textures=new s.SmartArray(2)),this._shareOutputWithPostProcess=null}updateEffect(e=null,t=null,s=null,r,i,a,n,o){this._effectWrapper.updateEffect(e,t,s,r,i,a,n,o),this._postProcessDefines=Array.isArray(this._effectWrapper.options.defines)?this._effectWrapper.options.defines.join("\n"):this._effectWrapper.options.defines}isReusable(){return this._reusable}markTextureDirty(){this.width=-1}_createRenderTargetTexture(e,t,s=0){for(let r=0;r<this._textureCache.length;r++)if(this._textureCache[r].texture.width===e.width&&this._textureCache[r].texture.height===e.height&&this._textureCache[r].postProcessChannel===s&&this._textureCache[r].texture._generateDepthBuffer===t.generateDepthBuffer&&this._textureCache[r].texture.samples===t.samples)return this._textureCache[r].texture;let r=this._engine.createRenderTargetTexture(e,t);return this._textureCache.push({texture:r,postProcessChannel:s,lastUsedRenderId:-1}),r}_flushTextureCache(){let e=this._renderId;for(let t=this._textureCache.length-1;t>=0;t--)if(e-this._textureCache[t].lastUsedRenderId>100){let e=!1;for(let s=0;s<this._textures.length;s++)if(this._textures.data[s]===this._textureCache[t].texture){e=!0;break}e||(this._textureCache[t].texture.dispose(),this._textureCache.splice(t,1))}}resize(e,t,s=null,r=!1,i=!1){this._textures.length>0&&this._textures.reset(),this.width=e,this.height=t;let a=null;if(s){for(let e=0;e<s._postProcesses.length;e++)if(null!==s._postProcesses[e]){a=s._postProcesses[e];break}}let n={width:this.width,height:this.height},o={generateMipMaps:r,generateDepthBuffer:i||a===this,generateStencilBuffer:(i||a===this)&&this._engine.isStencilEnable,samplingMode:this.renderTargetSamplingMode,type:this._textureType,format:this._textureFormat,samples:this._samples,label:"PostProcessRTT-"+this.name};this._textures.push(this._createRenderTargetTexture(n,o,0)),this._reusable&&this._textures.push(this._createRenderTargetTexture(n,o,1)),this._texelSize.copyFromFloats(1/this.width,1/this.height),this.onSizeChangedObservable.notifyObservers(this)}_getTarget(){let e;if(this._shareOutputWithPostProcess)e=this._shareOutputWithPostProcess.inputTexture;else if(this._forcedOutputTexture)e=this._forcedOutputTexture,this.width=this._forcedOutputTexture.width,this.height=this._forcedOutputTexture.height;else{let t;e=this.inputTexture;for(let s=0;s<this._textureCache.length;s++)if(this._textureCache[s].texture===e){t=this._textureCache[s];break}t&&(t.lastUsedRenderId=this._renderId)}return e}activate(e,t=null,s){let r=null===e||void 0!==e.cameraRigMode?e||this._camera:null,i=r?.getScene()??e,a=i.getEngine(),n=a.getCaps().maxTextureSize,o=(t?t.width:this._engine.getRenderWidth(!0))*this._options|0,l=(t?t.height:this._engine.getRenderHeight(!0))*this._options|0,p=this._options.width||o,d=this._options.height||l,u=7!==this.renderTargetSamplingMode&&1!==this.renderTargetSamplingMode&&2!==this.renderTargetSamplingMode,f=null;if(!this._shareOutputWithPostProcess&&!this._forcedOutputTexture){if(this.adaptScaleToCurrentViewport){let e=a.currentViewport;e&&(p*=e.width,d*=e.height)}(u||this.alwaysForcePOT)&&(this._options.width||(p=a.needPOTTextures?(0,h.GetExponentOfTwo)(p,n,this.scaleMode):p),this._options.height||(d=a.needPOTTextures?(0,h.GetExponentOfTwo)(d,n,this.scaleMode):d)),this.width===p&&this.height===d&&(f=this._getTarget())||this.resize(p,d,r,u,s),this._textures.forEach(e=>{e.samples!==this.samples&&this._engine.updateRenderTargetTextureSampleCount(e,this.samples)}),this._flushTextureCache(),this._renderId++}return f||(f=this._getTarget()),this.enablePixelPerfectMode?(this._scaleRatio.copyFromFloats(o/p,l/d),this._engine.bindFramebuffer(f,0,o,l,this.forceFullscreenViewport)):(this._scaleRatio.copyFromFloats(1,1),this._engine.bindFramebuffer(f,0,void 0,void 0,this.forceFullscreenViewport)),this._engine._debugInsertMarker?.(`post process ${this.name} input`),this.onActivateObservable.notifyObservers(r),this.autoClear&&(0===this.alphaMode||this.forceAutoClearInAlphaMode)&&this._engine.clear(this.clearColor?this.clearColor:i.clearColor,i._allowPostProcessClearColor,!0,!0),this._reusable&&(this._currentRenderTextureInd=(this._currentRenderTextureInd+1)%2),f}get isSupported(){return this._effectWrapper.drawWrapper.effect.isSupported}get aspectRatio(){return this._shareOutputWithPostProcess?this._shareOutputWithPostProcess.aspectRatio:this._forcedOutputTexture?this._forcedOutputTexture.width/this._forcedOutputTexture.height:this.width/this.height}isReady(){return this._effectWrapper.isReady()}apply(){let e;return this._effectWrapper.isReady()?(this._engine.enableEffect(this._effectWrapper.drawWrapper),this._engine.setState(!1),this._engine.setDepthBuffer(!1),this._engine.setDepthWrite(!1),this.alphaConstants&&this.getEngine().setAlphaConstants(this.alphaConstants.r,this.alphaConstants.g,this.alphaConstants.b,this.alphaConstants.a),this._engine.setAlphaMode(this.alphaMode),e=this._shareOutputWithPostProcess?this._shareOutputWithPostProcess.inputTexture:this._forcedOutputTexture?this._forcedOutputTexture:this.inputTexture,this.externalTextureSamplerBinding||this._effectWrapper.drawWrapper.effect._bindTexture("textureSampler",e?.texture),this._effectWrapper.drawWrapper.effect.setVector2("scale",this._scaleRatio),this.onApplyObservable.notifyObservers(this._effectWrapper.drawWrapper.effect),this._effectWrapper.bind(!0),this._effectWrapper.drawWrapper.effect):null}_disposeTextures(){this._shareOutputWithPostProcess||this._forcedOutputTexture?this._disposeTextureCache():(this._disposeTextureCache(),this._textures.dispose())}_disposeTextureCache(){for(let e=this._textureCache.length-1;e>=0;e--)this._textureCache[e].texture.dispose();this._textureCache.length=0}setPrePassRenderer(e){return!!this._prePassEffectConfiguration&&(this._prePassEffectConfiguration=e.addEffectConfiguration(this._prePassEffectConfiguration),this._prePassEffectConfiguration.enabled=!0,!0)}dispose(e){let t;if(e=e||this._camera,this._useExistingThinPostProcess||this._effectWrapper.dispose(),this._disposeTextures(),this._scene&&this._scene.removePostProcess(this),this._parentContainer&&((t=this._parentContainer.postProcesses.indexOf(this))>-1&&this._parentContainer.postProcesses.splice(t,1),this._parentContainer=null),-1!==(t=this._engine.postProcesses.indexOf(this))&&this._engine.postProcesses.splice(t,1),this.onDisposeObservable.notifyObservers(),e){if(e.detachPostProcess(this),0===(t=e._postProcesses.indexOf(this))&&e._postProcesses.length>0){let e=this._camera._getFirstPostProcess();e&&e.markTextureDirty()}this.onActivateObservable.clear(),this.onAfterRenderObservable.clear(),this.onApplyObservable.clear(),this.onBeforeRenderObservable.clear(),this.onSizeChangedObservable.clear(),this.onEffectCreatedObservable.clear()}}serialize(){let e=n.SerializationHelper.Serialize(this),t=this.getCamera()||this._scene&&this._scene.activeCamera;return e.customType="BABYLON."+this.getClassName(),e.cameraId=t?t.id:null,e.reusable=this._reusable,e.textureType=this._textureType,e.fragmentUrl=this._fragmentUrl,e.parameters=this._parameters,e.samplers=this._samplers,e.uniformBuffers=this._uniformBuffers,e.options=this._options,e.defines=this._postProcessDefines,e.textureFormat=this._textureFormat,e.vertexUrl=this._vertexUrl,e.indexParameters=this._indexParameters,e}clone(){let e=this.serialize();e._engine=this._engine,e.cameraId=null;let t=p.Parse(e,this._scene,"");return t?(t.onActivateObservable=this.onActivateObservable.clone(),t.onSizeChangedObservable=this.onSizeChangedObservable.clone(),t.onApplyObservable=this.onApplyObservable.clone(),t.onBeforeRenderObservable=this.onBeforeRenderObservable.clone(),t.onAfterRenderObservable=this.onAfterRenderObservable.clone(),t._prePassEffectConfiguration=this._prePassEffectConfiguration,t):null}static Parse(e,t,s){let r=(0,o.GetClass)(e.customType);if(!r||!r._Parse)return null;let i=t?t.getCameraById(e.cameraId):null;return r._Parse(e,i,t,s)}static _Parse(e,t,s,r){return n.SerializationHelper.Parse(()=>new p(e.name,e.fragmentUrl,e.parameters,e.samplers,e.options,t,e.renderTargetSamplingMode,e._engine,e.reusable,e.defines,e.textureType,e.vertexUrl,e.indexParameters,!1,e.textureFormat),e,s,r)}}(0,t.__decorate)([(0,a.serialize)()],p.prototype,"uniqueId",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"name",null),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"width",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"height",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"renderTargetSamplingMode",void 0),(0,t.__decorate)([(0,a.serializeAsColor4)()],p.prototype,"clearColor",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"autoClear",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"forceAutoClearInAlphaMode",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"alphaMode",null),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"alphaConstants",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"enablePixelPerfectMode",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"forceFullscreenViewport",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"scaleMode",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"alwaysForcePOT",void 0),(0,t.__decorate)([(0,a.serialize)("samples")],p.prototype,"_samples",void 0),(0,t.__decorate)([(0,a.serialize)()],p.prototype,"adaptScaleToCurrentViewport",void 0),e.s(["PostProcess",0,p],41190);var d=e.i(67374),u=e.i(74040),f=l,c=e.i(47867);class _ extends f.EffectWrapper{_gatherImports(t,s){t?(this._webGPUReady=!0,s.push(Promise.all([e.A(17030)]))):s.push(Promise.all([e.A(23899)])),super._gatherImports(t,s)}constructor(e,t=null,s){const r={name:e,engine:t||c.EngineStore.LastCreatedEngine,useShaderStore:!0,useAsPostProcess:!0,fragmentShader:_.FragmentUrl,...s};r.engine||(r.engine=c.EngineStore.LastCreatedEngine),super(r)}}_.FragmentUrl="pass";class g extends f.EffectWrapper{_gatherImports(t,s){t?(this._webGPUReady=!0,s.push(Promise.all([e.A(28636)]))):s.push(Promise.all([e.A(94467)])),super._gatherImports(t,s)}constructor(e,t=null,s){super({...s,name:e,engine:t||c.EngineStore.LastCreatedEngine,useShaderStore:!0,useAsPostProcess:!0,fragmentShader:g.FragmentUrl,defines:"#define POSITIVEX"}),this._face=0}get face(){return this._face}set face(e){if(!(e<0)&&!(e>5))switch(this._face=e,this._face){case 0:this.updateEffect("#define POSITIVEX");break;case 1:this.updateEffect("#define NEGATIVEX");break;case 2:this.updateEffect("#define POSITIVEY");break;case 3:this.updateEffect("#define NEGATIVEY");break;case 4:this.updateEffect("#define POSITIVEZ");break;case 5:this.updateEffect("#define NEGATIVEZ")}}}g.FragmentUrl="passCube";class m extends p{get face(){return this._effectWrapper.face}set face(e){this._effectWrapper.face=e}getClassName(){return"PassCubePostProcess"}constructor(e,t,s=null,r,i,a,n=0,o=!1){const h={size:"number"==typeof t?t:void 0,camera:s,samplingMode:r,engine:i,reusable:a,textureType:n,blockCompilation:o,...t};super(e,_.FragmentUrl,{effectWrapper:"number"!=typeof t&&t.effectWrapper?void 0:new g(e,i,h),...h})}static _Parse(e,t,s,r){return n.SerializationHelper.Parse(()=>new m(e.name,e.options,t,e.renderTargetSamplingMode,e._engine,e.reusable),e,s,r)}}(0,t.__decorate)([(0,a.serialize)()],m.prototype,"face",null),e.i(35270);var x=e.i(37890);x.ToHalfFloat,x.FromHalfFloat,e.s(["RGBDTextureTools",0,class{static ExpandRGBDTexture(t){let s=t._texture;if(!s||!t.isRGBD)return;let r=s.getEngine(),i=r.getCaps(),a=s.isReady,n=!1;i.textureHalfFloatRender&&i.textureHalfFloatLinearFiltering?(n=!0,s.type=2):i.textureFloatRender&&i.textureFloatLinearFiltering&&(n=!0,s.type=1),n&&(s.isReady=!1,s._isRGBD=!1,s.invertY=!1);let o=async()=>{let i=r.isWebGPU;s.isReady=!1,i?await e.A(40343):await e.A(50570);let a=new p("rgbdDecode","rgbdDecode",null,null,1,null,3,r,!1,void 0,s.type,void 0,null,!1,void 0,+!!i);a.externalTextureSamplerBinding=!0;let n=r.createRenderTargetTexture(s.width,{generateDepthBuffer:!1,generateMipMaps:!1,generateStencilBuffer:!1,samplingMode:s.samplingMode,type:s.type,format:5});a.onEffectCreatedObservable.addOnce(e=>{e.executeWhenCompiled(()=>{a.onApply=e=>{e._bindTexture("textureSampler",s),e.setFloat2("scale",1,1)},t.getScene().postProcessManager.directRender([a],n,!0),r.restoreDefaultFramebuffer(),r._releaseTexture(s),a&&a.dispose(),n._swapAndDie(s),s.isReady=!0})})};n&&(a?o():t.onLoadObservable.addOnce(o))}static async EncodeTextureToRGBD(t,s,r=0){var i,a,n,o,h;let l;return s.getEngine().isWebGPU?await e.A(55967):await e.A(82777),await (i=r,a=1,n=5,l=t.getEngine(),t.isReady=!1,a=a??t.samplingMode,i=i??t.type,n=n??t.format,o=o??t.width,h=h??t.height,-1===i&&(i=0),new Promise(e=>{let r=new p("postprocess","rgbdEncode",null,null,1,null,a,l,!1,void 0,i,void 0,null,!1,n);r.externalTextureSamplerBinding=!0;let d=l.createRenderTargetTexture({width:o,height:h},{generateDepthBuffer:!1,generateMipMaps:!1,generateStencilBuffer:!1,samplingMode:a,type:i,format:n});r.onEffectCreatedObservable.addOnce(a=>{a.executeWhenCompiled(()=>{r.onApply=e=>{e._bindTexture("textureSampler",t),e.setFloat2("scale",1,1)},s.postProcessManager.directRender([r],d,!0),l.restoreDefaultFramebuffer(),l._releaseTexture(t),r&&r.dispose(),d._swapAndDie(t),t.type=i,t.format=5,t.isReady=!0,e(t)})})}))}}],13456)}]);
|