Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mrjustaguy opened this issue Nov 10, 2021 · 2 comments

Comments

@mrjustaguy
Copy link
Contributor

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

@Calinou Calinou changed the title 2 Split Blending blends 2nd & non-existant 3rd split Vulkan: DirectionalLight3D PSSM 2 Split Blending blends 2nd & non-existant 3rd split Nov 10, 2021
@Calinou Calinou added this to the 4.0 milestone Nov 10, 2021
@Calinou
Copy link
Member

Calinou commented Oct 7, 2023

Still reproducible on 4.2.dev 6916349 (Linux, NVIDIA 535.113.01). This does not occur when using Compatibility, only Forward+ and Mobile.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants