summaryrefslogtreecommitdiff
path: root/shaders/smooth_camera.glsl
blob: 7c8e822d153c0e179c19fcfb933f1912ed866f2d (plain)
1
2
3
4
5
extern vec2 offset;

vec4 effect(vec4 color, Image tex, vec2 texture_coords, vec2 screen_coords) {
    return Texel(tex, texture_coords + offset);
}