18 lines
370 B
Plaintext
18 lines
370 B
Plaintext
|
#ifdef GL_ES
|
||
|
precision highp float;
|
||
|
#endif
|
||
|
|
||
|
/* Outputs to the fragment shader */
|
||
|
varying vec4 frag_color;
|
||
|
varying vec2 tex_coord0;
|
||
|
|
||
|
/* vertex attributes */
|
||
|
attribute vec2 vPosition;
|
||
|
attribute vec2 vTexCoords0;
|
||
|
|
||
|
/* uniform variables */
|
||
|
uniform mat4 modelview_mat;
|
||
|
uniform mat4 projection_mat;
|
||
|
uniform vec4 color;
|
||
|
uniform float opacity;
|