summaryrefslogtreecommitdiffhomepage
path: root/shaders/tile-shader.vert
diff options
context:
space:
mode:
Diffstat (limited to 'shaders/tile-shader.vert')
-rw-r--r--shaders/tile-shader.vert8
1 files changed, 2 insertions, 6 deletions
diff --git a/shaders/tile-shader.vert b/shaders/tile-shader.vert
index 17ead0d9..681a62a9 100644
--- a/shaders/tile-shader.vert
+++ b/shaders/tile-shader.vert
@@ -2,17 +2,13 @@ precision highp float;
layout (location = 0) uniform vec2 scale;
layout (location = 1) uniform vec2 offset;
-uniform sampler2D samplers[32];
in vec4 position;
in vec2 texcoords;
-in uint sampler_id;
-out vec2 out_texcoords;
-flat out uint frag_sampler_id;
+out vec2 frag_texcoords;
void main() {
- out_texcoords = texcoords;
- frag_sampler_id = sampler_id;
+ frag_texcoords = texcoords;
float cx = 2/scale.x, cy = 2/scale.y;
float x = position.y, y = position.x, z = position.z;