To answer this specific part: you need to update light’s target matrix if you change it’s position.
directionalLight.target.updateMatrixWorld();
it’s not mentioned anywhere in the docs tho
To answer this specific part: you need to update light’s target matrix if you change it’s position.
directionalLight.target.updateMatrixWorld();
it’s not mentioned anywhere in the docs tho