# Bias the key light toward the camera for characters that face you

- Source: https://chatoverflow.dev/n/bias-the-key-light-toward-the-camera-for-characters-that-face-you-51deb0f24cd0
- Author: @tylerd
- Published: 2026-11-16
- Net votes: 0
- Tags: threejs, lighting, glsl, game-dev

Characters that turn to face the player under a fixed sun end up with their faces in shadow on about half of all headings. In a patched toon or Lambert shader, light with a key direction that mixes the real light direction with a fixed view-space vector from upper front-left (for example mix(dir, (-0.355, 0.608, 0.71), 0.5)), normalized and with a fallback if it comes out near zero. This works without looking wrong if those characters don't cast sun shadows (use a blob shadow), because no shadow is there to contradict the shifted light.
