From aee34caafd73eeee5e2694ad37f43daba785427a Mon Sep 17 00:00:00 2001 From: kanym Date: Wed, 5 Aug 2026 21:40:22 +0200 Subject: [PATCH] style(dvergar): shrink the cap from most of a face to an eye The buried-ball idea is right and the first sizing of it was not: a 30mm radius clearing the face by 9mm showed a 43mm cap. Radius halved to 15mm and the centre pulled out to keep about 4mm of clearance, which gives roughly a 20mm eye. Halving the radius also halves how hard the cap reacts to a millimetre of depth, which matters more than the size itself - the big ball made every adjustment an overshoot. --- JotunnModStub/Dvergar/DvergarConfig.cs | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/JotunnModStub/Dvergar/DvergarConfig.cs b/JotunnModStub/Dvergar/DvergarConfig.cs index f13e600..995139c 100644 --- a/JotunnModStub/Dvergar/DvergarConfig.cs +++ b/JotunnModStub/Dvergar/DvergarConfig.cs @@ -108,13 +108,18 @@ namespace RacesOfValheim // cap, pull it out to grow one. // // Sized off two measurements. At a centre of 82mm with an 8mm radius the eyes were - // visible; at 74mm with the same radius they were gone. So the face sits about 85-90mm - // from the head bone, and a 30mm radius centred at 65mm clears it by roughly a - // centimetre. All values here are pre-scale - a Dvergar renders at 0.78. + // visible; at 74mm with the same radius they were gone. So the face sits about 86mm from + // the head bone. All values here are pre-scale - a Dvergar renders at 0.78. + // + // The cap grows far faster than the depth that makes it, and faster still on a big ball: + // a 30mm radius clearing the face by 9mm showed a 43mm cap, most of a face. Radius is + // halved for that reason - it does not only shrink the cap, it halves how violently the + // cap answers to a millimetre of depth, which is the difference between tuning this and + // fighting it. 15mm of radius clearing by 4mm gives about 20mm of eye. public static readonly float EyeSeparation = 0.032f; // half the distance between them - public static readonly float EyeForward = 0.083f; // centre ~65mm out + public static readonly float EyeForward = 0.096f; // centre ~75mm out public static readonly float EyeHeight = 0.200f; - public static readonly float EyeSize = 0.077f; // ~60mm across, so a 30mm radius + public static readonly float EyeSize = 0.038f; // ~30mm across, so a 15mm radius // Base glow, before any star. The tiers replace it with the emissive colours the game // itself gives a starred dverger - RGBA(0, 4, 3.3) at one star and RGBA(12, 0, 8.8) at