7 lines
190 B
GLSL
7 lines
190 B
GLSL
$HEADER$
|
|
void main (void) {
|
|
frag_color = color * vec4(1.0, 1.0, 1.0, opacity);
|
|
tex_coord0 = vTexCoords0;
|
|
gl_Position = projection_mat * modelview_mat * vec4(vPosition.xy, 0.0, 1.0);
|
|
}
|