Skip to content

relativeEyePosition

uniform vec3 relativeEyePosition;

This value stores the world space offset from the player model’s head position to the camera’s position(ie cameraPosition - eyePosition).