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

4.3: background not cleared in compatibility mode on subviewport when environment background_mode is canvas #98958

Closed
tripodsan opened this issue Nov 8, 2024 · 1 comment

Comments

@tripodsan
Copy link

tripodsan commented Nov 8, 2024

Tested versions

  • reproducible in 4.3 compatibility mode; works in 4.2.2

System information

MacOs v4.3.stable.official [77dcf97]

Issue description

I have a split screen setup with a (transparent) subviewport and a background on a parallax background. additionally, I want to use glow, so I set environment.background_mode to Canvas. In the Forward+ renderer, this works. but with the compatibility renderer, it seems that nothing clears the background, because the environment has the canvas background, and the other solid items are on a different canvas layer (parlallax). this causes the subviewport rendering to overdraw.

Steps to reproduce

(btw, I initially thought this was an issue due to the glow...but it isn't)
setup a screne with a background on a different canvaslayer, and a subviewport with transparent background.
also set the environment background_mode to canvas:

image
2024-11-08_13-31-18.mp4

here's a demo: https://tripod.itch.io/godot-subviewport-test

Minimal reproduction project (MRP)

https://github.com/tripodsan/godot-subviewport-test

@clayjohn
Copy link
Member

clayjohn commented Jan 4, 2025

Fixed by #100388

@clayjohn clayjohn closed this as completed Jan 4, 2025
@github-project-automation github-project-automation bot moved this from For team assessment to Done in Rendering Issue Triage Jan 4, 2025
@clayjohn clayjohn added this to the 4.4 milestone Jan 4, 2025
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

3 participants