playcanvas
Version:
Open-source WebGL/WebGPU 3D engine for the web
114 lines (89 loc) • 2.27 kB
JavaScript
var particle_shader_default = (
/* wgsl */
`
uniform animTexTilesParams: vec2f;
uniform animTexParams: vec4f;
uniform animTexIndexParams: vec2f;
varying ParticleMat0: vec3f;
varying ParticleMat1: vec3f;
varying ParticleMat2: vec3f;
varying Normal: vec3f;
varying vDepth: f32;
// wrap is not used on CPU, it was commented out. TODO: investigate why
return output;
}
`
);
export {
particle_shader_default as default
};