public void UpdateDirectionalShadowResolution(int resolution, int cascadeCount)
        {
            Vector2Int atlasResolution = new Vector2Int(resolution, resolution);

            if (cascadeCount > 1)
            {
                atlasResolution.x *= 2;
            }
            if (cascadeCount > 2)
            {
                atlasResolution.y *= 2;
            }

            m_CascadeAtlas.UpdateSize(atlasResolution);
        }