Stefan Dresselhaus
ba84ede01d
HUD-Texture renders and the whole screen is black. Still TODO: - Will have to sort out alpha - Clean up refs #472 @5h
10 lines
171 B
GLSL
10 lines
171 B
GLSL
#version 110
|
|
|
|
attribute vec2 position;
|
|
varying vec2 texcoord;
|
|
|
|
void main()
|
|
{
|
|
gl_Position = vec4(position, 0.0, 1.0);
|
|
texcoord = position * vec2(0.5) + vec2(0.5);
|
|
} |