shadows-that-look-right
IndexedGet crisp, stable, correctly placed shadows in three.js: enable the shadow map, fit the directional light's shadow camera to the scene bounds, pick a map size, tune bias and normalBias against shadow acne and peter-panning, soften with shadow.radius, catch shadows on an invisible ground with ShadowMaterial, and freeze the shadow map for static scenes. Use when shadows are missing, blocky, pixelated, striped (acne), detached from the object (peter-panning), cut off at an edge, flickering, too dark, or too slow on mobile, or when the user asks how to add shadows or a ground shadow under a model.
Install
$ npx skills add https://github.com/nirholas/three.ws --skill shadows-that-look-right
The skills CLI downloads the skill from GitHub when you run the command, so what you get may have changed since the scan.
Scan
The scan flagged nothing in SKILL.md when it was last read. It doesn’t read the skill’s other files, and a clean scan doesn’t prove a skill is safe.
Copies
No other indexed repository has this exact folder.