12 lines
170 B
GLSL
12 lines
170 B
GLSL
|
precision mediump float;
|
||
|
|
||
|
uniform sampler2D texture;
|
||
|
|
||
|
varying vec2 uv;
|
||
|
|
||
|
#define fetch(p) texture2D(texture, p).r
|
||
|
|
||
|
void main() {
|
||
|
gl_FragColor = texture2D(texture, uv);
|
||
|
}
|