
#ifndef I_LASER_H
#define I_LASER_H

#include "../lib/defs.glslh"

#ifdef VERT_STAGE
ATTRIBUTE(0) vec3 position;
ATTRIBUTE(1) vec4 instance_posAB;
ATTRIBUTE(2) vec4 instance_widthAB_timeAB;
#endif

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

UNIFORM(0) float sdf_range;

VARYING(0) vec2 texCoord;
VARYING(1) vec4 segment;
VARYING(2) vec2 coord;
VARYING(3) vec2 segment_width;
VARYING(4) float segment_time;

#endif
