celestia/shaders/text_vert.glsl

14 lines
259 B
Plaintext
Raw Normal View History

attribute vec2 in_Position;
attribute vec2 in_TexCoord0;
attribute vec4 in_Color;
2019-12-15 13:10:43 -07:00
varying vec2 texCoord;
varying vec4 color;
void main(void)
{
2020-05-12 09:51:25 -06:00
gl_Position = MVPMatrix * vec4(in_Position.xy, 0, 1);
texCoord = in_TexCoord0.st;
color = in_Color;
2019-12-15 13:10:43 -07:00
}