2014-01-19 12:53:35 -05:00
|
|
|
uniform sampler2D tex;
|
2014-01-04 12:12:30 -05:00
|
|
|
|
2014-02-28 11:29:05 -05:00
|
|
|
#if __VERSION__ >= 130
|
2014-01-13 09:50:16 -05:00
|
|
|
in vec2 uv;
|
2014-01-19 13:31:00 -05:00
|
|
|
out vec4 FragColor;
|
2014-02-28 11:29:05 -05:00
|
|
|
#else
|
|
|
|
varying vec2 uv;
|
|
|
|
#define FragColor gl_FragColor
|
|
|
|
#endif
|
|
|
|
|
2014-01-04 12:12:30 -05:00
|
|
|
|
|
|
|
void main()
|
|
|
|
{
|
2014-01-19 13:31:00 -05:00
|
|
|
FragColor = texture(tex, uv);
|
2014-01-04 12:12:30 -05:00
|
|
|
}
|