diff options
author | Hop311 <Hop3114@gmail.com> | 2023-04-09 14:13:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-09 14:13:33 +0200 |
commit | a44253be41840ca3236dbfa5f2a46a9dd7a8d300 (patch) | |
tree | db1ecab6ed20eb0a0a72deb15b5b40ec154f3e24 /game/src/GameSession/TerrainMap.gdshader | |
parent | 55723c35dfbcf9445873724906f8e3c448b6689f (diff) | |
parent | c3034b0ecadeca4041796dc93d7080156f589fa2 (diff) |
Merge branch 'terrain-map' into minimap
Diffstat (limited to 'game/src/GameSession/TerrainMap.gdshader')
-rw-r--r-- | game/src/GameSession/TerrainMap.gdshader | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/game/src/GameSession/TerrainMap.gdshader b/game/src/GameSession/TerrainMap.gdshader index a6774fd..f3d0c7d 100644 --- a/game/src/GameSession/TerrainMap.gdshader +++ b/game/src/GameSession/TerrainMap.gdshader @@ -37,7 +37,7 @@ void fragment() { uint selected_index = read_uint16(province_index_tex, selected_pos); // Boost prov_colour's contribution if it matches hover_colour or selected_colour - float mix_val = float(prov_index == hover_index) * 0.3 + float(prov_index == selected_index) * 0.5; + float mix_val = 0.3 + float(prov_index == hover_index) * 0.3 + float(prov_index == selected_index) * 0.3; // Don't mix if the province index is 0 mix_val *= float(prov_index != 0u); |