Color player name labels by player type

Name text fill now darkens based on player type so human players stand
out from AI: human = black, nation = a bit gray, bot = greyer. Shades are
tunable in render-settings.json (nameShadeNation, nameShadeBot; human is
always 0).

Repurpose the previously-unused pd3.z slot (was isHuman, dead in the
fragment shader) to carry a per-player grayscale shade, and use it as the
name fill color directly so it applies in both day and night.
This commit is contained in:
evanpelle
2026-06-09 19:58:46 -07:00
parent b5840d7887
commit 3552b08f7a
5 changed files with 29 additions and 17 deletions
@@ -202,6 +202,8 @@
"outlineB": 0.0,
"outlineUsePlayerColor": true,
"fillUsePlayerColor": false,
"nameShadeNation": 0.3,
"nameShadeBot": 0.4,
"emojiRowOffset": 1.4,
"statusRowOffset": 1.4
},