2021-04-18 15:13:56 +02:00
|
|
|
#ifdef GL_ES
|
2021-04-15 15:14:20 +02:00
|
|
|
precision mediump float;
|
2021-04-18 15:13:56 +02:00
|
|
|
#endif
|
2021-04-15 15:14:20 +02:00
|
|
|
|
|
|
|
uniform sampler2D texture;
|
|
|
|
|
|
|
|
varying vec2 uv;
|
|
|
|
|
|
|
|
#define fetch(p) texture2D(texture, p).r
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
gl_FragColor = texture2D(texture, uv);
|
|
|
|
}
|