UNPKG

playcanvas

Version:

Open-source WebGL/WebGPU 3D engine for the web

40 lines (32 loc) 788 B
var particle_simulation_default = ( /* glsl */ ` #include "particleUpdaterInitPS" #ifdef PACK8 #include "particleInputRgba8PS" #include "particleOutputRgba8PS" #else #include "particleInputFloatPS" #include "particleOutputFloatPS" #endif #ifdef EMITTERSHAPE_BOX #include "particleUpdaterAABBPS" #else #include "particleUpdaterSpherePS" #endif #include "particleUpdaterStartPS" #ifdef RESPAWN #include "particleUpdaterRespawnPS" #endif #ifdef NO_RESPAWN #include "particleUpdaterNoRespawnPS" #endif #ifdef ON_STOP #include "particleUpdaterOnStopPS" #endif #include "particleUpdaterEndPS" ` ); export { particle_simulation_default as default };