
#ifndef I_PARTICLE_EMITTER_H
#define I_PARTICLE_EMITTER_H

#ifdef VERT_STAGE
ATTRIBUTE(0) vec3 position;
ATTRIBUTE(1) vec2 texCoordRawIn;
#endif

#ifdef FRAG_STAGE
OUT(0) vec4 fragColor;
#endif

UNIFORM(0) sampler2D sprite_tex;
UNIFORM(1) vec4 sprite_tex_region;
UNIFORM(2) float time;
UNIFORM(3) vec2 seed;
UNIFORM(4) vec4 tint;
UNIFORM(6) vec3 color_base;
UNIFORM(7) vec3 color_nstate;
UNIFORM(8) vec3 color_nstate2;

VARYING(0) vec4 tex_coord;
VARYING(1) vec4 color;

#endif
