Details
Description
The 'dimensionsInverted' variable used in the shadow mapping shader is incorrectly calculated as half the size causing the pcfFactor and shadowBias to act twice as big for DirectionalLight. These properties should ideally match between the three light types; PointLight, SpotLight and DirectionalLight.