aboutsummaryrefslogtreecommitdiff
path: root/game
diff options
context:
space:
mode:
author Hop311 <hop3114@gmail.com>2023-04-07 12:40:59 +0200
committer Hop311 <hop3114@gmail.com>2023-04-07 12:40:59 +0200
commit0b13a13037860cfec6644f34c2f22cd62e933d1e (patch)
treed5b8f2c6801e9a33084c1ba23d78c7fa4ff17e7c /game
parent513a1328edb89ac695c70164158933aee4546cd7 (diff)
Fixes (prov selection, index unnorming, mac print)
Diffstat (limited to 'game')
-rw-r--r--game/src/GameSession/TerrainMap.gdshader2
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/GameSession/TerrainMap.gdshader b/game/src/GameSession/TerrainMap.gdshader
index be2bbe1..a6774fd 100644
--- a/game/src/GameSession/TerrainMap.gdshader
+++ b/game/src/GameSession/TerrainMap.gdshader
@@ -14,7 +14,7 @@ uniform vec2 hover_pos;
uniform vec2 selected_pos;
uvec2 vec2_to_uvec2(vec2 v) {
- return uvec2(v * 256.0);
+ return uvec2(v * 255.0);
}
uint uvec2_to_uint(uvec2 v) {