mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-07-25 09:33:00 +00:00
7c20a8c958
Tested By: Stan Differential Revision: https://code.wildfiregames.com/D4837 This was SVN commit r27282.
17 lines
263 B
GLSL
17 lines
263 B
GLSL
#version 110
|
|
|
|
#include "common/stage.h"
|
|
#include "common/vertex.h"
|
|
|
|
VERTEX_INPUT_ATTRIBUTE(0, vec3, a_vertex);
|
|
VERTEX_INPUT_ATTRIBUTE(1, vec2, a_uv0);
|
|
|
|
VERTEX_OUTPUT(0, vec2, v_tex);
|
|
|
|
void main()
|
|
{
|
|
OUTPUT_VERTEX_POSITION(vec4(a_vertex, 1.0));
|
|
|
|
v_tex = a_uv0;
|
|
}
|