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.
This commit is contained in:
parent
376000da49
commit
8c004e3d7f
1 changed files with 9 additions and 5 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue