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

16 lines
257 B
Plaintext
Raw Normal View History

2020-12-25 17:16:14 +00:00
#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;
}