From 8c004e3d7ffb1fb89a56115064a705a2dbd9d68f Mon Sep 17 00:00:00 2001 From: kanym Date: Wed, 5 Aug 2026 21:09:02 +0200 Subject: [PATCH] style(dvergar): sink the eyes another centimetre EyeForward 0.115 to 0.105, about a centimetre on a Dvergar. Agreed on the profile - they were still reading as sitting on the face rather than in it. Also records the usable range, which is narrow: 0.095 buried them completely and 0.140 stood them off the skull, so the whole band is four centimetres and the eye is a two-centimetre ball. Most of it is meant to be inside. --- JotunnModStub/Dvergar/DvergarConfig.cs | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/JotunnModStub/Dvergar/DvergarConfig.cs b/JotunnModStub/Dvergar/DvergarConfig.cs index 300cb7d..1a8447e 100644 --- a/JotunnModStub/Dvergar/DvergarConfig.cs +++ b/JotunnModStub/Dvergar/DvergarConfig.cs @@ -95,12 +95,16 @@ namespace RacesOfValheim // reference and is not: it is where the camera goes, half a metre above the head bone, // and starting from it put the eyes in the treetops. That was measured, not guessed - // the trace is in the commit history. - // These are pre-scale numbers: a Dvergar renders at 0.78, so 0.140 forward lands about - // 0.109m out. The bone is at the base of the skull, and a face is further forward than it - // looks - at 0.095 the eyes were correctly placed and entirely inside the head, which the - // depth-tested shader then hid completely. + // These are pre-scale numbers: a Dvergar renders at 0.78, so 0.105 forward lands about + // 0.082m out from the bone at the base of the skull. + // + // EyeForward has less room than it looks. At 0.095 the eyes were placed correctly and + // vanished outright - the face surface was in front of them and the shader is + // depth-tested - while 0.140 had them standing off the skull in profile. The whole usable + // band is those four centimetres, and the eye is a two-centimetre ball, so most of it + // ends up buried by design and only the front cap shows. public static readonly float EyeSeparation = 0.032f; // half the distance between them - public static readonly float EyeForward = 0.115f; + public static readonly float EyeForward = 0.105f; public static readonly float EyeHeight = 0.200f; public static readonly float EyeSize = 0.020f;