#version 300 es /* +------------------------------------------------------+ ____/ \____ /| - Open source game framework licensed to freely use, | \ / / | copy, modify and sell without restriction | +--\ ^__^ /--+ | | | ~/ \~ | | - created for | | ~~~~~~~~~~~~ | +------------------------------------------------------+ | SPACE ~~~~~ | / | ~~~~~~~ BOX |/ +-------------*/ /* The precision declaration is required by OpenGL ES */ precision mediump float; in vec2 in_Position; in vec2 vertexUV; in vec3 in_Color; out vec2 UV; out vec4 ex_Color; void main(void) { gl_Position = vec4(in_Position, 0.0, 1.0); UV = vertexUV; ex_Color = vec4(in_Color, 1.0); }