2021-32-bit-holiday-jam/shaders/terrain-vert.glsl

16 lines
257 B
GLSL

#define lowp
#define mediump
#define highp
#line 0
attribute highp vec4 attr_pos;
attribute lowp vec3 attr_color;
uniform highp mat4 uni_mvp;
varying lowp vec3 vary_color;
void main (void) {
vary_color = attr_color;
gl_Position = uni_mvp * attr_pos;
}