You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
370 B
18 lines
370 B
9 years ago
|
#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;
|