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

2d sprites going black or having other visual issues #86680

Closed
Armynator opened this issue Jan 1, 2024 · 3 comments
Closed

2d sprites going black or having other visual issues #86680

Armynator opened this issue Jan 1, 2024 · 3 comments

Comments

@Armynator
Copy link

Tested versions

Introduced with [12a519b], last version without this issue is [daa8942] for me

System information

Godot v4.3.dev.mono (13a0d6e) - Windows 10.0.22621 - Vulkan (Mobile) - dedicated NVIDIA GeForce RTX 3080 Ti (NVIDIA; 31.0.15.4584) - Intel(R) Core(TM) i9-14900K (32 Threads)

Issue description

Sprites are not behaving as expected. They can go completely black or use a wrong shader. It seems to be affected by ordering and/or parenting of the sprite nodes.

See video: https://www.youtube.com/watch?v=LjBuUqDFFJY

Steps to reproduce

  1. add sprites to scene
  2. use custom shader(s)
  3. notice sprite(s) going black or other visual artifacts

Minimal reproduction project (MRP)

The shaders are from a bigger project, where I first noticed this in. I created a minimal reproduction project which was used for the video I linked. Open node_2d.tscn and do the same as shown in the video. Testing the same project with an older build ([daa8942]) fixes the issue for me. With [12a519b] or later it's 100% reproducible.
BugTestRepro.zip

@saierXP
Copy link

saierXP commented Jan 1, 2024

Maybe it's the same as this one. Same as OP, [daa8942] is OK.

@Rudolph-B
Copy link
Contributor

Rudolph-B commented Jan 16, 2024

I was able to replicate the issue on 12a519b. I then tested on 04eafd5. The bug is not present in the newer commit. Was specifically fixed in #86522

@Armynator
Copy link
Author

Fixed with #86522

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

6 participants