Mindustry/core/assets/bloomshaders/screenspace.vert

13 lines
218 B
GLSL
Raw Normal View History

2019-06-25 06:39:57 +07:00
#ifdef GL_ES
#define MED mediump
#else
#define MED
#endif
attribute vec4 a_position;
attribute vec2 a_texCoord0;
varying MED vec2 v_texCoords;
void main()
{
v_texCoords = a_texCoord0;
gl_Position = a_position;
}