diff options
author | davidovski <david@davidovski.xyz> | 2023-07-23 23:45:47 +0200 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-07-23 23:45:47 +0200 |
commit | 661f470cc8197f643a2ab36c35fb0630f31023aa (patch) | |
tree | 8b0ad0754d0b7e0b000276c6b2cfcc9e4a330cd5 /tiled.glsl | |
parent | 0f1d7ba48387faaced30d35e64cf346d368f4a23 (diff) |
optimise chunk loading and redrawing
Diffstat (limited to 'tiled.glsl')
-rw-r--r-- | tiled.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ uniform ivec2 renderArea; out vec4 finalColor; const vec4 none = vec4(0.0f, 0.0f, 0.0f, 0.0f); -const vec4 gridColor = vec4(0.0f, 0.0f, 0.0f, 0.05f); +const vec4 gridColor = vec4(0.0f, 0.0f, 0.0f, 0.0f); bool outBounds(vec2 coords, vec2 area) { return coords.x > area.x |