Fixed wrong shadowmap size used in soft shadows. It now uses the actual shadowmap size instead of the requested size. This fixes incorrect shadow filtering with atlases that are larger than required to fit all lights.
However, shadows are still resolution dependent. A high resolution shadow map will get downgraded to a lower resolution when the atlas does not have enough space.
The filtering is still done in pixels instead of area. This means lower resolution shadows will be blurrier and softer than high resolution shadows.
This is by design.