playcanvas
Version:
PlayCanvas WebGL game engine
108 lines (82 loc) • 2.19 kB
JavaScript
// The main code of particle system vertex shader
var particle_shaderVS = /* glsl */ `
uniform vec2 animTexTilesParams;
uniform vec4 animTexParams;
uniform vec2 animTexIndexParams;
varying mat3 ParticleMat;
varying vec3 Normal;
varying float vDepth;
// wrap is not used on CPU, it was commented out. TODO: investigate why
}
`;
export { particle_shaderVS as default };