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;
2020-05-11 11:41:35 +07:00
void main(){
2019-06-25 06:39:57 +07:00
v_texCoords = a_texCoord0;
gl_Position = a_position;
}