Skip to content

Vulkan: DirectionalLight3D PSSM 2 Split Blending blends 2nd & non-existant 3rd split #54849

Open
@mrjustaguy

Description

@mrjustaguy

Godot version

v4.0.dev.custom_build [89cf449fe]

System information

Windows 10, Vulkan, Nvidia Quadro K2000 461.92

Issue description

Blending is broken when using 2 splits instead of 4, as it treats the shadowmap as if it were 4 splits and not 2, resulting in the last split blending with non-existant splits that causes a Fade out effect, not related to the Fade Start.

Steps to reproduce

Create Directional light and Enable shadows and make a shadow
Go near the end of Max Distance, with Fade start at 1
Toggle Blend Splits on and off (On will result in a Fade, Off will result in expected result.)

Minimal reproduction project

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions