mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-07 16:36:52 +02:00
17 lines
270 B
GLSL
17 lines
270 B
GLSL
#ifndef HAS_VARYING_ATTRIBUTE
|
|
#define texture2D texture
|
|
#define varying in
|
|
#define attribute in
|
|
#define gl_FragColor colourOutput
|
|
out highp vec4 colourOutput;
|
|
#endif
|
|
|
|
varying highp vec2 UV;
|
|
|
|
uniform sampler2D tex;
|
|
|
|
void main()
|
|
{
|
|
gl_FragColor = texture2D(tex, UV);
|
|
}
|