shaders 3.1.457 → 3.1.458
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/dist/cli.js +2 -2
- package/dist/core/{AngularBlur-CIw_xeFr.js → AngularBlur-BzY7RJ8k.js} +16 -32
- package/dist/core/{Arc-Dh0gjBrJ.js → Arc-mmJuqIrG.js} +15 -26
- package/dist/core/{Ascii-CUk527uY.js → Ascii-D67jsGPT.js} +64 -165
- package/dist/core/{Aurora-CJ7evt-F.js → Aurora-CpHlaOfW.js} +93 -289
- package/dist/core/{BarShift-BrOamln6.js → BarShift-B9wsOKYJ.js} +33 -68
- package/dist/core/{BarnDoors-D_lVAMPJ.js → BarnDoors-C7Uzc1at.js} +16 -28
- package/dist/core/{Beam-KKNLzfKR.js → Beam-8CoTk23e.js} +22 -62
- package/dist/core/{Bend-CRuu6NuH.js → Bend-BYVoLE8C.js} +50 -161
- package/dist/core/{Blob-1mhEIcv5.js → Blob--way9kNy.js} +62 -189
- package/dist/core/{BlockDissolve-B9xWZC6U.js → BlockDissolve-f5fwwXWH.js} +17 -32
- package/dist/core/{BlockNoise-DQUBYM1N.js → BlockNoise-BpIuLPlC.js} +17 -29
- package/dist/core/{BlueNoise-BN1q4V6k.js → BlueNoise-C2tYHQRB.js} +14 -23
- package/dist/core/{Blur-Bc8evwsz.js → Blur-CmE46Bvp.js} +41 -114
- package/dist/core/{Boids-C7NstB5L.js → Boids-BgsVOmp1.js} +227 -734
- package/dist/core/{BokehBlur-CWQm00ut.js → BokehBlur-CU5Qphip.js} +197 -722
- package/dist/core/{BrickPattern-CIejlS9-.js → BrickPattern-BIpInb0P.js} +41 -99
- package/dist/core/{BrightnessContrast-Bs8AV0he.js → BrightnessContrast-BAJYnvFu.js} +12 -22
- package/dist/core/{BrushedMetal-D2X_nM8z.js → BrushedMetal-C4a9G-dt.js} +113 -358
- package/dist/core/{Bulge-CdhRTWSH.js → Bulge-C7eYFYDP.js} +19 -46
- package/dist/core/{CRTScreen-BxnPxDw9.js → CRTScreen-CfCxUiP4.js} +34 -94
- package/dist/core/{CarbonFiber-BFogRBFa.js → CarbonFiber-CDWj-Oc3.js} +123 -420
- package/dist/core/{Chalkboard-DEuq4TWm.js → Chalkboard-BfiyhSfN.js} +86 -212
- package/dist/core/{ChannelBlur-Oz40DKPZ.js → ChannelBlur-D2pxXWLQ.js} +17 -45
- package/dist/core/{CheckerWipe-yv4dK6n5.js → CheckerWipe-Cxy0pc7v.js} +18 -36
- package/dist/core/{Checkerboard-BFFF9ajX.js → Checkerboard-Bdaf19G4.js} +12 -17
- package/dist/core/{Chevron-BHbGhnrT.js → Chevron-BsdILsaY.js} +28 -57
- package/dist/core/{ChromaFlow-BXw1jQkn.js → ChromaFlow-DGTgGdzI.js} +31 -86
- package/dist/core/{ChromaticAberration-CWhYEGDU.js → ChromaticAberration-npr_Zzu7.js} +15 -30
- package/dist/core/{Chrome-DdV9RY9D.js → Chrome-DirY2YRZ.js} +156 -546
- package/dist/core/{Circle-DGvP0Svo.js → Circle-CLO08218.js} +15 -31
- package/dist/core/{ColorWheel-BOfvt3mc.js → ColorWheel-D5Hfl4t7.js} +57 -128
- package/dist/core/{CompressionArtifacts-Cm0iOzys.js → CompressionArtifacts-DVlRMU-H.js} +119 -374
- package/dist/core/{ConcentricSpin-B3GHzoS1.js → ConcentricSpin-Dls_rak9.js} +41 -98
- package/dist/core/{ConicGradient-1RKI-gOR.js → ConicGradient-BjVmRAul.js} +18 -31
- package/dist/core/{ContourLines-DDzxvg9k.js → ContourLines-BKcyS-lX.js} +37 -81
- package/dist/core/{CornerPin-VFPI_Jzq.js → CornerPin-CrTdyHSy.js} +96 -268
- package/dist/core/{Crescent-DL6EeZZp.js → Crescent-C77DCA2i.js} +14 -23
- package/dist/core/{Cross-DQIgZt-C.js → Cross-C8SURmac.js} +14 -23
- package/dist/core/{Crystal-CB_U2g2k.js → Crystal-WbJgiOqh.js} +206 -753
- package/dist/core/{CurlNoise-FmbuZEYt.js → CurlNoise-BiFV2K5L.js} +17 -34
- package/dist/core/{CursorRipples-C1hLNWzZ.js → CursorRipples-hIYlb09k.js} +73 -200
- package/dist/core/{CursorTrail-CPW8orHG.js → CursorTrail-CjTJ9OJ0.js} +81 -172
- package/dist/core/{DataMosh-C_esIK54.js → DataMosh-Cmo5-E5_.js} +134 -521
- package/dist/core/{DiamondGradient-CjnjxWEM.js → DiamondGradient-DIxg1EP9.js} +31 -66
- package/dist/core/{DiamondWipe-Cscn7Dyy.js → DiamondWipe-D4T1q5ia.js} +17 -36
- package/dist/core/{DiffuseBlur-DmPHOfr_.js → DiffuseBlur-okj7zVss.js} +13 -22
- package/dist/core/{DisplacementMap-B-cVoGbC.js → DisplacementMap-CHB6_h0f.js} +31 -69
- package/dist/core/{Dither-CBsFenFW.js → Dither-DTnkeWP0.js} +161 -438
- package/dist/core/{DotGrid-CbxlW08N.js → DotGrid-BJBEwt4L.js} +36 -77
- package/dist/core/{DropShadow-B4msUftn.js → DropShadow-CPT5vr4K.js} +39 -86
- package/dist/core/{Duotone-DF3dn0kC.js → Duotone-BWuTPBIw.js} +14 -26
- package/dist/core/{Ellipse-WuGsM7Gr.js → Ellipse-gVe3stQJ.js} +14 -23
- package/dist/core/{Emboss-D5RYAc-U.js → Emboss-DOPfz-ox.js} +85 -200
- package/dist/core/{Engraving-CmNKAHmF.js → Engraving-YNrPy-c7.js} +82 -222
- package/dist/core/{ErosionNoise-DdHtOQl4.js → ErosionNoise-X_2sjC-x.js} +14 -23
- package/dist/core/{Exposure-BSsbosYN.js → Exposure-xVgsHAWw.js} +7 -12
- package/dist/core/{FallingLines-1q5WgiKa.js → FallingLines-DPHJRCvy.js} +68 -205
- package/dist/core/{FilmGrain-CgvcPFDC.js → FilmGrain-CDuL4T8C.js} +22 -51
- package/dist/core/{FilmStock-Bgn9OyQY.js → FilmStock-BmMC2ewO.js} +89 -264
- package/dist/core/{Flip-DJuox9qR.js → Flip-DhpEvnT7.js} +13 -26
- package/dist/core/{FloatingParticles-BGig0_Ks.js → FloatingParticles-Dx3J-Pbe.js} +177 -459
- package/dist/core/{FlowField-0I_PwtkD.js → FlowField-CLbiu5Xo.js} +38 -120
- package/dist/core/{Flower--1qeeCuA.js → Flower-nF4Zq0eP.js} +14 -23
- package/dist/core/{FlowingGradient-DMZ1E9ix.js → FlowingGradient-aNCwZ9nh.js} +61 -185
- package/dist/core/{FlutedGlass-CqSVa4kd.js → FlutedGlass-m19MvmKj.js} +44 -124
- package/dist/core/{Fog-DxFsHnT2.js → Fog-DVclS-y4.js} +125 -330
- package/dist/core/{Form3D-CabM27VZ.js → Form3D-Cv6l3hHQ.js} +328 -974
- package/dist/core/{FractalNoise-DPhwf7-X.js → FractalNoise-BMRqE4LG.js} +26 -55
- package/dist/core/{Frost-BL4zkGjj.js → Frost-Cqc7t9TR.js} +115 -422
- package/dist/core/{GaborNoise-GkEvNPeg.js → GaborNoise-BL4TH_Yh.js} +15 -24
- package/dist/core/{Glass-DPa3OWjZ.js → Glass-D5jcM7J7.js} +6 -6
- package/dist/core/{GlassTiles-B4Y8x78X.js → GlassTiles-BeKB3vfh.js} +29 -90
- package/dist/core/{Glitch-D-QTlz5D.js → Glitch-BmJj_vgQ.js} +83 -295
- package/dist/core/{Glow-C3VfGUb6.js → Glow-wdFqXqWh.js} +11 -20
- package/dist/core/{Godrays-pfr82Onh.js → Godrays-CQ7Gpeni.js} +68 -179
- package/dist/core/{Goo-BPaUKk1S.js → Goo-nc_51UOr.js} +92 -323
- package/dist/core/{GradientMap-DQ4IbzIx.js → GradientMap-BU9r1enO.js} +61 -141
- package/dist/core/{Grayscale-Bpp1Q2KT.js → Grayscale-CGtMggTH.js} +13 -25
- package/dist/core/{Grid-CQRC0rPf.js → Grid-BFx6ufzG.js} +51 -122
- package/dist/core/{GridDistortion-CAKSKhII.js → GridDistortion-B-Hq3rLo.js} +80 -195
- package/dist/core/{Group-UvbIuzy-.js → Group-DnA_clLB.js} +1 -1
- package/dist/core/{HTMLInCanvas-CMxSuq5H.js → HTMLInCanvas-DhCIQ97w.js} +2 -2
- package/dist/core/{Halftone-SiFx0wAg.js → Halftone-eX0AaYyB.js} +114 -283
- package/dist/core/{Heart-DLQnxsbQ.js → Heart-98zfiijj.js} +14 -23
- package/dist/core/{Heatmap-DhvtrL45.js → Heatmap-BCV4Pq0O.js} +92 -271
- package/dist/core/{HexGrid-DsEQNWJB.js → HexGrid-BlRlo8z4.js} +46 -117
- package/dist/core/{Hologram-DR88qD5X.js → Hologram-B5iMaK95.js} +87 -258
- package/dist/core/{Holographic-DKc_nNnT.js → Holographic-DBdODPjj.js} +99 -333
- package/dist/core/{HueShift-B7l4vcZP.js → HueShift-AsoQKt_z.js} +16 -33
- package/dist/core/{ImageTexture-D41xKACO.js → ImageTexture-CRL52DxI.js} +3 -3
- package/dist/core/{InkFlow-Bd4RXQmm.js → InkFlow-JMUVdkv1.js} +60 -148
- package/dist/core/{Invert-CEfJB0WN.js → Invert-BWV7zcBe.js} +7 -12
- package/dist/core/{IrisWipe-O6dc-Aq2.js → IrisWipe-5LICL9Oq.js} +14 -23
- package/dist/core/{IsometricCubes-BBK6Ec0q.js → IsometricCubes-DGFF6e8t.js} +61 -180
- package/dist/core/{Kaleidoscope-DQFV4-lX.js → Kaleidoscope-B7F2_L9x.js} +28 -69
- package/dist/core/{KeyFrames-BjH6gHSf.js → KeyFrames-CVH9NNY6.js} +298 -1172
- package/dist/core/{LensDistortion-BcodYk7_.js → LensDistortion-_QcaFbkh.js} +3 -3
- package/dist/core/{LensFlare-DLjQYsbx.js → LensFlare-h0EG0UVt.js} +119 -396
- package/dist/core/{LightEdge-CF0k0vMa.js → LightEdge-DO7stYlD.js} +169 -491
- package/dist/core/{LightLeak-Bu6xFjg-.js → LightLeak-BxqXrUyh.js} +80 -268
- package/dist/core/{Line-CRGYWOyW.js → Line-BtfkwqKJ.js} +79 -315
- package/dist/core/{LinearBlur-DGfbbIWb.js → LinearBlur-D0_W0tKF.js} +17 -33
- package/dist/core/{LinearGradient--54vTgc2.js → LinearGradient-BiATK9p7.js} +63 -145
- package/dist/core/{LinearWipe-0nTDgTcZ.js → LinearWipe-B1GFY0IT.js} +14 -23
- package/dist/core/{LiquidMetal-Bhenyeg-.js → LiquidMetal-07eJWR7z.js} +106 -341
- package/dist/core/{Liquify-Bg2tEc64.js → Liquify-CfPGxRC3.js} +72 -194
- package/dist/core/{MagneticFilings-Bn5DZWor.js → MagneticFilings-5iGBn4fr.js} +191 -545
- package/dist/core/{Marble-DixQe_Tu.js → Marble-RK87t7fT.js} +30 -88
- package/dist/core/{MeshGradient-Ca3pe_wB.js → MeshGradient-DxUlAoDr.js} +127 -341
- package/dist/core/{Mirror-DObS_qYr.js → Mirror-Bn0fpWtr.js} +26 -67
- package/dist/core/{MultiPointGradient-CtFBgPK6.js → MultiPointGradient-C44VD_6j.js} +26 -50
- package/dist/core/{Neon-m8PtEGdE.js → Neon-aO0w94H6.js} +119 -337
- package/dist/core/{NoiseDissolve-CB-Xj99z.js → NoiseDissolve-BYyXZMjF.js} +23 -64
- package/dist/core/{ObjectTracker-DQbxNZtb.js → ObjectTracker-ZgeKRvaK.js} +5 -5
- package/dist/core/{PagePeel-DOapA4QF.js → PagePeel-DqrIEWWF.js} +67 -215
- package/dist/core/{Paper-CVx1rZ1-.js → Paper-q-nDnqsG.js} +19 -45
- package/dist/core/{Parallelogram-BUR2Mg0g.js → Parallelogram-Cppv2GJm.js} +14 -23
- package/dist/core/{ParticleField-rfpfY_wr.js → ParticleField-B-O9nxdw.js} +247 -765
- package/dist/core/{ParticleFlow-DnZTqxMa.js → ParticleFlow-DVgTyGq4.js} +283 -840
- package/dist/core/{Particles-wfjtqAvF.js → Particles-B49_QWS_.js} +381 -1131
- package/dist/core/{PerlinNoise-B3PkQS1F.js → PerlinNoise-CZVb7VEh.js} +17 -29
- package/dist/core/{Perspective-Bp1nozq3.js → Perspective-Bl3AmawJ.js} +27 -73
- package/dist/core/{PixelSort-DF5Mm0uT.js → PixelSort-7VoL4Ck8.js} +174 -500
- package/dist/core/{PixelThrow-ANJ0F294.js → PixelThrow-CPqOSAmc.js} +25 -56
- package/dist/core/{Pixelate-Bl29QKdg.js → Pixelate-jMtbtFMG.js} +35 -109
- package/dist/core/{Plasma-DdEQKNa7.js → Plasma-DbilAdXY.js} +23 -47
- package/dist/core/{Plastic-RGRWPbc0.js → Plastic-DX61wGBx.js} +125 -379
- package/dist/core/{PolarCoordinates-kNqucXuj.js → PolarCoordinates-KOCO2sd-.js} +19 -44
- package/dist/core/{Polygon-Cg1Yb-TF.js → Polygon-Citu4Kgl.js} +18 -36
- package/dist/core/{Posterize-Bjfq_Et8.js → Posterize-D2-WcAiP.js} +18 -45
- package/dist/core/{Prism-CGeOs8pX.js → Prism-DYPWHdaf.js} +52 -144
- package/dist/core/{ProgressiveBlur-DHvM4Y4m.js → ProgressiveBlur-CTxD1yoj.js} +87 -223
- package/dist/core/{RadialGradient-CiFbgiiX.js → RadialGradient-B6I7KijG.js} +30 -63
- package/dist/core/{RadialWipe-BRvtJQN-.js → RadialWipe-CtjMG_pj.js} +14 -23
- package/dist/core/{RandomBars-BFJiR8ml.js → RandomBars-C6ksDuSF.js} +21 -47
- package/dist/core/{ReactionDiffusion-COFwdqMo.js → ReactionDiffusion-BzipteCn.js} +274 -755
- package/dist/core/{RectangularCoordinates-s25JfGDt.js → RectangularCoordinates-CfdZ347a.js} +18 -39
- package/dist/core/{ReflectivePlane-DP8vG4-U.js → ReflectivePlane-Cpv1p9O3.js} +48 -109
- package/dist/core/{Repeater-B6_lpYav.js → Repeater-H17zapDG.js} +2 -2
- package/dist/core/{Ring-CEaC7ILp.js → Ring-CDpyGwQ6.js} +15 -31
- package/dist/core/{RippleWipe-UrrIoCor.js → RippleWipe-BqL3WbjT.js} +20 -41
- package/dist/core/{Ripples-Cdha1qtk.js → Ripples-OFXx87jz.js} +16 -31
- package/dist/core/{RoundedRect-CLsMHcTd.js → RoundedRect-CuFSyEfW.js} +14 -23
- package/dist/core/{Saturation-Bpjxowys.js → Saturation-DjHX8rx2.js} +18 -45
- package/dist/core/{Scratches-RZkkhOMp.js → Scratches-Glgspe1m.js} +16 -33
- package/dist/core/{Sharpness-fFikIkE3.js → Sharpness-CSOtgpDq.js} +19 -40
- package/dist/core/{Shatter-C_v-Y_F_.js → Shatter-ydD72wnA.js} +79 -199
- package/dist/core/{SimplexNoise-CD-iTgJm.js → SimplexNoise-hkOBRbAM.js} +19 -35
- package/dist/core/{SineWave-D4hvW_8O.js → SineWave-Bp_0CoHZ.js} +20 -42
- package/dist/core/{SliceWipe-pGIB0xIc.js → SliceWipe-B77JxKQI.js} +31 -86
- package/dist/core/{Smoke-NgL8_Wlw.js → Smoke-BMhBhfbI.js} +50 -142
- package/dist/core/{SmokeFill-Cd-U58Bx.js → SmokeFill-L_3k9mKj.js} +173 -497
- package/dist/core/{SmokeFlow-BhjNSfcC.js → SmokeFlow-BNzNH5BF.js} +41 -102
- package/dist/core/{Solarize-DD2cjiZ7.js → Solarize-C7kAzXW_.js} +20 -50
- package/dist/core/{SolidColor-CmSX4SHb.js → SolidColor-Bp_KSGbp.js} +1 -1
- package/dist/core/{Spherize-Cpbor3M3.js → Spherize-Bj2nPPwK.js} +43 -125
- package/dist/core/{Spiral-BLM63kmf.js → Spiral-D3pxBQUb.js} +46 -115
- package/dist/core/{Star-UzeNW_jo.js → Star-CEH9XN1n.js} +14 -23
- package/dist/core/{Stone-B6MARs4o.js → Stone-DwYVLkb6.js} +2 -2
- package/dist/core/{Strands-DR_owki5.js → Strands-C3KJK5qj.js} +73 -224
- package/dist/core/{Stretch-Zhc5gz72.js → Stretch-D4dxm3Eq.js} +25 -62
- package/dist/core/{Stripes-C_i7QbEn.js → Stripes-C189VJJp.js} +27 -46
- package/dist/core/{StudioBackground-CZipQCG_.js → StudioBackground-DBftmr1t.js} +63 -207
- package/dist/core/{SunBurst-BKj7bLZn.js → SunBurst-BWiu3_T9.js} +20 -43
- package/dist/core/{Surface3D-BlexrpDJ.js → Surface3D-BHj5scrr.js} +236 -806
- package/dist/core/{Swirl-CKMRfpSx.js → Swirl-CG20s_S3.js} +35 -126
- package/dist/core/{Teardrop-Dcfd14iX.js → Teardrop-CaZaZqiU.js} +14 -23
- package/dist/core/{Text-2KkuVHxV.js → Text-BbSkUuRh.js} +26 -64
- package/dist/core/{ThinFilm-B7CTONK1.js → ThinFilm-DT5F71JM.js} +77 -202
- package/dist/core/{TiltShift-Yfz7yOnT.js → TiltShift-Bkj3TL8G.js} +90 -238
- package/dist/core/{TimeTrail-3YRaIap8.js → TimeTrail-DNI1as8t.js} +173 -403
- package/dist/core/{Tint-6e9QqUg4.js → Tint-C9ivnlbq.js} +35 -89
- package/dist/core/{Trapezoid-CTww_GcP.js → Trapezoid-Ba413G93.js} +14 -23
- package/dist/core/{TriangularGrid-DfrUVI8m.js → TriangularGrid-Cq7BdUyV.js} +50 -126
- package/dist/core/{Tritone-DmtMlvKc.js → Tritone-C4qZhK3A.js} +17 -41
- package/dist/core/{Truchet-B3__IHji.js → Truchet-BXK_Ot95.js} +60 -152
- package/dist/core/{Twirl-ECiB1asy.js → Twirl-BZDpTksa.js} +18 -41
- package/dist/core/{VHS-BIaAlx98.js → VHS-Ge_vluLk.js} +97 -295
- package/dist/core/{VenetianBlinds-DWnvvXJC.js → VenetianBlinds-Dp92230V.js} +16 -28
- package/dist/core/{Vesica-iFL8Vjcf.js → Vesica-5kOz3lTP.js} +14 -23
- package/dist/core/{Vibrance-CDeIsI81.js → Vibrance-B0y3zjRl.js} +18 -45
- package/dist/core/{VideoTexture-UIOWDMK6.js → VideoTexture-COYSXvPe.js} +3 -3
- package/dist/core/{Vignette-F2HgCda5.js → Vignette-BD_9PM6J.js} +23 -56
- package/dist/core/{Voronoi-DsHYdzB3.js → Voronoi-DIpQvBqc.js} +21 -46
- package/dist/core/{Water-T5GXFBCm.js → Water-D6Y7PaqY.js} +179 -639
- package/dist/core/{Watercolor-yog8LZOs.js → Watercolor-gXjW0cmP.js} +59 -184
- package/dist/core/{WaveDistortion-BWVqDVI3.js → WaveDistortion-CFVOiujJ.js} +84 -178
- package/dist/core/{WaveletNoise-pL_M8jha.js → WaveletNoise-Bm_C1dRt.js} +15 -24
- package/dist/core/{Weave-kQlWbHa6.js → Weave-a9i8xeTZ.js} +34 -74
- package/dist/core/{WebcamTexture-Barzo30S.js → WebcamTexture-BFP7WQuM.js} +13 -22
- package/dist/core/{Wool-CYzG-VrW.js → Wool-BwM9vbek.js} +2 -2
- package/dist/core/{WorleyNoise-Cju8qU_5.js → WorleyNoise-DsKMQk7S.js} +30 -56
- package/dist/core/{ZoomBlur-DqJUm1uw.js → ZoomBlur-DiEaGrqE.js} +10 -19
- package/dist/core/{aa-zeNRf4Lz.js → aa-C759fSpb.js} +108 -277
- package/dist/core/{agents-C_kohsYu.js → agents-BrNOCcxk.js} +246 -298
- package/dist/core/{bevel-ogqjoZKV.js → bevel-1wa44FF7.js} +14 -34
- package/dist/core/{blur-CZuIxzX6.js → blur-fsxhpklK.js} +314 -925
- package/dist/core/{cells-C72CLFsJ.js → cells-CmYMp4aV.js} +92 -191
- package/dist/core/{cellular-qYnxKdPx.js → cellular-7Xgxfk7O.js} +134 -385
- package/dist/core/derivative-p1TouwZG.js +93 -0
- package/dist/core/{device-B0ZwBfOg.js → device-DWPzs8TD.js} +528 -778
- package/dist/core/{edges-CD7gCAto.js → edges-BvIjDyJK.js} +11467 -13731
- package/dist/core/{fields-DgMkoZ6o.js → fields-DORoQP7V.js} +96 -260
- package/dist/core/{geom-B_TNdMNk.js → geom-D1eEB6WE.js} +110 -219
- package/dist/core/{glass-D8xs_kIG.js → glass-DEHkelE5.js} +164 -391
- package/dist/core/index.js +253 -246
- package/dist/core/{lightfields-ffHoLyJn.js → lightfields-Btxs_pA3.js} +125 -320
- package/dist/core/{lighting-D3jc6qOc.js → lighting-CT_di0hW.js} +111 -248
- package/dist/core/{media-fQMXfvXd.js → media-B4AiE8Wu.js} +63 -141
- package/dist/core/{mediaLifecycle-yHZ8w5aj.js → mediaLifecycle-DHrjB2zB.js} +1 -1
- package/dist/core/{noise-DX5Y_I--.js → noise-Be9_Xz5F.js} +939 -2742
- package/dist/core/{noiseColor-DYhX5Js1.js → noiseColor-CCePJCFN.js} +3 -3
- package/dist/core/{noiseColor-DRDY44sf.js → noiseColor-D0SCfBYp.js} +2 -2
- package/dist/core/{noiseStylize-BZD5cOJl.js → noiseStylize-B7Mis4X3.js} +20 -35
- package/dist/core/{porters-DUtQounc.js → porters-BnG6v9YC.js} +762 -2282
- package/dist/core/{propConfigs-k3hs8KYL.js → propConfigs-CvzF7Ot8.js} +1 -1
- package/dist/core/registry.js +225 -224
- package/dist/core/{reveal-DhktaT1C.js → reveal-BPF3DkX1.js} +99 -258
- package/dist/core/{sdf3d-CP87OlsQ.js → sdf3d-OWBwV8hi.js} +931 -3004
- package/dist/core/shaderRegistry-CnWd3DKN.js +433 -0
- package/dist/core/shaders/AngularBlur/index.js +8 -8
- package/dist/core/shaders/Arc/index.js +7 -7
- package/dist/core/shaders/Ascii/index.js +9 -9
- package/dist/core/shaders/Aurora/index.js +11 -10
- package/dist/core/shaders/BarShift/index.js +8 -8
- package/dist/core/shaders/BarnDoors/index.js +9 -9
- package/dist/core/shaders/Beam/index.js +10 -10
- package/dist/core/shaders/Bend/index.js +8 -8
- package/dist/core/shaders/Blob/index.js +7 -7
- package/dist/core/shaders/BlockDissolve/index.js +11 -10
- package/dist/core/shaders/BlockNoise/index.js +15 -14
- package/dist/core/shaders/BlueNoise/index.js +15 -14
- package/dist/core/shaders/Blur/index.js +8 -8
- package/dist/core/shaders/Boids/index.js +11 -10
- package/dist/core/shaders/BokehBlur/index.js +9 -9
- package/dist/core/shaders/BrickPattern/index.js +12 -11
- package/dist/core/shaders/BrightnessContrast/index.js +7 -7
- package/dist/core/shaders/BrushedMetal/index.js +14 -13
- package/dist/core/shaders/Bulge/index.js +7 -7
- package/dist/core/shaders/CRTScreen/index.js +7 -7
- package/dist/core/shaders/CarbonFiber/index.js +14 -13
- package/dist/core/shaders/Chalkboard/index.js +9 -8
- package/dist/core/shaders/ChannelBlur/index.js +8 -8
- package/dist/core/shaders/CheckerWipe/index.js +9 -9
- package/dist/core/shaders/Checkerboard/index.js +10 -9
- package/dist/core/shaders/Chevron/index.js +10 -9
- package/dist/core/shaders/ChromaFlow/index.js +7 -7
- package/dist/core/shaders/ChromaticAberration/index.js +7 -7
- package/dist/core/shaders/Chrome/index.js +14 -13
- package/dist/core/shaders/Circle/index.js +7 -7
- package/dist/core/shaders/ColorWheel/index.js +9 -9
- package/dist/core/shaders/CompressionArtifacts/index.js +7 -7
- package/dist/core/shaders/ConcentricSpin/index.js +8 -8
- package/dist/core/shaders/ConicGradient/index.js +11 -11
- package/dist/core/shaders/ContourLines/index.js +9 -8
- package/dist/core/shaders/CornerPin/index.js +7 -7
- package/dist/core/shaders/Crescent/index.js +7 -7
- package/dist/core/shaders/Cross/index.js +7 -7
- package/dist/core/shaders/Crystal/index.js +13 -12
- package/dist/core/shaders/CurlNoise/index.js +15 -14
- package/dist/core/shaders/CursorRipples/index.js +8 -8
- package/dist/core/shaders/CursorTrail/index.js +8 -8
- package/dist/core/shaders/DataMosh/index.js +9 -8
- package/dist/core/shaders/DiamondGradient/index.js +11 -11
- package/dist/core/shaders/DiamondWipe/index.js +9 -9
- package/dist/core/shaders/DiffuseBlur/index.js +9 -8
- package/dist/core/shaders/DisplacementMap/index.js +8 -8
- package/dist/core/shaders/Dither/index.js +9 -8
- package/dist/core/shaders/DotGrid/index.js +12 -11
- package/dist/core/shaders/DropShadow/index.js +9 -9
- package/dist/core/shaders/Duotone/index.js +7 -7
- package/dist/core/shaders/Ellipse/index.js +7 -7
- package/dist/core/shaders/Emboss/index.js +9 -9
- package/dist/core/shaders/Engraving/index.js +10 -9
- package/dist/core/shaders/ErosionNoise/index.js +15 -14
- package/dist/core/shaders/Exposure/index.js +7 -7
- package/dist/core/shaders/FallingLines/index.js +10 -9
- package/dist/core/shaders/FilmGrain/index.js +9 -8
- package/dist/core/shaders/FilmStock/index.js +8 -8
- package/dist/core/shaders/Flip/index.js +7 -7
- package/dist/core/shaders/FloatingParticles/index.js +11 -10
- package/dist/core/shaders/FlowField/index.js +10 -9
- package/dist/core/shaders/Flower/index.js +7 -7
- package/dist/core/shaders/FlowingGradient/index.js +10 -9
- package/dist/core/shaders/FlutedGlass/index.js +8 -8
- package/dist/core/shaders/Fog/index.js +11 -10
- package/dist/core/shaders/Form3D/index.js +8 -8
- package/dist/core/shaders/FractalNoise/index.js +14 -13
- package/dist/core/shaders/Frost/index.js +13 -12
- package/dist/core/shaders/GaborNoise/index.js +15 -14
- package/dist/core/shaders/Glass/index.js +10 -10
- package/dist/core/shaders/GlassTiles/index.js +8 -8
- package/dist/core/shaders/Glitch/index.js +9 -8
- package/dist/core/shaders/Glow/index.js +8 -8
- package/dist/core/shaders/Godrays/index.js +12 -11
- package/dist/core/shaders/Goo/index.js +10 -10
- package/dist/core/shaders/GradientMap/index.js +8 -8
- package/dist/core/shaders/Grayscale/index.js +7 -7
- package/dist/core/shaders/Grid/index.js +12 -11
- package/dist/core/shaders/GridDistortion/index.js +7 -7
- package/dist/core/shaders/Group/index.js +7 -7
- package/dist/core/shaders/HTMLInCanvas/index.js +8 -8
- package/dist/core/shaders/Halftone/index.js +8 -8
- package/dist/core/shaders/Heart/index.js +7 -7
- package/dist/core/shaders/Heatmap/index.js +12 -11
- package/dist/core/shaders/HexGrid/index.js +12 -11
- package/dist/core/shaders/Hologram/index.js +12 -11
- package/dist/core/shaders/Holographic/index.js +13 -12
- package/dist/core/shaders/HueShift/index.js +8 -8
- package/dist/core/shaders/ImageTexture/index.js +7 -7
- package/dist/core/shaders/InkFlow/index.js +8 -8
- package/dist/core/shaders/Invert/index.js +7 -7
- package/dist/core/shaders/IrisWipe/index.js +9 -9
- package/dist/core/shaders/IsometricCubes/index.js +12 -11
- package/dist/core/shaders/Kaleidoscope/index.js +8 -8
- package/dist/core/shaders/KeyFrames/index.js +8 -8
- package/dist/core/shaders/LensDistortion/index.js +7 -7
- package/dist/core/shaders/LensFlare/index.js +11 -11
- package/dist/core/shaders/LightEdge/index.js +12 -11
- package/dist/core/shaders/LightLeak/index.js +12 -11
- package/dist/core/shaders/Line/index.js +7 -7
- package/dist/core/shaders/LinearBlur/index.js +9 -9
- package/dist/core/shaders/LinearGradient/index.js +9 -9
- package/dist/core/shaders/LinearWipe/index.js +9 -9
- package/dist/core/shaders/LiquidMetal/index.js +14 -13
- package/dist/core/shaders/Liquify/index.js +7 -7
- package/dist/core/shaders/MagneticFilings/index.js +11 -10
- package/dist/core/shaders/Marble/index.js +11 -10
- package/dist/core/shaders/MeshGradient/index.js +15 -14
- package/dist/core/shaders/Mirror/index.js +8 -8
- package/dist/core/shaders/MultiPointGradient/index.js +8 -8
- package/dist/core/shaders/Neon/index.js +7 -7
- package/dist/core/shaders/NoiseDissolve/index.js +11 -10
- package/dist/core/shaders/ObjectTracker/index.js +10 -10
- package/dist/core/shaders/PagePeel/index.js +8 -8
- package/dist/core/shaders/Paper/index.js +9 -8
- package/dist/core/shaders/Parallelogram/index.js +7 -7
- package/dist/core/shaders/ParticleField/index.js +11 -10
- package/dist/core/shaders/ParticleFlow/index.js +11 -10
- package/dist/core/shaders/Particles/index.js +12 -11
- package/dist/core/shaders/PerlinNoise/index.js +15 -14
- package/dist/core/shaders/Perspective/index.js +8 -8
- package/dist/core/shaders/PixelSort/index.js +9 -8
- package/dist/core/shaders/PixelThrow/index.js +7 -7
- package/dist/core/shaders/Pixelate/index.js +7 -7
- package/dist/core/shaders/Plasma/index.js +14 -13
- package/dist/core/shaders/Plastic/index.js +13 -12
- package/dist/core/shaders/PolarCoordinates/index.js +8 -8
- package/dist/core/shaders/Polygon/index.js +7 -7
- package/dist/core/shaders/Posterize/index.js +7 -7
- package/dist/core/shaders/Prism/index.js +7 -7
- package/dist/core/shaders/ProgressiveBlur/index.js +9 -9
- package/dist/core/shaders/RadialGradient/index.js +11 -11
- package/dist/core/shaders/RadialWipe/index.js +9 -9
- package/dist/core/shaders/RandomBars/index.js +11 -10
- package/dist/core/shaders/ReactionDiffusion/index.js +11 -10
- package/dist/core/shaders/RectangularCoordinates/index.js +8 -8
- package/dist/core/shaders/ReflectivePlane/index.js +8 -8
- package/dist/core/shaders/Repeater/index.js +7 -7
- package/dist/core/shaders/Ring/index.js +7 -7
- package/dist/core/shaders/RippleWipe/index.js +9 -9
- package/dist/core/shaders/Ripples/index.js +7 -7
- package/dist/core/shaders/RoundedRect/index.js +7 -7
- package/dist/core/shaders/Saturation/index.js +7 -7
- package/dist/core/shaders/Scratches/index.js +12 -11
- package/dist/core/shaders/Sharpness/index.js +7 -7
- package/dist/core/shaders/Shatter/index.js +7 -7
- package/dist/core/shaders/SimplexNoise/index.js +15 -14
- package/dist/core/shaders/SineWave/index.js +8 -8
- package/dist/core/shaders/SliceWipe/index.js +8 -8
- package/dist/core/shaders/Smoke/index.js +8 -8
- package/dist/core/shaders/SmokeFill/index.js +10 -10
- package/dist/core/shaders/SmokeFlow/index.js +8 -8
- package/dist/core/shaders/Solarize/index.js +7 -7
- package/dist/core/shaders/SolidColor/index.js +2 -2
- package/dist/core/shaders/Spherize/index.js +7 -7
- package/dist/core/shaders/Spiral/index.js +9 -8
- package/dist/core/shaders/Star/index.js +7 -7
- package/dist/core/shaders/Stone/index.js +6 -5
- package/dist/core/shaders/Strands/index.js +8 -8
- package/dist/core/shaders/Stretch/index.js +8 -8
- package/dist/core/shaders/Stripes/index.js +11 -10
- package/dist/core/shaders/StudioBackground/index.js +10 -10
- package/dist/core/shaders/SunBurst/index.js +10 -10
- package/dist/core/shaders/Surface3D/index.js +10 -9
- package/dist/core/shaders/Swirl/index.js +7 -7
- package/dist/core/shaders/Teardrop/index.js +7 -7
- package/dist/core/shaders/Text/index.js +11 -11
- package/dist/core/shaders/ThinFilm/index.js +9 -9
- package/dist/core/shaders/TiltShift/index.js +9 -9
- package/dist/core/shaders/TimeTrail/index.js +7 -7
- package/dist/core/shaders/Tint/index.js +7 -7
- package/dist/core/shaders/Trapezoid/index.js +7 -7
- package/dist/core/shaders/TriangularGrid/index.js +12 -11
- package/dist/core/shaders/Tritone/index.js +7 -7
- package/dist/core/shaders/Truchet/index.js +12 -11
- package/dist/core/shaders/Twirl/index.js +7 -7
- package/dist/core/shaders/VHS/index.js +9 -8
- package/dist/core/shaders/VenetianBlinds/index.js +9 -9
- package/dist/core/shaders/Vesica/index.js +7 -7
- package/dist/core/shaders/Vibrance/index.js +7 -7
- package/dist/core/shaders/VideoTexture/index.js +7 -7
- package/dist/core/shaders/Vignette/index.js +7 -7
- package/dist/core/shaders/Voronoi/index.js +12 -12
- package/dist/core/shaders/Water/index.js +13 -12
- package/dist/core/shaders/Watercolor/index.js +9 -8
- package/dist/core/shaders/WaveDistortion/index.js +8 -8
- package/dist/core/shaders/WaveletNoise/index.js +15 -14
- package/dist/core/shaders/Weave/index.js +12 -11
- package/dist/core/shaders/WebcamTexture/index.js +9 -9
- package/dist/core/shaders/Wool/index.js +6 -5
- package/dist/core/shaders/WorleyNoise/index.js +13 -13
- package/dist/core/shaders/ZoomBlur/index.js +8 -8
- package/dist/core/telemetry/index.js +1 -1
- package/dist/core/{tone-DPUvX6X0.js → tone-DgOOeWNY.js} +67 -137
- package/dist/core/utilities/transformations/index.js +1 -1
- package/dist/js/bundle.js +202 -187
- package/dist/js/createShader.js +1 -1
- package/dist/react/Shader.js +1 -1
- package/dist/react/bundle.js +198 -183
- package/dist/solid/engine/Shader.js +1 -1
- package/dist/svelte/index.js +1 -1
- package/dist/vue/Shader.vue_vue_type_script_setup_true_lang.js +1 -1
- package/package.json +2 -2
- package/dist/core/shaderRegistry-BIDNV71c.js +0 -433
- /package/dist/core/{canvasRaster-BB2bNhS7.js → canvasRaster-B41z007g.js} +0 -0
- /package/dist/core/{constants-DoOzbl5b.js → constants-BKlzQFdJ.js} +0 -0
- /package/dist/core/{fonts-DPf2-jCd.js → fonts-BMxmjoBM.js} +0 -0
- /package/dist/core/{pointer-DGDGF-yO.js → pointer-DKBz1Qcc.js} +0 -0
- /package/dist/core/{support-6QRFK3xB.js → support-DVuLvN48.js} +0 -0
- /package/dist/core/{transformations-B-zNWNdd.js → transformations-u-UZrXjj.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { a as transformColor, s as transformEdges } from "./transformations-
|
|
1
|
+
import { Dt as sin, Ft as vec3f, Gt as textureStorage2d, Kt as arrayOf, Lt as vec4f, Mt as vec2f, Ot as smoothstep, P as unpremultiplyAlpha, Pt as vec2u, _t as max, b as vec4, bt as normalize, ct as clamp, d as ZERO, dt as dot, et as typegpu_default, ft as exp, i as edgeMirrorUV, it as abs, ln as u32, lt as cos, m as call, mt as floor, o as edgeWrapUV, pt as exp2, qt as struct, rt as select, sn as f32, vt as min, xt as pow, yt as mix } from "./edges-BvIjDyJK.js";
|
|
2
|
+
import { M as createGuardedCompute, N as createPingPongPair, P as createStateBuffer, R as textureStore, t as isMobileGpuViewport } from "./device-DWPzs8TD.js";
|
|
3
|
+
import { s as TWO_PI$1, t as DEG_TO_RAD$1 } from "./constants-BKlzQFdJ.js";
|
|
4
|
+
import { d as mxNoiseFloat2 } from "./noise-Be9_Xz5F.js";
|
|
5
|
+
import { a as transformColor, s as transformEdges } from "./transformations-u-UZrXjj.js";
|
|
6
6
|
var WAVE_GRID = 256;
|
|
7
7
|
var WAVE_CELLS = WAVE_GRID * WAVE_GRID;
|
|
8
8
|
var WAVE_MAX = WAVE_GRID - 1;
|
|
@@ -54,7 +54,7 @@ var S3Params = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(s
|
|
|
54
54
|
heightEnvelope: f32,
|
|
55
55
|
cursorActive: f32
|
|
56
56
|
}), "S3Params");
|
|
57
|
-
var propagateLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(
|
|
57
|
+
var propagateLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(typegpu_default.bindGroupLayout({
|
|
58
58
|
readSrc: {
|
|
59
59
|
storage: arrayOf(f32, WAVE_CELLS),
|
|
60
60
|
access: "readonly"
|
|
@@ -69,7 +69,7 @@ var propagateLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) =
|
|
|
69
69
|
},
|
|
70
70
|
params: { uniform: S3Params }
|
|
71
71
|
}), "propagateLayout");
|
|
72
|
-
var computeLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(
|
|
72
|
+
var computeLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) => a))(typegpu_default.bindGroupLayout({
|
|
73
73
|
readBuf: {
|
|
74
74
|
storage: arrayOf(f32, WAVE_CELLS),
|
|
75
75
|
access: "readonly"
|
|
@@ -80,7 +80,7 @@ var computeLayout = /* @__PURE__ */ (globalThis.__TYPEGPU_AUTONAME__ ?? ((a) =>
|
|
|
80
80
|
}), "computeLayout");
|
|
81
81
|
function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
82
82
|
const invTotalWeight = 1 / (2 - Math.pow(.5, Math.max(octaveCount, 1) - 1));
|
|
83
|
-
return
|
|
83
|
+
return typegpu_default.fn([vec2f], f32)(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((uv) => {
|
|
84
84
|
"use gpu";
|
|
85
85
|
const p = computeLayout.$.params;
|
|
86
86
|
const u = uv.x;
|
|
@@ -164,7 +164,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
164
164
|
return __tsover_add(baseHeight, ripple);
|
|
165
165
|
} else return baseHeight;
|
|
166
166
|
}), {
|
|
167
|
-
v:
|
|
167
|
+
v: 2,
|
|
168
168
|
name: void 0,
|
|
169
169
|
ast: {
|
|
170
170
|
"params": [{
|
|
@@ -235,11 +235,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
235
235
|
"waveVal",
|
|
236
236
|
[
|
|
237
237
|
6,
|
|
238
|
-
|
|
239
|
-
7,
|
|
240
|
-
"d",
|
|
241
|
-
"f32"
|
|
242
|
-
],
|
|
238
|
+
"d.f32",
|
|
243
239
|
[[5, "0"]]
|
|
244
240
|
]
|
|
245
241
|
],
|
|
@@ -257,11 +253,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
257
253
|
"accSin",
|
|
258
254
|
[
|
|
259
255
|
6,
|
|
260
|
-
|
|
261
|
-
7,
|
|
262
|
-
"d",
|
|
263
|
-
"f32"
|
|
264
|
-
],
|
|
256
|
+
"d.f32",
|
|
265
257
|
[[5, "0"]]
|
|
266
258
|
]
|
|
267
259
|
],
|
|
@@ -289,11 +281,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
289
281
|
"iF",
|
|
290
282
|
[
|
|
291
283
|
6,
|
|
292
|
-
|
|
293
|
-
7,
|
|
294
|
-
"d",
|
|
295
|
-
"f32"
|
|
296
|
-
],
|
|
284
|
+
"d.f32",
|
|
297
285
|
["i"]
|
|
298
286
|
]
|
|
299
287
|
],
|
|
@@ -302,11 +290,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
302
290
|
"scale",
|
|
303
291
|
[
|
|
304
292
|
6,
|
|
305
|
-
|
|
306
|
-
7,
|
|
307
|
-
"std",
|
|
308
|
-
"exp2"
|
|
309
|
-
],
|
|
293
|
+
"std.exp2",
|
|
310
294
|
["iF"]
|
|
311
295
|
]
|
|
312
296
|
],
|
|
@@ -315,11 +299,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
315
299
|
"weight",
|
|
316
300
|
[
|
|
317
301
|
6,
|
|
318
|
-
|
|
319
|
-
7,
|
|
320
|
-
"std",
|
|
321
|
-
"exp2"
|
|
322
|
-
],
|
|
302
|
+
"std.exp2",
|
|
323
303
|
[[
|
|
324
304
|
1,
|
|
325
305
|
"iF",
|
|
@@ -337,11 +317,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
337
317
|
"cu",
|
|
338
318
|
[
|
|
339
319
|
6,
|
|
340
|
-
|
|
341
|
-
7,
|
|
342
|
-
"std",
|
|
343
|
-
"cos"
|
|
344
|
-
],
|
|
320
|
+
"std.cos",
|
|
345
321
|
[[
|
|
346
322
|
1,
|
|
347
323
|
"iF",
|
|
@@ -355,11 +331,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
355
331
|
"su",
|
|
356
332
|
[
|
|
357
333
|
6,
|
|
358
|
-
|
|
359
|
-
7,
|
|
360
|
-
"std",
|
|
361
|
-
"sin"
|
|
362
|
-
],
|
|
334
|
+
"std.sin",
|
|
363
335
|
[[
|
|
364
336
|
1,
|
|
365
337
|
"iF",
|
|
@@ -464,11 +436,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
464
436
|
1,
|
|
465
437
|
[
|
|
466
438
|
6,
|
|
467
|
-
|
|
468
|
-
7,
|
|
469
|
-
"std",
|
|
470
|
-
"sin"
|
|
471
|
-
],
|
|
439
|
+
"std.sin",
|
|
472
440
|
["phase"]
|
|
473
441
|
],
|
|
474
442
|
"*",
|
|
@@ -504,11 +472,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
504
472
|
"accR",
|
|
505
473
|
[
|
|
506
474
|
6,
|
|
507
|
-
|
|
508
|
-
7,
|
|
509
|
-
"d",
|
|
510
|
-
"f32"
|
|
511
|
-
],
|
|
475
|
+
"d.f32",
|
|
512
476
|
[[5, "0"]]
|
|
513
477
|
]
|
|
514
478
|
],
|
|
@@ -536,11 +500,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
536
500
|
"iF",
|
|
537
501
|
[
|
|
538
502
|
6,
|
|
539
|
-
|
|
540
|
-
7,
|
|
541
|
-
"d",
|
|
542
|
-
"f32"
|
|
543
|
-
],
|
|
503
|
+
"d.f32",
|
|
544
504
|
["i"]
|
|
545
505
|
]
|
|
546
506
|
],
|
|
@@ -549,11 +509,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
549
509
|
"scale",
|
|
550
510
|
[
|
|
551
511
|
6,
|
|
552
|
-
|
|
553
|
-
7,
|
|
554
|
-
"std",
|
|
555
|
-
"exp2"
|
|
556
|
-
],
|
|
512
|
+
"std.exp2",
|
|
557
513
|
["iF"]
|
|
558
514
|
]
|
|
559
515
|
],
|
|
@@ -562,11 +518,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
562
518
|
"weight",
|
|
563
519
|
[
|
|
564
520
|
6,
|
|
565
|
-
|
|
566
|
-
7,
|
|
567
|
-
"std",
|
|
568
|
-
"exp2"
|
|
569
|
-
],
|
|
521
|
+
"std.exp2",
|
|
570
522
|
[[
|
|
571
523
|
1,
|
|
572
524
|
"iF",
|
|
@@ -584,11 +536,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
584
536
|
"driftX",
|
|
585
537
|
[
|
|
586
538
|
6,
|
|
587
|
-
|
|
588
|
-
7,
|
|
589
|
-
"std",
|
|
590
|
-
"cos"
|
|
591
|
-
],
|
|
539
|
+
"std.cos",
|
|
592
540
|
[[
|
|
593
541
|
1,
|
|
594
542
|
"iF",
|
|
@@ -602,11 +550,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
602
550
|
"driftY",
|
|
603
551
|
[
|
|
604
552
|
6,
|
|
605
|
-
|
|
606
|
-
7,
|
|
607
|
-
"std",
|
|
608
|
-
"sin"
|
|
609
|
-
],
|
|
553
|
+
"std.sin",
|
|
610
554
|
[[
|
|
611
555
|
1,
|
|
612
556
|
"iF",
|
|
@@ -620,11 +564,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
620
564
|
"coord",
|
|
621
565
|
[
|
|
622
566
|
6,
|
|
623
|
-
|
|
624
|
-
7,
|
|
625
|
-
"d",
|
|
626
|
-
"vec2f"
|
|
627
|
-
],
|
|
567
|
+
"d.vec2f",
|
|
628
568
|
[[
|
|
629
569
|
1,
|
|
630
570
|
[
|
|
@@ -713,11 +653,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
713
653
|
1,
|
|
714
654
|
[
|
|
715
655
|
6,
|
|
716
|
-
|
|
717
|
-
7,
|
|
718
|
-
"noise",
|
|
719
|
-
"mxNoiseFloat2"
|
|
720
|
-
],
|
|
656
|
+
"noise.mxNoiseFloat2",
|
|
721
657
|
["coord"]
|
|
722
658
|
],
|
|
723
659
|
"*",
|
|
@@ -751,11 +687,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
751
687
|
"-",
|
|
752
688
|
[
|
|
753
689
|
6,
|
|
754
|
-
|
|
755
|
-
7,
|
|
756
|
-
"std",
|
|
757
|
-
"abs"
|
|
758
|
-
],
|
|
690
|
+
"std.abs",
|
|
759
691
|
["n"]
|
|
760
692
|
]
|
|
761
693
|
],
|
|
@@ -783,18 +715,10 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
783
715
|
"wx",
|
|
784
716
|
[
|
|
785
717
|
6,
|
|
786
|
-
|
|
787
|
-
7,
|
|
788
|
-
"noise",
|
|
789
|
-
"mxNoiseFloat2"
|
|
790
|
-
],
|
|
718
|
+
"noise.mxNoiseFloat2",
|
|
791
719
|
[[
|
|
792
720
|
6,
|
|
793
|
-
|
|
794
|
-
7,
|
|
795
|
-
"d",
|
|
796
|
-
"vec2f"
|
|
797
|
-
],
|
|
721
|
+
"d.vec2f",
|
|
798
722
|
[[
|
|
799
723
|
1,
|
|
800
724
|
[
|
|
@@ -843,18 +767,10 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
843
767
|
"wy",
|
|
844
768
|
[
|
|
845
769
|
6,
|
|
846
|
-
|
|
847
|
-
7,
|
|
848
|
-
"noise",
|
|
849
|
-
"mxNoiseFloat2"
|
|
850
|
-
],
|
|
770
|
+
"noise.mxNoiseFloat2",
|
|
851
771
|
[[
|
|
852
772
|
6,
|
|
853
|
-
|
|
854
|
-
7,
|
|
855
|
-
"d",
|
|
856
|
-
"vec2f"
|
|
857
|
-
],
|
|
773
|
+
"d.vec2f",
|
|
858
774
|
[[
|
|
859
775
|
1,
|
|
860
776
|
[
|
|
@@ -938,11 +854,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
938
854
|
"accW",
|
|
939
855
|
[
|
|
940
856
|
6,
|
|
941
|
-
|
|
942
|
-
7,
|
|
943
|
-
"d",
|
|
944
|
-
"f32"
|
|
945
|
-
],
|
|
857
|
+
"d.f32",
|
|
946
858
|
[[5, "0"]]
|
|
947
859
|
]
|
|
948
860
|
],
|
|
@@ -970,11 +882,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
970
882
|
"iF",
|
|
971
883
|
[
|
|
972
884
|
6,
|
|
973
|
-
|
|
974
|
-
7,
|
|
975
|
-
"d",
|
|
976
|
-
"f32"
|
|
977
|
-
],
|
|
885
|
+
"d.f32",
|
|
978
886
|
["i"]
|
|
979
887
|
]
|
|
980
888
|
],
|
|
@@ -983,11 +891,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
983
891
|
"scale",
|
|
984
892
|
[
|
|
985
893
|
6,
|
|
986
|
-
|
|
987
|
-
7,
|
|
988
|
-
"std",
|
|
989
|
-
"exp2"
|
|
990
|
-
],
|
|
894
|
+
"std.exp2",
|
|
991
895
|
["iF"]
|
|
992
896
|
]
|
|
993
897
|
],
|
|
@@ -996,11 +900,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
996
900
|
"weight",
|
|
997
901
|
[
|
|
998
902
|
6,
|
|
999
|
-
|
|
1000
|
-
7,
|
|
1001
|
-
"std",
|
|
1002
|
-
"exp2"
|
|
1003
|
-
],
|
|
903
|
+
"std.exp2",
|
|
1004
904
|
[[
|
|
1005
905
|
1,
|
|
1006
906
|
"iF",
|
|
@@ -1018,11 +918,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1018
918
|
"driftX",
|
|
1019
919
|
[
|
|
1020
920
|
6,
|
|
1021
|
-
|
|
1022
|
-
7,
|
|
1023
|
-
"std",
|
|
1024
|
-
"cos"
|
|
1025
|
-
],
|
|
921
|
+
"std.cos",
|
|
1026
922
|
[[
|
|
1027
923
|
1,
|
|
1028
924
|
"iF",
|
|
@@ -1036,11 +932,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1036
932
|
"driftY",
|
|
1037
933
|
[
|
|
1038
934
|
6,
|
|
1039
|
-
|
|
1040
|
-
7,
|
|
1041
|
-
"std",
|
|
1042
|
-
"sin"
|
|
1043
|
-
],
|
|
935
|
+
"std.sin",
|
|
1044
936
|
[[
|
|
1045
937
|
1,
|
|
1046
938
|
"iF",
|
|
@@ -1054,11 +946,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1054
946
|
"coord",
|
|
1055
947
|
[
|
|
1056
948
|
6,
|
|
1057
|
-
|
|
1058
|
-
7,
|
|
1059
|
-
"d",
|
|
1060
|
-
"vec2f"
|
|
1061
|
-
],
|
|
949
|
+
"d.vec2f",
|
|
1062
950
|
[[
|
|
1063
951
|
1,
|
|
1064
952
|
[
|
|
@@ -1147,11 +1035,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1147
1035
|
1,
|
|
1148
1036
|
[
|
|
1149
1037
|
6,
|
|
1150
|
-
|
|
1151
|
-
7,
|
|
1152
|
-
"noise",
|
|
1153
|
-
"mxNoiseFloat2"
|
|
1154
|
-
],
|
|
1038
|
+
"noise.mxNoiseFloat2",
|
|
1155
1039
|
["coord"]
|
|
1156
1040
|
],
|
|
1157
1041
|
"*",
|
|
@@ -1210,26 +1094,14 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1210
1094
|
"inner",
|
|
1211
1095
|
[
|
|
1212
1096
|
6,
|
|
1213
|
-
|
|
1214
|
-
7,
|
|
1215
|
-
"std",
|
|
1216
|
-
"max"
|
|
1217
|
-
],
|
|
1097
|
+
"std.max",
|
|
1218
1098
|
[[
|
|
1219
1099
|
6,
|
|
1220
|
-
|
|
1221
|
-
7,
|
|
1222
|
-
"std",
|
|
1223
|
-
"abs"
|
|
1224
|
-
],
|
|
1100
|
+
"std.abs",
|
|
1225
1101
|
["cu"]
|
|
1226
1102
|
], [
|
|
1227
1103
|
6,
|
|
1228
|
-
|
|
1229
|
-
7,
|
|
1230
|
-
"std",
|
|
1231
|
-
"abs"
|
|
1232
|
-
],
|
|
1104
|
+
"std.abs",
|
|
1233
1105
|
["cv"]
|
|
1234
1106
|
]]
|
|
1235
1107
|
]
|
|
@@ -1239,11 +1111,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1239
1111
|
"pinFalloff",
|
|
1240
1112
|
[
|
|
1241
1113
|
6,
|
|
1242
|
-
|
|
1243
|
-
7,
|
|
1244
|
-
"std",
|
|
1245
|
-
"smoothstep"
|
|
1246
|
-
],
|
|
1114
|
+
"std.smoothstep",
|
|
1247
1115
|
[
|
|
1248
1116
|
[5, "0.6"],
|
|
1249
1117
|
[5, "1"],
|
|
@@ -1256,19 +1124,11 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1256
1124
|
"pinMask",
|
|
1257
1125
|
[
|
|
1258
1126
|
6,
|
|
1259
|
-
|
|
1260
|
-
7,
|
|
1261
|
-
"std",
|
|
1262
|
-
"mix"
|
|
1263
|
-
],
|
|
1127
|
+
"std.mix",
|
|
1264
1128
|
[
|
|
1265
1129
|
[
|
|
1266
1130
|
6,
|
|
1267
|
-
|
|
1268
|
-
7,
|
|
1269
|
-
"d",
|
|
1270
|
-
"f32"
|
|
1271
|
-
],
|
|
1131
|
+
"d.f32",
|
|
1272
1132
|
[[5, "1"]]
|
|
1273
1133
|
],
|
|
1274
1134
|
[
|
|
@@ -1309,11 +1169,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1309
1169
|
"ripple",
|
|
1310
1170
|
[
|
|
1311
1171
|
6,
|
|
1312
|
-
|
|
1313
|
-
7,
|
|
1314
|
-
"d",
|
|
1315
|
-
"f32"
|
|
1316
|
-
],
|
|
1172
|
+
"d.f32",
|
|
1317
1173
|
[[5, "0"]]
|
|
1318
1174
|
]
|
|
1319
1175
|
],
|
|
@@ -1335,11 +1191,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1335
1191
|
"H",
|
|
1336
1192
|
[
|
|
1337
1193
|
6,
|
|
1338
|
-
|
|
1339
|
-
7,
|
|
1340
|
-
"d",
|
|
1341
|
-
"f32"
|
|
1342
|
-
],
|
|
1194
|
+
"d.f32",
|
|
1343
1195
|
["WAVE_HALFEXTENT"]
|
|
1344
1196
|
]
|
|
1345
1197
|
],
|
|
@@ -1396,11 +1248,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1396
1248
|
"Nm1",
|
|
1397
1249
|
[
|
|
1398
1250
|
6,
|
|
1399
|
-
|
|
1400
|
-
7,
|
|
1401
|
-
"d",
|
|
1402
|
-
"f32"
|
|
1403
|
-
],
|
|
1251
|
+
"d.f32",
|
|
1404
1252
|
["WAVE_MAX"]
|
|
1405
1253
|
]
|
|
1406
1254
|
],
|
|
@@ -1411,11 +1259,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1411
1259
|
1,
|
|
1412
1260
|
[
|
|
1413
1261
|
6,
|
|
1414
|
-
|
|
1415
|
-
7,
|
|
1416
|
-
"std",
|
|
1417
|
-
"clamp"
|
|
1418
|
-
],
|
|
1262
|
+
"std.clamp",
|
|
1419
1263
|
[
|
|
1420
1264
|
"waveU",
|
|
1421
1265
|
[5, "0"],
|
|
@@ -1433,11 +1277,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1433
1277
|
1,
|
|
1434
1278
|
[
|
|
1435
1279
|
6,
|
|
1436
|
-
|
|
1437
|
-
7,
|
|
1438
|
-
"std",
|
|
1439
|
-
"clamp"
|
|
1440
|
-
],
|
|
1280
|
+
"std.clamp",
|
|
1441
1281
|
[
|
|
1442
1282
|
"waveV",
|
|
1443
1283
|
[5, "0"],
|
|
@@ -1453,18 +1293,10 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1453
1293
|
"ix",
|
|
1454
1294
|
[
|
|
1455
1295
|
6,
|
|
1456
|
-
|
|
1457
|
-
7,
|
|
1458
|
-
"d",
|
|
1459
|
-
"u32"
|
|
1460
|
-
],
|
|
1296
|
+
"d.u32",
|
|
1461
1297
|
[[
|
|
1462
1298
|
6,
|
|
1463
|
-
|
|
1464
|
-
7,
|
|
1465
|
-
"std",
|
|
1466
|
-
"clamp"
|
|
1467
|
-
],
|
|
1299
|
+
"std.clamp",
|
|
1468
1300
|
[
|
|
1469
1301
|
"gx",
|
|
1470
1302
|
[5, "0"],
|
|
@@ -1478,18 +1310,10 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1478
1310
|
"iy",
|
|
1479
1311
|
[
|
|
1480
1312
|
6,
|
|
1481
|
-
|
|
1482
|
-
7,
|
|
1483
|
-
"d",
|
|
1484
|
-
"u32"
|
|
1485
|
-
],
|
|
1313
|
+
"d.u32",
|
|
1486
1314
|
[[
|
|
1487
1315
|
6,
|
|
1488
|
-
|
|
1489
|
-
7,
|
|
1490
|
-
"std",
|
|
1491
|
-
"clamp"
|
|
1492
|
-
],
|
|
1316
|
+
"std.clamp",
|
|
1493
1317
|
[
|
|
1494
1318
|
"gy",
|
|
1495
1319
|
[5, "0"],
|
|
@@ -1503,31 +1327,19 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1503
1327
|
"ix1",
|
|
1504
1328
|
[
|
|
1505
1329
|
6,
|
|
1506
|
-
|
|
1507
|
-
7,
|
|
1508
|
-
"std",
|
|
1509
|
-
"min"
|
|
1510
|
-
],
|
|
1330
|
+
"std.min",
|
|
1511
1331
|
[[
|
|
1512
1332
|
1,
|
|
1513
1333
|
"ix",
|
|
1514
1334
|
"+",
|
|
1515
1335
|
[
|
|
1516
1336
|
6,
|
|
1517
|
-
|
|
1518
|
-
7,
|
|
1519
|
-
"d",
|
|
1520
|
-
"u32"
|
|
1521
|
-
],
|
|
1337
|
+
"d.u32",
|
|
1522
1338
|
[[5, "1"]]
|
|
1523
1339
|
]
|
|
1524
1340
|
], [
|
|
1525
1341
|
6,
|
|
1526
|
-
|
|
1527
|
-
7,
|
|
1528
|
-
"d",
|
|
1529
|
-
"u32"
|
|
1530
|
-
],
|
|
1342
|
+
"d.u32",
|
|
1531
1343
|
["WAVE_MAX"]
|
|
1532
1344
|
]]
|
|
1533
1345
|
]
|
|
@@ -1537,31 +1349,19 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1537
1349
|
"iy1",
|
|
1538
1350
|
[
|
|
1539
1351
|
6,
|
|
1540
|
-
|
|
1541
|
-
7,
|
|
1542
|
-
"std",
|
|
1543
|
-
"min"
|
|
1544
|
-
],
|
|
1352
|
+
"std.min",
|
|
1545
1353
|
[[
|
|
1546
1354
|
1,
|
|
1547
1355
|
"iy",
|
|
1548
1356
|
"+",
|
|
1549
1357
|
[
|
|
1550
1358
|
6,
|
|
1551
|
-
|
|
1552
|
-
7,
|
|
1553
|
-
"d",
|
|
1554
|
-
"u32"
|
|
1555
|
-
],
|
|
1359
|
+
"d.u32",
|
|
1556
1360
|
[[5, "1"]]
|
|
1557
1361
|
]
|
|
1558
1362
|
], [
|
|
1559
1363
|
6,
|
|
1560
|
-
|
|
1561
|
-
7,
|
|
1562
|
-
"d",
|
|
1563
|
-
"u32"
|
|
1564
|
-
],
|
|
1364
|
+
"d.u32",
|
|
1565
1365
|
["WAVE_MAX"]
|
|
1566
1366
|
]]
|
|
1567
1367
|
]
|
|
@@ -1575,11 +1375,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1575
1375
|
"-",
|
|
1576
1376
|
[
|
|
1577
1377
|
6,
|
|
1578
|
-
|
|
1579
|
-
7,
|
|
1580
|
-
"std",
|
|
1581
|
-
"floor"
|
|
1582
|
-
],
|
|
1378
|
+
"std.floor",
|
|
1583
1379
|
["gx"]
|
|
1584
1380
|
]
|
|
1585
1381
|
]
|
|
@@ -1593,11 +1389,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1593
1389
|
"-",
|
|
1594
1390
|
[
|
|
1595
1391
|
6,
|
|
1596
|
-
|
|
1597
|
-
7,
|
|
1598
|
-
"std",
|
|
1599
|
-
"floor"
|
|
1600
|
-
],
|
|
1392
|
+
"std.floor",
|
|
1601
1393
|
["gy"]
|
|
1602
1394
|
]
|
|
1603
1395
|
]
|
|
@@ -1607,11 +1399,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1607
1399
|
"W",
|
|
1608
1400
|
[
|
|
1609
1401
|
6,
|
|
1610
|
-
|
|
1611
|
-
7,
|
|
1612
|
-
"d",
|
|
1613
|
-
"u32"
|
|
1614
|
-
],
|
|
1402
|
+
"d.u32",
|
|
1615
1403
|
["WAVE_GRID"]
|
|
1616
1404
|
]
|
|
1617
1405
|
],
|
|
@@ -1728,19 +1516,11 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1728
1516
|
"waveSample",
|
|
1729
1517
|
[
|
|
1730
1518
|
6,
|
|
1731
|
-
|
|
1732
|
-
7,
|
|
1733
|
-
"std",
|
|
1734
|
-
"mix"
|
|
1735
|
-
],
|
|
1519
|
+
"std.mix",
|
|
1736
1520
|
[
|
|
1737
1521
|
[
|
|
1738
1522
|
6,
|
|
1739
|
-
|
|
1740
|
-
7,
|
|
1741
|
-
"std",
|
|
1742
|
-
"mix"
|
|
1743
|
-
],
|
|
1523
|
+
"std.mix",
|
|
1744
1524
|
[
|
|
1745
1525
|
"v00",
|
|
1746
1526
|
"v10",
|
|
@@ -1749,11 +1529,7 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1749
1529
|
],
|
|
1750
1530
|
[
|
|
1751
1531
|
6,
|
|
1752
|
-
|
|
1753
|
-
7,
|
|
1754
|
-
"std",
|
|
1755
|
-
"mix"
|
|
1756
|
-
],
|
|
1532
|
+
"std.mix",
|
|
1757
1533
|
[
|
|
1758
1534
|
"v01",
|
|
1759
1535
|
"v11",
|
|
@@ -1795,40 +1571,37 @@ function buildHeightFn(waveType, octaveCount, cursorEnabled) {
|
|
|
1795
1571
|
]],
|
|
1796
1572
|
[0, [[10, "baseHeight"]]]
|
|
1797
1573
|
]
|
|
1798
|
-
]]
|
|
1799
|
-
"externalNames": [
|
|
1800
|
-
"computeLayout",
|
|
1801
|
-
"d",
|
|
1802
|
-
"waveType",
|
|
1803
|
-
"octaveCount",
|
|
1804
|
-
"std",
|
|
1805
|
-
"TWO_PI",
|
|
1806
|
-
"invTotalWeight",
|
|
1807
|
-
"noise",
|
|
1808
|
-
"cursorEnabled",
|
|
1809
|
-
"WAVE_HALFEXTENT",
|
|
1810
|
-
"WAVE_MAX",
|
|
1811
|
-
"WAVE_GRID"
|
|
1812
|
-
]
|
|
1574
|
+
]]
|
|
1813
1575
|
},
|
|
1814
|
-
externals:
|
|
1815
|
-
computeLayout,
|
|
1816
|
-
d:
|
|
1817
|
-
waveType,
|
|
1818
|
-
octaveCount,
|
|
1819
|
-
std:
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1576
|
+
externals: {
|
|
1577
|
+
"computeLayout": () => computeLayout,
|
|
1578
|
+
"d.f32": () => f32,
|
|
1579
|
+
"waveType": () => waveType,
|
|
1580
|
+
"octaveCount": () => octaveCount,
|
|
1581
|
+
"std.exp2": () => exp2,
|
|
1582
|
+
"std.cos": () => cos,
|
|
1583
|
+
"std.sin": () => sin,
|
|
1584
|
+
"TWO_PI": () => TWO_PI,
|
|
1585
|
+
"invTotalWeight": () => invTotalWeight,
|
|
1586
|
+
"d.vec2f": () => vec2f,
|
|
1587
|
+
"noise.mxNoiseFloat2": () => mxNoiseFloat2,
|
|
1588
|
+
"std.abs": () => abs,
|
|
1589
|
+
"std.max": () => max,
|
|
1590
|
+
"std.smoothstep": () => smoothstep,
|
|
1591
|
+
"std.mix": () => mix,
|
|
1592
|
+
"cursorEnabled": () => cursorEnabled,
|
|
1593
|
+
"WAVE_HALFEXTENT": () => WAVE_HALFEXTENT,
|
|
1594
|
+
"WAVE_MAX": () => WAVE_MAX,
|
|
1595
|
+
"std.clamp": () => clamp,
|
|
1596
|
+
"d.u32": () => u32,
|
|
1597
|
+
"std.min": () => min,
|
|
1598
|
+
"std.floor": () => floor,
|
|
1599
|
+
"WAVE_GRID": () => WAVE_GRID
|
|
1600
|
+
}
|
|
1828
1601
|
}) && $.f)({})).$name("surface3dHeight");
|
|
1829
1602
|
}
|
|
1830
1603
|
function makePropagateKernel() {
|
|
1831
|
-
return
|
|
1604
|
+
return typegpu_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
|
|
1832
1605
|
"use gpu";
|
|
1833
1606
|
if (cx > u32(0) && cx < u32(WAVE_MAX) && cy > u32(0) && cy < u32(WAVE_MAX)) {
|
|
1834
1607
|
const p = propagateLayout.$.params;
|
|
@@ -1861,7 +1634,7 @@ function makePropagateKernel() {
|
|
|
1861
1634
|
propagateLayout.$.readBuf[idx] = next;
|
|
1862
1635
|
}
|
|
1863
1636
|
}), {
|
|
1864
|
-
v:
|
|
1637
|
+
v: 2,
|
|
1865
1638
|
name: void 0,
|
|
1866
1639
|
ast: {
|
|
1867
1640
|
"params": [{
|
|
@@ -1885,11 +1658,7 @@ function makePropagateKernel() {
|
|
|
1885
1658
|
">",
|
|
1886
1659
|
[
|
|
1887
1660
|
6,
|
|
1888
|
-
|
|
1889
|
-
7,
|
|
1890
|
-
"d",
|
|
1891
|
-
"u32"
|
|
1892
|
-
],
|
|
1661
|
+
"d.u32",
|
|
1893
1662
|
[[5, "0"]]
|
|
1894
1663
|
]
|
|
1895
1664
|
],
|
|
@@ -1900,11 +1669,7 @@ function makePropagateKernel() {
|
|
|
1900
1669
|
"<",
|
|
1901
1670
|
[
|
|
1902
1671
|
6,
|
|
1903
|
-
|
|
1904
|
-
7,
|
|
1905
|
-
"d",
|
|
1906
|
-
"u32"
|
|
1907
|
-
],
|
|
1672
|
+
"d.u32",
|
|
1908
1673
|
["WAVE_MAX"]
|
|
1909
1674
|
]
|
|
1910
1675
|
]
|
|
@@ -1916,11 +1681,7 @@ function makePropagateKernel() {
|
|
|
1916
1681
|
">",
|
|
1917
1682
|
[
|
|
1918
1683
|
6,
|
|
1919
|
-
|
|
1920
|
-
7,
|
|
1921
|
-
"d",
|
|
1922
|
-
"u32"
|
|
1923
|
-
],
|
|
1684
|
+
"d.u32",
|
|
1924
1685
|
[[5, "0"]]
|
|
1925
1686
|
]
|
|
1926
1687
|
]
|
|
@@ -1932,11 +1693,7 @@ function makePropagateKernel() {
|
|
|
1932
1693
|
"<",
|
|
1933
1694
|
[
|
|
1934
1695
|
6,
|
|
1935
|
-
|
|
1936
|
-
7,
|
|
1937
|
-
"d",
|
|
1938
|
-
"u32"
|
|
1939
|
-
],
|
|
1696
|
+
"d.u32",
|
|
1940
1697
|
["WAVE_MAX"]
|
|
1941
1698
|
]
|
|
1942
1699
|
]
|
|
@@ -1960,11 +1717,7 @@ function makePropagateKernel() {
|
|
|
1960
1717
|
"gs",
|
|
1961
1718
|
[
|
|
1962
1719
|
6,
|
|
1963
|
-
|
|
1964
|
-
7,
|
|
1965
|
-
"d",
|
|
1966
|
-
"u32"
|
|
1967
|
-
],
|
|
1720
|
+
"d.u32",
|
|
1968
1721
|
["WAVE_GRID"]
|
|
1969
1722
|
]
|
|
1970
1723
|
],
|
|
@@ -2003,11 +1756,7 @@ function makePropagateKernel() {
|
|
|
2003
1756
|
"-",
|
|
2004
1757
|
[
|
|
2005
1758
|
6,
|
|
2006
|
-
|
|
2007
|
-
7,
|
|
2008
|
-
"d",
|
|
2009
|
-
"u32"
|
|
2010
|
-
],
|
|
1759
|
+
"d.u32",
|
|
2011
1760
|
[[5, "1"]]
|
|
2012
1761
|
]
|
|
2013
1762
|
]
|
|
@@ -2033,11 +1782,7 @@ function makePropagateKernel() {
|
|
|
2033
1782
|
"+",
|
|
2034
1783
|
[
|
|
2035
1784
|
6,
|
|
2036
|
-
|
|
2037
|
-
7,
|
|
2038
|
-
"d",
|
|
2039
|
-
"u32"
|
|
2040
|
-
],
|
|
1785
|
+
"d.u32",
|
|
2041
1786
|
[[5, "1"]]
|
|
2042
1787
|
]
|
|
2043
1788
|
]
|
|
@@ -2237,11 +1982,7 @@ function makePropagateKernel() {
|
|
|
2237
1982
|
1,
|
|
2238
1983
|
[
|
|
2239
1984
|
6,
|
|
2240
|
-
|
|
2241
|
-
7,
|
|
2242
|
-
"d",
|
|
2243
|
-
"f32"
|
|
2244
|
-
],
|
|
1985
|
+
"d.f32",
|
|
2245
1986
|
["cx"]
|
|
2246
1987
|
],
|
|
2247
1988
|
"+",
|
|
@@ -2250,11 +1991,7 @@ function makePropagateKernel() {
|
|
|
2250
1991
|
"/",
|
|
2251
1992
|
[
|
|
2252
1993
|
6,
|
|
2253
|
-
|
|
2254
|
-
7,
|
|
2255
|
-
"d",
|
|
2256
|
-
"f32"
|
|
2257
|
-
],
|
|
1994
|
+
"d.f32",
|
|
2258
1995
|
["WAVE_GRID"]
|
|
2259
1996
|
]
|
|
2260
1997
|
]
|
|
@@ -2268,11 +2005,7 @@ function makePropagateKernel() {
|
|
|
2268
2005
|
1,
|
|
2269
2006
|
[
|
|
2270
2007
|
6,
|
|
2271
|
-
|
|
2272
|
-
7,
|
|
2273
|
-
"d",
|
|
2274
|
-
"f32"
|
|
2275
|
-
],
|
|
2008
|
+
"d.f32",
|
|
2276
2009
|
["cy"]
|
|
2277
2010
|
],
|
|
2278
2011
|
"+",
|
|
@@ -2281,11 +2014,7 @@ function makePropagateKernel() {
|
|
|
2281
2014
|
"/",
|
|
2282
2015
|
[
|
|
2283
2016
|
6,
|
|
2284
|
-
|
|
2285
|
-
7,
|
|
2286
|
-
"d",
|
|
2287
|
-
"f32"
|
|
2288
|
-
],
|
|
2017
|
+
"d.f32",
|
|
2289
2018
|
["WAVE_GRID"]
|
|
2290
2019
|
]
|
|
2291
2020
|
]
|
|
@@ -2384,11 +2113,7 @@ function makePropagateKernel() {
|
|
|
2384
2113
|
"influence",
|
|
2385
2114
|
[
|
|
2386
2115
|
6,
|
|
2387
|
-
|
|
2388
|
-
7,
|
|
2389
|
-
"std",
|
|
2390
|
-
"exp"
|
|
2391
|
-
],
|
|
2116
|
+
"std.exp",
|
|
2392
2117
|
[[
|
|
2393
2118
|
1,
|
|
2394
2119
|
[
|
|
@@ -2397,11 +2122,7 @@ function makePropagateKernel() {
|
|
|
2397
2122
|
"/",
|
|
2398
2123
|
[
|
|
2399
2124
|
6,
|
|
2400
|
-
|
|
2401
|
-
7,
|
|
2402
|
-
"std",
|
|
2403
|
-
"max"
|
|
2404
|
-
],
|
|
2125
|
+
"std.max",
|
|
2405
2126
|
[[
|
|
2406
2127
|
1,
|
|
2407
2128
|
[
|
|
@@ -2417,11 +2138,7 @@ function makePropagateKernel() {
|
|
|
2417
2138
|
]
|
|
2418
2139
|
], [
|
|
2419
2140
|
6,
|
|
2420
|
-
|
|
2421
|
-
7,
|
|
2422
|
-
"d",
|
|
2423
|
-
"f32"
|
|
2424
|
-
],
|
|
2141
|
+
"d.f32",
|
|
2425
2142
|
[[5, "0.0001"]]
|
|
2426
2143
|
]]
|
|
2427
2144
|
]
|
|
@@ -2474,11 +2191,7 @@ function makePropagateKernel() {
|
|
|
2474
2191
|
"bound",
|
|
2475
2192
|
[
|
|
2476
2193
|
6,
|
|
2477
|
-
|
|
2478
|
-
7,
|
|
2479
|
-
"d",
|
|
2480
|
-
"f32"
|
|
2481
|
-
],
|
|
2194
|
+
"d.f32",
|
|
2482
2195
|
["CURSOR_WAVE_BOUND"]
|
|
2483
2196
|
]
|
|
2484
2197
|
],
|
|
@@ -2488,11 +2201,7 @@ function makePropagateKernel() {
|
|
|
2488
2201
|
"=",
|
|
2489
2202
|
[
|
|
2490
2203
|
6,
|
|
2491
|
-
|
|
2492
|
-
7,
|
|
2493
|
-
"std",
|
|
2494
|
-
"clamp"
|
|
2495
|
-
],
|
|
2204
|
+
"std.clamp",
|
|
2496
2205
|
[
|
|
2497
2206
|
"next",
|
|
2498
2207
|
[
|
|
@@ -2546,31 +2255,25 @@ function makePropagateKernel() {
|
|
|
2546
2255
|
"next"
|
|
2547
2256
|
]
|
|
2548
2257
|
]]
|
|
2549
|
-
]]]
|
|
2550
|
-
"externalNames": [
|
|
2551
|
-
"d",
|
|
2552
|
-
"WAVE_MAX",
|
|
2553
|
-
"propagateLayout",
|
|
2554
|
-
"WAVE_GRID",
|
|
2555
|
-
"WAVE_DECAY_PER_STEP",
|
|
2556
|
-
"std",
|
|
2557
|
-
"CURSOR_WAVE_BOUND"
|
|
2558
|
-
]
|
|
2258
|
+
]]]
|
|
2559
2259
|
},
|
|
2560
|
-
externals:
|
|
2561
|
-
d:
|
|
2562
|
-
WAVE_MAX,
|
|
2563
|
-
propagateLayout,
|
|
2564
|
-
WAVE_GRID,
|
|
2565
|
-
WAVE_DECAY_PER_STEP,
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2260
|
+
externals: {
|
|
2261
|
+
"d.u32": () => u32,
|
|
2262
|
+
"WAVE_MAX": () => WAVE_MAX,
|
|
2263
|
+
"propagateLayout": () => propagateLayout,
|
|
2264
|
+
"WAVE_GRID": () => WAVE_GRID,
|
|
2265
|
+
"WAVE_DECAY_PER_STEP": () => WAVE_DECAY_PER_STEP,
|
|
2266
|
+
"d.f32": () => f32,
|
|
2267
|
+
"std.exp": () => exp,
|
|
2268
|
+
"std.max": () => max,
|
|
2269
|
+
"CURSOR_WAVE_BOUND": () => CURSOR_WAVE_BOUND,
|
|
2270
|
+
"std.clamp": () => clamp
|
|
2271
|
+
}
|
|
2569
2272
|
}) && $.f)({})).$name("surface3dPropagate");
|
|
2570
2273
|
}
|
|
2571
2274
|
function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cursorEnabled, computeW = COMPUTE_FALLBACK_W, computeH = COMPUTE_FALLBACK_H) {
|
|
2572
2275
|
const heightFn = buildHeightFn(waveType, octaveCount, cursorEnabled);
|
|
2573
|
-
return
|
|
2276
|
+
return typegpu_default.fn([u32, u32])(/* @__PURE__ */ (($) => (globalThis.__TYPEGPU_META__ ??= /* @__PURE__ */ new WeakMap()).set($.f = ((cx, cy) => {
|
|
2574
2277
|
"use gpu";
|
|
2575
2278
|
const p = computeLayout.$.params;
|
|
2576
2279
|
const screenU = __tsover_div(__tsover_add(f32(cx), .5), f32(computeW));
|
|
@@ -2661,7 +2364,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2661
2364
|
textureStore(computeLayout.$.uvMaskTex, vec2u(cx, cy), vec4f(finalUV.x, finalUV.y, finalMask, 0));
|
|
2662
2365
|
textureStore(computeLayout.$.litTex, vec2u(cx, cy), vec4f(lit, 0));
|
|
2663
2366
|
}), {
|
|
2664
|
-
v:
|
|
2367
|
+
v: 2,
|
|
2665
2368
|
name: void 0,
|
|
2666
2369
|
ast: {
|
|
2667
2370
|
"params": [{
|
|
@@ -2694,11 +2397,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2694
2397
|
1,
|
|
2695
2398
|
[
|
|
2696
2399
|
6,
|
|
2697
|
-
|
|
2698
|
-
7,
|
|
2699
|
-
"d",
|
|
2700
|
-
"f32"
|
|
2701
|
-
],
|
|
2400
|
+
"d.f32",
|
|
2702
2401
|
["cx"]
|
|
2703
2402
|
],
|
|
2704
2403
|
"+",
|
|
@@ -2707,11 +2406,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2707
2406
|
"/",
|
|
2708
2407
|
[
|
|
2709
2408
|
6,
|
|
2710
|
-
|
|
2711
|
-
7,
|
|
2712
|
-
"d",
|
|
2713
|
-
"f32"
|
|
2714
|
-
],
|
|
2409
|
+
"d.f32",
|
|
2715
2410
|
["computeW"]
|
|
2716
2411
|
]
|
|
2717
2412
|
]
|
|
@@ -2725,11 +2420,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2725
2420
|
1,
|
|
2726
2421
|
[
|
|
2727
2422
|
6,
|
|
2728
|
-
|
|
2729
|
-
7,
|
|
2730
|
-
"d",
|
|
2731
|
-
"f32"
|
|
2732
|
-
],
|
|
2423
|
+
"d.f32",
|
|
2733
2424
|
["cy"]
|
|
2734
2425
|
],
|
|
2735
2426
|
"+",
|
|
@@ -2738,11 +2429,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2738
2429
|
"/",
|
|
2739
2430
|
[
|
|
2740
2431
|
6,
|
|
2741
|
-
|
|
2742
|
-
7,
|
|
2743
|
-
"d",
|
|
2744
|
-
"f32"
|
|
2745
|
-
],
|
|
2432
|
+
"d.f32",
|
|
2746
2433
|
["computeH"]
|
|
2747
2434
|
]
|
|
2748
2435
|
]
|
|
@@ -2800,11 +2487,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2800
2487
|
"rayDir",
|
|
2801
2488
|
[
|
|
2802
2489
|
6,
|
|
2803
|
-
|
|
2804
|
-
7,
|
|
2805
|
-
"std",
|
|
2806
|
-
"normalize"
|
|
2807
|
-
],
|
|
2490
|
+
"std.normalize",
|
|
2808
2491
|
[[
|
|
2809
2492
|
6,
|
|
2810
2493
|
[
|
|
@@ -2878,19 +2561,11 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2878
2561
|
"dzSign",
|
|
2879
2562
|
[
|
|
2880
2563
|
6,
|
|
2881
|
-
|
|
2882
|
-
7,
|
|
2883
|
-
"std",
|
|
2884
|
-
"select"
|
|
2885
|
-
],
|
|
2564
|
+
"std.select",
|
|
2886
2565
|
[
|
|
2887
2566
|
[
|
|
2888
2567
|
6,
|
|
2889
|
-
|
|
2890
|
-
7,
|
|
2891
|
-
"d",
|
|
2892
|
-
"f32"
|
|
2893
|
-
],
|
|
2568
|
+
"d.f32",
|
|
2894
2569
|
[[
|
|
2895
2570
|
4,
|
|
2896
2571
|
"-",
|
|
@@ -2899,11 +2574,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2899
2574
|
],
|
|
2900
2575
|
[
|
|
2901
2576
|
6,
|
|
2902
|
-
|
|
2903
|
-
7,
|
|
2904
|
-
"d",
|
|
2905
|
-
"f32"
|
|
2906
|
-
],
|
|
2577
|
+
"d.f32",
|
|
2907
2578
|
[[5, "1"]]
|
|
2908
2579
|
],
|
|
2909
2580
|
[
|
|
@@ -2928,18 +2599,10 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2928
2599
|
"*",
|
|
2929
2600
|
[
|
|
2930
2601
|
6,
|
|
2931
|
-
|
|
2932
|
-
7,
|
|
2933
|
-
"std",
|
|
2934
|
-
"max"
|
|
2935
|
-
],
|
|
2602
|
+
"std.max",
|
|
2936
2603
|
[[
|
|
2937
2604
|
6,
|
|
2938
|
-
|
|
2939
|
-
7,
|
|
2940
|
-
"std",
|
|
2941
|
-
"abs"
|
|
2942
|
-
],
|
|
2605
|
+
"std.abs",
|
|
2943
2606
|
[[
|
|
2944
2607
|
7,
|
|
2945
2608
|
"rayDir",
|
|
@@ -2947,11 +2610,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
2947
2610
|
]]
|
|
2948
2611
|
], [
|
|
2949
2612
|
6,
|
|
2950
|
-
|
|
2951
|
-
7,
|
|
2952
|
-
"d",
|
|
2953
|
-
"f32"
|
|
2954
|
-
],
|
|
2613
|
+
"d.f32",
|
|
2955
2614
|
[[5, "0.000001"]]
|
|
2956
2615
|
]]
|
|
2957
2616
|
]
|
|
@@ -3017,26 +2676,14 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3017
2676
|
"tEnter",
|
|
3018
2677
|
[
|
|
3019
2678
|
6,
|
|
3020
|
-
|
|
3021
|
-
7,
|
|
3022
|
-
"std",
|
|
3023
|
-
"max"
|
|
3024
|
-
],
|
|
2679
|
+
"std.max",
|
|
3025
2680
|
[[
|
|
3026
2681
|
6,
|
|
3027
|
-
|
|
3028
|
-
7,
|
|
3029
|
-
"std",
|
|
3030
|
-
"min"
|
|
3031
|
-
],
|
|
2682
|
+
"std.min",
|
|
3032
2683
|
["tTop", "tBot"]
|
|
3033
2684
|
], [
|
|
3034
2685
|
6,
|
|
3035
|
-
|
|
3036
|
-
7,
|
|
3037
|
-
"d",
|
|
3038
|
-
"f32"
|
|
3039
|
-
],
|
|
2686
|
+
"d.f32",
|
|
3040
2687
|
[[5, "0"]]
|
|
3041
2688
|
]]
|
|
3042
2689
|
]
|
|
@@ -3046,26 +2693,14 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3046
2693
|
"tExit",
|
|
3047
2694
|
[
|
|
3048
2695
|
6,
|
|
3049
|
-
|
|
3050
|
-
7,
|
|
3051
|
-
"std",
|
|
3052
|
-
"min"
|
|
3053
|
-
],
|
|
2696
|
+
"std.min",
|
|
3054
2697
|
[[
|
|
3055
2698
|
6,
|
|
3056
|
-
|
|
3057
|
-
7,
|
|
3058
|
-
"std",
|
|
3059
|
-
"max"
|
|
3060
|
-
],
|
|
2699
|
+
"std.max",
|
|
3061
2700
|
["tTop", "tBot"]
|
|
3062
2701
|
], [
|
|
3063
2702
|
6,
|
|
3064
|
-
|
|
3065
|
-
7,
|
|
3066
|
-
"d",
|
|
3067
|
-
"f32"
|
|
3068
|
-
],
|
|
2703
|
+
"d.f32",
|
|
3069
2704
|
["MARCH_FAR"]
|
|
3070
2705
|
]]
|
|
3071
2706
|
]
|
|
@@ -3093,11 +2728,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3093
2728
|
],
|
|
3094
2729
|
[[
|
|
3095
2730
|
6,
|
|
3096
|
-
|
|
3097
|
-
7,
|
|
3098
|
-
"d",
|
|
3099
|
-
"f32"
|
|
3100
|
-
],
|
|
2731
|
+
"d.f32",
|
|
3101
2732
|
["MARCH_FAR"]
|
|
3102
2733
|
]]
|
|
3103
2734
|
]]
|
|
@@ -3108,11 +2739,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3108
2739
|
"hit",
|
|
3109
2740
|
[
|
|
3110
2741
|
6,
|
|
3111
|
-
|
|
3112
|
-
7,
|
|
3113
|
-
"d",
|
|
3114
|
-
"f32"
|
|
3115
|
-
],
|
|
2742
|
+
"d.f32",
|
|
3116
2743
|
[[5, "0"]]
|
|
3117
2744
|
]
|
|
3118
2745
|
],
|
|
@@ -3121,11 +2748,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3121
2748
|
"finalT",
|
|
3122
2749
|
[
|
|
3123
2750
|
6,
|
|
3124
|
-
|
|
3125
|
-
7,
|
|
3126
|
-
"d",
|
|
3127
|
-
"f32"
|
|
3128
|
-
],
|
|
2751
|
+
"d.f32",
|
|
3129
2752
|
["MARCH_FAR"]
|
|
3130
2753
|
]
|
|
3131
2754
|
],
|
|
@@ -3172,11 +2795,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3172
2795
|
"lit",
|
|
3173
2796
|
[
|
|
3174
2797
|
6,
|
|
3175
|
-
|
|
3176
|
-
7,
|
|
3177
|
-
"d",
|
|
3178
|
-
"vec3f"
|
|
3179
|
-
],
|
|
2798
|
+
"d.vec3f",
|
|
3180
2799
|
[
|
|
3181
2800
|
[5, "1"],
|
|
3182
2801
|
[5, "1"],
|
|
@@ -3207,11 +2826,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3207
2826
|
"/",
|
|
3208
2827
|
[
|
|
3209
2828
|
6,
|
|
3210
|
-
|
|
3211
|
-
7,
|
|
3212
|
-
"d",
|
|
3213
|
-
"f32"
|
|
3214
|
-
],
|
|
2829
|
+
"d.f32",
|
|
3215
2830
|
["MARCH_STEPS"]
|
|
3216
2831
|
]
|
|
3217
2832
|
]
|
|
@@ -3262,11 +2877,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3262
2877
|
"heightFn",
|
|
3263
2878
|
[[
|
|
3264
2879
|
6,
|
|
3265
|
-
|
|
3266
|
-
7,
|
|
3267
|
-
"d",
|
|
3268
|
-
"vec2f"
|
|
3269
|
-
],
|
|
2880
|
+
"d.vec2f",
|
|
3270
2881
|
[[
|
|
3271
2882
|
1,
|
|
3272
2883
|
[
|
|
@@ -3363,11 +2974,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3363
2974
|
"heightFn",
|
|
3364
2975
|
[[
|
|
3365
2976
|
6,
|
|
3366
|
-
|
|
3367
|
-
7,
|
|
3368
|
-
"d",
|
|
3369
|
-
"vec2f"
|
|
3370
|
-
],
|
|
2977
|
+
"d.vec2f",
|
|
3371
2978
|
[[
|
|
3372
2979
|
1,
|
|
3373
2980
|
[
|
|
@@ -3546,11 +3153,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3546
3153
|
"heightFn",
|
|
3547
3154
|
[[
|
|
3548
3155
|
6,
|
|
3549
|
-
|
|
3550
|
-
7,
|
|
3551
|
-
"d",
|
|
3552
|
-
"vec2f"
|
|
3553
|
-
],
|
|
3156
|
+
"d.vec2f",
|
|
3554
3157
|
[[
|
|
3555
3158
|
1,
|
|
3556
3159
|
[
|
|
@@ -3705,11 +3308,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3705
3308
|
"heightFn",
|
|
3706
3309
|
[[
|
|
3707
3310
|
6,
|
|
3708
|
-
|
|
3709
|
-
7,
|
|
3710
|
-
"d",
|
|
3711
|
-
"vec2f"
|
|
3712
|
-
],
|
|
3311
|
+
"d.vec2f",
|
|
3713
3312
|
["hitU", "hitV"]
|
|
3714
3313
|
]]
|
|
3715
3314
|
]
|
|
@@ -3722,11 +3321,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3722
3321
|
"heightFn",
|
|
3723
3322
|
[[
|
|
3724
3323
|
6,
|
|
3725
|
-
|
|
3726
|
-
7,
|
|
3727
|
-
"d",
|
|
3728
|
-
"vec2f"
|
|
3729
|
-
],
|
|
3324
|
+
"d.vec2f",
|
|
3730
3325
|
[[
|
|
3731
3326
|
1,
|
|
3732
3327
|
"hitU",
|
|
@@ -3744,11 +3339,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3744
3339
|
"heightFn",
|
|
3745
3340
|
[[
|
|
3746
3341
|
6,
|
|
3747
|
-
|
|
3748
|
-
7,
|
|
3749
|
-
"d",
|
|
3750
|
-
"vec2f"
|
|
3751
|
-
],
|
|
3342
|
+
"d.vec2f",
|
|
3752
3343
|
["hitU", [
|
|
3753
3344
|
1,
|
|
3754
3345
|
"hitV",
|
|
@@ -3793,18 +3384,10 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3793
3384
|
"nrm",
|
|
3794
3385
|
[
|
|
3795
3386
|
6,
|
|
3796
|
-
|
|
3797
|
-
7,
|
|
3798
|
-
"std",
|
|
3799
|
-
"normalize"
|
|
3800
|
-
],
|
|
3387
|
+
"std.normalize",
|
|
3801
3388
|
[[
|
|
3802
3389
|
6,
|
|
3803
|
-
|
|
3804
|
-
7,
|
|
3805
|
-
"d",
|
|
3806
|
-
"vec3f"
|
|
3807
|
-
],
|
|
3390
|
+
"d.vec3f",
|
|
3808
3391
|
[
|
|
3809
3392
|
[
|
|
3810
3393
|
1,
|
|
@@ -3836,18 +3419,10 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3836
3419
|
"lightDir",
|
|
3837
3420
|
[
|
|
3838
3421
|
6,
|
|
3839
|
-
|
|
3840
|
-
7,
|
|
3841
|
-
"std",
|
|
3842
|
-
"normalize"
|
|
3843
|
-
],
|
|
3422
|
+
"std.normalize",
|
|
3844
3423
|
[[
|
|
3845
3424
|
6,
|
|
3846
|
-
|
|
3847
|
-
7,
|
|
3848
|
-
"d",
|
|
3849
|
-
"vec3f"
|
|
3850
|
-
],
|
|
3425
|
+
"d.vec3f",
|
|
3851
3426
|
[
|
|
3852
3427
|
[
|
|
3853
3428
|
7,
|
|
@@ -3890,19 +3465,11 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3890
3465
|
"diffuse",
|
|
3891
3466
|
[
|
|
3892
3467
|
6,
|
|
3893
|
-
|
|
3894
|
-
7,
|
|
3895
|
-
"std",
|
|
3896
|
-
"clamp"
|
|
3897
|
-
],
|
|
3468
|
+
"std.clamp",
|
|
3898
3469
|
[
|
|
3899
3470
|
[
|
|
3900
3471
|
6,
|
|
3901
|
-
|
|
3902
|
-
7,
|
|
3903
|
-
"std",
|
|
3904
|
-
"dot"
|
|
3905
|
-
],
|
|
3472
|
+
"std.dot",
|
|
3906
3473
|
["nrm", "lightDir"]
|
|
3907
3474
|
],
|
|
3908
3475
|
[5, "0"],
|
|
@@ -3915,11 +3482,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3915
3482
|
"halfVec",
|
|
3916
3483
|
[
|
|
3917
3484
|
6,
|
|
3918
|
-
|
|
3919
|
-
7,
|
|
3920
|
-
"std",
|
|
3921
|
-
"normalize"
|
|
3922
|
-
],
|
|
3485
|
+
"std.normalize",
|
|
3923
3486
|
[[
|
|
3924
3487
|
6,
|
|
3925
3488
|
[
|
|
@@ -3957,26 +3520,14 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3957
3520
|
1,
|
|
3958
3521
|
[
|
|
3959
3522
|
6,
|
|
3960
|
-
|
|
3961
|
-
7,
|
|
3962
|
-
"std",
|
|
3963
|
-
"pow"
|
|
3964
|
-
],
|
|
3523
|
+
"std.pow",
|
|
3965
3524
|
[[
|
|
3966
3525
|
6,
|
|
3967
|
-
|
|
3968
|
-
7,
|
|
3969
|
-
"std",
|
|
3970
|
-
"clamp"
|
|
3971
|
-
],
|
|
3526
|
+
"std.clamp",
|
|
3972
3527
|
[
|
|
3973
3528
|
[
|
|
3974
3529
|
6,
|
|
3975
|
-
|
|
3976
|
-
7,
|
|
3977
|
-
"std",
|
|
3978
|
-
"dot"
|
|
3979
|
-
],
|
|
3530
|
+
"std.dot",
|
|
3980
3531
|
["nrm", "halfVec"]
|
|
3981
3532
|
],
|
|
3982
3533
|
[5, "0"],
|
|
@@ -3997,11 +3548,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
3997
3548
|
"ambient",
|
|
3998
3549
|
[
|
|
3999
3550
|
6,
|
|
4000
|
-
|
|
4001
|
-
7,
|
|
4002
|
-
"d",
|
|
4003
|
-
"vec3f"
|
|
4004
|
-
],
|
|
3551
|
+
"d.vec3f",
|
|
4005
3552
|
[
|
|
4006
3553
|
[5, "0.4"],
|
|
4007
3554
|
[5, "0.4"],
|
|
@@ -4075,27 +3622,15 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4075
3622
|
"=",
|
|
4076
3623
|
[
|
|
4077
3624
|
6,
|
|
4078
|
-
|
|
4079
|
-
7,
|
|
4080
|
-
"std",
|
|
4081
|
-
"clamp"
|
|
4082
|
-
],
|
|
3625
|
+
"std.clamp",
|
|
4083
3626
|
[
|
|
4084
3627
|
[
|
|
4085
3628
|
6,
|
|
4086
|
-
|
|
4087
|
-
7,
|
|
4088
|
-
"std",
|
|
4089
|
-
"mix"
|
|
4090
|
-
],
|
|
3629
|
+
"std.mix",
|
|
4091
3630
|
[
|
|
4092
3631
|
[
|
|
4093
3632
|
6,
|
|
4094
|
-
|
|
4095
|
-
7,
|
|
4096
|
-
"d",
|
|
4097
|
-
"vec3f"
|
|
4098
|
-
],
|
|
3633
|
+
"d.vec3f",
|
|
4099
3634
|
[
|
|
4100
3635
|
[5, "1"],
|
|
4101
3636
|
[5, "1"],
|
|
@@ -4112,11 +3647,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4112
3647
|
],
|
|
4113
3648
|
[
|
|
4114
3649
|
6,
|
|
4115
|
-
|
|
4116
|
-
7,
|
|
4117
|
-
"d",
|
|
4118
|
-
"vec3f"
|
|
4119
|
-
],
|
|
3650
|
+
"d.vec3f",
|
|
4120
3651
|
[
|
|
4121
3652
|
[5, "0"],
|
|
4122
3653
|
[5, "0"],
|
|
@@ -4125,11 +3656,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4125
3656
|
],
|
|
4126
3657
|
[
|
|
4127
3658
|
6,
|
|
4128
|
-
|
|
4129
|
-
7,
|
|
4130
|
-
"d",
|
|
4131
|
-
"vec3f"
|
|
4132
|
-
],
|
|
3659
|
+
"d.vec3f",
|
|
4133
3660
|
[
|
|
4134
3661
|
[5, "3"],
|
|
4135
3662
|
[5, "3"],
|
|
@@ -4150,11 +3677,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4150
3677
|
"rawSampleUV",
|
|
4151
3678
|
[
|
|
4152
3679
|
6,
|
|
4153
|
-
|
|
4154
|
-
7,
|
|
4155
|
-
"d",
|
|
4156
|
-
"vec2f"
|
|
4157
|
-
],
|
|
3680
|
+
"d.vec2f",
|
|
4158
3681
|
["hitU", [
|
|
4159
3682
|
1,
|
|
4160
3683
|
[5, "1"],
|
|
@@ -4168,11 +3691,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4168
3691
|
"finalUV",
|
|
4169
3692
|
[
|
|
4170
3693
|
6,
|
|
4171
|
-
|
|
4172
|
-
7,
|
|
4173
|
-
"d",
|
|
4174
|
-
"vec2f"
|
|
4175
|
-
],
|
|
3694
|
+
"d.vec2f",
|
|
4176
3695
|
[[
|
|
4177
3696
|
7,
|
|
4178
3697
|
"rawSampleUV",
|
|
@@ -4189,11 +3708,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4189
3708
|
"outOfBoundsMask",
|
|
4190
3709
|
[
|
|
4191
3710
|
6,
|
|
4192
|
-
|
|
4193
|
-
7,
|
|
4194
|
-
"d",
|
|
4195
|
-
"f32"
|
|
4196
|
-
],
|
|
3711
|
+
"d.f32",
|
|
4197
3712
|
[[5, "1"]]
|
|
4198
3713
|
]
|
|
4199
3714
|
],
|
|
@@ -4211,11 +3726,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4211
3726
|
"=",
|
|
4212
3727
|
[
|
|
4213
3728
|
6,
|
|
4214
|
-
|
|
4215
|
-
7,
|
|
4216
|
-
"edges",
|
|
4217
|
-
"edgeMirrorUV"
|
|
4218
|
-
],
|
|
3729
|
+
"edges.edgeMirrorUV",
|
|
4219
3730
|
["rawSampleUV"]
|
|
4220
3731
|
]
|
|
4221
3732
|
]]],
|
|
@@ -4233,11 +3744,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4233
3744
|
"=",
|
|
4234
3745
|
[
|
|
4235
3746
|
6,
|
|
4236
|
-
|
|
4237
|
-
7,
|
|
4238
|
-
"edges",
|
|
4239
|
-
"edgeWrapUV"
|
|
4240
|
-
],
|
|
3747
|
+
"edges.edgeWrapUV",
|
|
4241
3748
|
["rawSampleUV"]
|
|
4242
3749
|
]
|
|
4243
3750
|
]]],
|
|
@@ -4310,28 +3817,16 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4310
3817
|
"=",
|
|
4311
3818
|
[
|
|
4312
3819
|
6,
|
|
4313
|
-
|
|
4314
|
-
7,
|
|
4315
|
-
"std",
|
|
4316
|
-
"select"
|
|
4317
|
-
],
|
|
3820
|
+
"std.select",
|
|
4318
3821
|
[
|
|
4319
3822
|
[
|
|
4320
3823
|
6,
|
|
4321
|
-
|
|
4322
|
-
7,
|
|
4323
|
-
"d",
|
|
4324
|
-
"f32"
|
|
4325
|
-
],
|
|
3824
|
+
"d.f32",
|
|
4326
3825
|
[[5, "0"]]
|
|
4327
3826
|
],
|
|
4328
3827
|
[
|
|
4329
3828
|
6,
|
|
4330
|
-
|
|
4331
|
-
7,
|
|
4332
|
-
"d",
|
|
4333
|
-
"f32"
|
|
4334
|
-
],
|
|
3829
|
+
"d.f32",
|
|
4335
3830
|
[[5, "1"]]
|
|
4336
3831
|
],
|
|
4337
3832
|
"inside"
|
|
@@ -4344,29 +3839,17 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4344
3839
|
"=",
|
|
4345
3840
|
[
|
|
4346
3841
|
6,
|
|
4347
|
-
|
|
4348
|
-
7,
|
|
4349
|
-
"std",
|
|
4350
|
-
"clamp"
|
|
4351
|
-
],
|
|
3842
|
+
"std.clamp",
|
|
4352
3843
|
[
|
|
4353
3844
|
"rawSampleUV",
|
|
4354
3845
|
[
|
|
4355
3846
|
6,
|
|
4356
|
-
|
|
4357
|
-
7,
|
|
4358
|
-
"d",
|
|
4359
|
-
"vec2f"
|
|
4360
|
-
],
|
|
3847
|
+
"d.vec2f",
|
|
4361
3848
|
[[5, "0"], [5, "0"]]
|
|
4362
3849
|
],
|
|
4363
3850
|
[
|
|
4364
3851
|
6,
|
|
4365
|
-
|
|
4366
|
-
7,
|
|
4367
|
-
"d",
|
|
4368
|
-
"vec2f"
|
|
4369
|
-
],
|
|
3852
|
+
"d.vec2f",
|
|
4370
3853
|
[[5, "1"], [5, "1"]]
|
|
4371
3854
|
]
|
|
4372
3855
|
]
|
|
@@ -4380,11 +3863,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4380
3863
|
"CUTOFF_RANGE",
|
|
4381
3864
|
[
|
|
4382
3865
|
6,
|
|
4383
|
-
|
|
4384
|
-
7,
|
|
4385
|
-
"d",
|
|
4386
|
-
"f32"
|
|
4387
|
-
],
|
|
3866
|
+
"d.f32",
|
|
4388
3867
|
["MARCH_FAR"]
|
|
4389
3868
|
]
|
|
4390
3869
|
],
|
|
@@ -4426,11 +3905,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4426
3905
|
"nearMask",
|
|
4427
3906
|
[
|
|
4428
3907
|
6,
|
|
4429
|
-
|
|
4430
|
-
7,
|
|
4431
|
-
"std",
|
|
4432
|
-
"smoothstep"
|
|
4433
|
-
],
|
|
3908
|
+
"std.smoothstep",
|
|
4434
3909
|
[
|
|
4435
3910
|
[
|
|
4436
3911
|
1,
|
|
@@ -4453,11 +3928,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4453
3928
|
"farMask",
|
|
4454
3929
|
[
|
|
4455
3930
|
6,
|
|
4456
|
-
|
|
4457
|
-
7,
|
|
4458
|
-
"std",
|
|
4459
|
-
"smoothstep"
|
|
4460
|
-
],
|
|
3931
|
+
"std.smoothstep",
|
|
4461
3932
|
[
|
|
4462
3933
|
[
|
|
4463
3934
|
1,
|
|
@@ -4497,11 +3968,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4497
3968
|
],
|
|
4498
3969
|
[
|
|
4499
3970
|
6,
|
|
4500
|
-
|
|
4501
|
-
7,
|
|
4502
|
-
"std",
|
|
4503
|
-
"textureStore"
|
|
4504
|
-
],
|
|
3971
|
+
"std.textureStore",
|
|
4505
3972
|
[
|
|
4506
3973
|
[
|
|
4507
3974
|
7,
|
|
@@ -4514,20 +3981,12 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4514
3981
|
],
|
|
4515
3982
|
[
|
|
4516
3983
|
6,
|
|
4517
|
-
|
|
4518
|
-
7,
|
|
4519
|
-
"d",
|
|
4520
|
-
"vec2u"
|
|
4521
|
-
],
|
|
3984
|
+
"d.vec2u",
|
|
4522
3985
|
["cx", "cy"]
|
|
4523
3986
|
],
|
|
4524
3987
|
[
|
|
4525
3988
|
6,
|
|
4526
|
-
|
|
4527
|
-
7,
|
|
4528
|
-
"d",
|
|
4529
|
-
"vec4f"
|
|
4530
|
-
],
|
|
3989
|
+
"d.vec4f",
|
|
4531
3990
|
[
|
|
4532
3991
|
[
|
|
4533
3992
|
7,
|
|
@@ -4547,11 +4006,7 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4547
4006
|
],
|
|
4548
4007
|
[
|
|
4549
4008
|
6,
|
|
4550
|
-
|
|
4551
|
-
7,
|
|
4552
|
-
"std",
|
|
4553
|
-
"textureStore"
|
|
4554
|
-
],
|
|
4009
|
+
"std.textureStore",
|
|
4555
4010
|
[
|
|
4556
4011
|
[
|
|
4557
4012
|
7,
|
|
@@ -4564,57 +4019,50 @@ function makeComputeKernel(waveType, octaveCount, edgeMode, lightingEnabled, cur
|
|
|
4564
4019
|
],
|
|
4565
4020
|
[
|
|
4566
4021
|
6,
|
|
4567
|
-
|
|
4568
|
-
7,
|
|
4569
|
-
"d",
|
|
4570
|
-
"vec2u"
|
|
4571
|
-
],
|
|
4022
|
+
"d.vec2u",
|
|
4572
4023
|
["cx", "cy"]
|
|
4573
4024
|
],
|
|
4574
4025
|
[
|
|
4575
4026
|
6,
|
|
4576
|
-
|
|
4577
|
-
7,
|
|
4578
|
-
"d",
|
|
4579
|
-
"vec4f"
|
|
4580
|
-
],
|
|
4027
|
+
"d.vec4f",
|
|
4581
4028
|
["lit", [5, "0"]]
|
|
4582
4029
|
]
|
|
4583
4030
|
]
|
|
4584
4031
|
]
|
|
4585
|
-
]]
|
|
4586
|
-
"externalNames": [
|
|
4587
|
-
"computeLayout",
|
|
4588
|
-
"d",
|
|
4589
|
-
"computeW",
|
|
4590
|
-
"computeH",
|
|
4591
|
-
"std",
|
|
4592
|
-
"MARCH_FAR",
|
|
4593
|
-
"MARCH_STEPS",
|
|
4594
|
-
"heightFn",
|
|
4595
|
-
"MARCH_REFINE",
|
|
4596
|
-
"lightingEnabled",
|
|
4597
|
-
"edgeMode",
|
|
4598
|
-
"edges"
|
|
4599
|
-
]
|
|
4032
|
+
]]
|
|
4600
4033
|
},
|
|
4601
|
-
externals:
|
|
4602
|
-
computeLayout,
|
|
4603
|
-
d:
|
|
4604
|
-
computeW,
|
|
4605
|
-
computeH,
|
|
4606
|
-
std:
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
|
|
4613
|
-
|
|
4614
|
-
|
|
4034
|
+
externals: {
|
|
4035
|
+
"computeLayout": () => computeLayout,
|
|
4036
|
+
"d.f32": () => f32,
|
|
4037
|
+
"computeW": () => computeW,
|
|
4038
|
+
"computeH": () => computeH,
|
|
4039
|
+
"std.normalize": () => normalize,
|
|
4040
|
+
"std.select": () => select,
|
|
4041
|
+
"std.max": () => max,
|
|
4042
|
+
"std.abs": () => abs,
|
|
4043
|
+
"std.min": () => min,
|
|
4044
|
+
"MARCH_FAR": () => MARCH_FAR,
|
|
4045
|
+
"d.vec3f": () => vec3f,
|
|
4046
|
+
"MARCH_STEPS": () => MARCH_STEPS,
|
|
4047
|
+
"heightFn": () => heightFn,
|
|
4048
|
+
"d.vec2f": () => vec2f,
|
|
4049
|
+
"MARCH_REFINE": () => MARCH_REFINE,
|
|
4050
|
+
"lightingEnabled": () => lightingEnabled,
|
|
4051
|
+
"std.clamp": () => clamp,
|
|
4052
|
+
"std.dot": () => dot,
|
|
4053
|
+
"std.pow": () => pow,
|
|
4054
|
+
"std.mix": () => mix,
|
|
4055
|
+
"edgeMode": () => edgeMode,
|
|
4056
|
+
"edges.edgeMirrorUV": () => edgeMirrorUV,
|
|
4057
|
+
"edges.edgeWrapUV": () => edgeWrapUV,
|
|
4058
|
+
"std.smoothstep": () => smoothstep,
|
|
4059
|
+
"std.textureStore": () => textureStore,
|
|
4060
|
+
"d.vec2u": () => vec2u,
|
|
4061
|
+
"d.vec4f": () => vec4f
|
|
4062
|
+
}
|
|
4615
4063
|
}) && $.f)({})).$name("surface3dRaymarch");
|
|
4616
4064
|
}
|
|
4617
|
-
const surface3dCompose =
|
|
4065
|
+
const surface3dCompose = typegpu_default.fn([
|
|
4618
4066
|
vec4f,
|
|
4619
4067
|
vec3f,
|
|
4620
4068
|
f32
|
|
@@ -4622,7 +4070,7 @@ const surface3dCompose = src_default.fn([
|
|
|
4622
4070
|
"use gpu";
|
|
4623
4071
|
return vec4f(clamp(childColor.xyz.mul(lit), vec3f(0, 0, 0), vec3f(1, 1, 1)), __tsover_mul(childColor.w, mask));
|
|
4624
4072
|
}), {
|
|
4625
|
-
v:
|
|
4073
|
+
v: 2,
|
|
4626
4074
|
name: void 0,
|
|
4627
4075
|
ast: {
|
|
4628
4076
|
"params": [
|
|
@@ -4644,11 +4092,7 @@ const surface3dCompose = src_default.fn([
|
|
|
4644
4092
|
"finalRgb",
|
|
4645
4093
|
[
|
|
4646
4094
|
6,
|
|
4647
|
-
|
|
4648
|
-
7,
|
|
4649
|
-
"std",
|
|
4650
|
-
"clamp"
|
|
4651
|
-
],
|
|
4095
|
+
"std.clamp",
|
|
4652
4096
|
[
|
|
4653
4097
|
[
|
|
4654
4098
|
6,
|
|
@@ -4665,11 +4109,7 @@ const surface3dCompose = src_default.fn([
|
|
|
4665
4109
|
],
|
|
4666
4110
|
[
|
|
4667
4111
|
6,
|
|
4668
|
-
|
|
4669
|
-
7,
|
|
4670
|
-
"d",
|
|
4671
|
-
"vec3f"
|
|
4672
|
-
],
|
|
4112
|
+
"d.vec3f",
|
|
4673
4113
|
[
|
|
4674
4114
|
[5, "0"],
|
|
4675
4115
|
[5, "0"],
|
|
@@ -4678,11 +4118,7 @@ const surface3dCompose = src_default.fn([
|
|
|
4678
4118
|
],
|
|
4679
4119
|
[
|
|
4680
4120
|
6,
|
|
4681
|
-
|
|
4682
|
-
7,
|
|
4683
|
-
"d",
|
|
4684
|
-
"vec3f"
|
|
4685
|
-
],
|
|
4121
|
+
"d.vec3f",
|
|
4686
4122
|
[
|
|
4687
4123
|
[5, "1"],
|
|
4688
4124
|
[5, "1"],
|
|
@@ -4693,11 +4129,7 @@ const surface3dCompose = src_default.fn([
|
|
|
4693
4129
|
]
|
|
4694
4130
|
], [10, [
|
|
4695
4131
|
6,
|
|
4696
|
-
|
|
4697
|
-
7,
|
|
4698
|
-
"d",
|
|
4699
|
-
"vec4f"
|
|
4700
|
-
],
|
|
4132
|
+
"d.vec4f",
|
|
4701
4133
|
["finalRgb", [
|
|
4702
4134
|
1,
|
|
4703
4135
|
[
|
|
@@ -4708,13 +4140,13 @@ const surface3dCompose = src_default.fn([
|
|
|
4708
4140
|
"*",
|
|
4709
4141
|
"mask"
|
|
4710
4142
|
]]
|
|
4711
|
-
]]]]
|
|
4712
|
-
"externalNames": ["std", "d"]
|
|
4143
|
+
]]]]
|
|
4713
4144
|
},
|
|
4714
|
-
externals:
|
|
4715
|
-
std:
|
|
4716
|
-
d:
|
|
4717
|
-
|
|
4145
|
+
externals: {
|
|
4146
|
+
"std.clamp": () => clamp,
|
|
4147
|
+
"d.vec3f": () => vec3f,
|
|
4148
|
+
"d.vec4f": () => vec4f
|
|
4149
|
+
}
|
|
4718
4150
|
}) && $.f)({}));
|
|
4719
4151
|
const componentDefinition = {
|
|
4720
4152
|
name: "Surface3D",
|
|
@@ -5086,7 +4518,7 @@ const componentDefinition = {
|
|
|
5086
4518
|
"use gpu";
|
|
5087
4519
|
computeKernel(cx, cy);
|
|
5088
4520
|
}), {
|
|
5089
|
-
v:
|
|
4521
|
+
v: 2,
|
|
5090
4522
|
name: void 0,
|
|
5091
4523
|
ast: {
|
|
5092
4524
|
"params": [{
|
|
@@ -5100,10 +4532,9 @@ const componentDefinition = {
|
|
|
5100
4532
|
6,
|
|
5101
4533
|
"computeKernel",
|
|
5102
4534
|
["cx", "cy"]
|
|
5103
|
-
]]]
|
|
5104
|
-
"externalNames": ["computeKernel"]
|
|
4535
|
+
]]]
|
|
5105
4536
|
},
|
|
5106
|
-
externals: () =>
|
|
4537
|
+
externals: { "computeKernel": () => computeKernel }
|
|
5107
4538
|
}) && $.f)({}), {
|
|
5108
4539
|
size: [computeW, computeH],
|
|
5109
4540
|
bindGroup: computeBg
|
|
@@ -5120,7 +4551,7 @@ const componentDefinition = {
|
|
|
5120
4551
|
"use gpu";
|
|
5121
4552
|
propagate(cx, cy);
|
|
5122
4553
|
}), {
|
|
5123
|
-
v:
|
|
4554
|
+
v: 2,
|
|
5124
4555
|
name: void 0,
|
|
5125
4556
|
ast: {
|
|
5126
4557
|
"params": [{
|
|
@@ -5134,10 +4565,9 @@ const componentDefinition = {
|
|
|
5134
4565
|
6,
|
|
5135
4566
|
"propagate",
|
|
5136
4567
|
["cx", "cy"]
|
|
5137
|
-
]]]
|
|
5138
|
-
"externalNames": ["propagate"]
|
|
4568
|
+
]]]
|
|
5139
4569
|
},
|
|
5140
|
-
externals: () =>
|
|
4570
|
+
externals: { "propagate": () => propagate }
|
|
5141
4571
|
}) && $.f)({}), { size: [WAVE_GRID, WAVE_GRID] }) : null;
|
|
5142
4572
|
let prevPx = .5;
|
|
5143
4573
|
let prevPy = .5;
|