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 Forward+: Scaling a decal non-uniformly causes clustering artifacts to appear #73945

Open
Tracked by #57284
JohnMeadow1 opened this issue Feb 25, 2023 · 2 comments

Comments

@JohnMeadow1
Copy link

JohnMeadow1 commented Feb 25, 2023

Godot version

v4.0.rc5.official

System information

Win 10, Vulkan API 1.3.224, RTX 4070 Ti

Issue description

Decal create clustering artifacts when non uniform Y size and Y scale:

Decal_bug_thing.mp4

Steps to reproduce

Decal size non-uniform (2,1,2)
Set scale non uniform (1,0.25,1)

Reproduction.mp4

Minimal reproduction project

Decal_Clustering.zip

@WuotanStudios
Copy link

HI,
i can confirm this.
This issue only appears when using the transform - scaling.
Here a video how the issue looks like, if i use the transform-scale parameters:
https://twitter.com/WuotanStudios/status/1648257531590983688?s=20

If only the Decal-Size is used, everything works perfectly.

image

@Calinou
Copy link
Member

Calinou commented Apr 18, 2023

I can confirm this on 4.0.2 (Linux, GeForce RTX 4090 with NVIDIA 530.41.03). This only seems to occur with non-uniform scaling, not uniform scaling. This occurs both when the scale is positive or negative.

This doesn't occur when using Forward Mobile, as it doesn't use clustering.

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

5 participants