fix(eyes): female face placement, smaller Dvergar/Aswid eyes, grey Alfar eyes

The female body maps the painted eyes about 6 mm lower and a quarter closer
together than the male one (read from bodymale/bodyfem and the skin UVs), so
every race's male-tuned eyes sat on the female brow. PlayerFace moves them for
the Dvergar, Aswid, Sverm and Alfar.

Dvergar eyes shrink to an 18 mm radius. The Aswid's borrowed sockets are
halved before the config multiplier and the smoke is off by default.

Alfar eyes become slanted, wrapped black almonds with a wet sheen. They are
placed in fixed head-local units: the live lossyScale under the non-uniform
Alfar body drifted as the head turned, and the 0.5 s cosmetic pass made the
eyes trail the face.
This commit is contained in:
kanym 2026-10-27 15:01:44 +01:00
commit 026def2fde
8 changed files with 139 additions and 42 deletions

View file

@ -126,7 +126,9 @@ namespace RacesOfValheim
public static readonly float EyeSeparation = 0.032f; // half the distance between them
public static readonly float EyeForward = 0.081f; // centre ~63mm out
public static readonly float EyeHeight = 0.181f; // ~15mm lower than before
public static readonly float EyeSize = 0.062f; // ~48mm across, so a 24mm radius
// Then cut down after playtest: at 0.062 the cap read as two lamps covering the face. An
// 18mm radius at the same depth leaves a cap of about 22mm on a 0.78 Dvergar.
public static readonly float EyeSize = 0.036f;
// How hard the eyes burn. The colours the game gives a starred dverger are HDR - one star
// is (0, 4, 3.3) - and anything past 1 clips to white on the way to the bloom pass, which