16 lines
257 B
Plaintext
16 lines
257 B
Plaintext
|
#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;
|
||
|
}
|