11 lines
178 B
GLSL
11 lines
178 B
GLSL
#version 330
|
|
|
|
uniform sampler2D tex;
|
|
uniform sampler2D uv;
|
|
|
|
in vec2 scr_coord;
|
|
out vecN tex_color;
|
|
|
|
void main() {
|
|
tex_color = vecN(texture(tex, texture(uv, scr_coord).xy));
|
|
} |