deltamap 0.2.2

A simple map viewer
1
2
3
4
5
6
7
8
9
10
#version 100
precision highp float;

varying vec2 v_tex;
varying vec4 v_tex_minmax;
uniform sampler2D tex_map;

void main() {
    gl_FragColor = vec4(texture2D(tex_map, clamp(v_tex.xy, v_tex_minmax.xy, v_tex_minmax.zw)).rgb, 1.0);
}