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

PanelContainer is semi-transparent, when all of the modulate/self-modulates being full white with no transparency #89932

Closed
dragon3025 opened this issue Mar 27, 2024 · 2 comments
Labels

Comments

@dragon3025
Copy link

Tested versions

v4.2.1.stable.official [b09f793]

System information

Godot v4.2.1.stable - Windows 10.0.19045 - Vulkan (Forward+) - integrated Intel(R) HD Graphics 630 (Intel Corporation; 31.0.101.2111) - Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz (4 Threads)

Issue description

I have a PanelContainer that is showing up semi-transparent. All of the nodes in the scene have modulate/self-modulate that is full none-transparent white (hovering shows R1.00, B1.00, G1.00 A1.00). The PanelContainer itself is using a custom theme and the panel's StyleBoxTexture is full opaque and the modulate is also full none-transparent white.

Steps to reproduce

You can see it in the editor and in-game. The PanelContainer is semi-transparent instead of fully opaque.

Minimal reproduction project (MRP)

Bug Test.zip

@timothyqiu
Copy link
Member

the panel's StyleBoxTexture is full opaque

In the MRP, you added the opaque stylebox to Panel. But you're using a PanelContainer. They are different nodes.

@dragon3025
Copy link
Author

the panel's StyleBoxTexture is full opaque

In the MRP, you added the opaque stylebox to Panel. But you're using a PanelContainer. They are different nodes.

I forgot that there was a different node type. Thank you, that fixed it.

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

No branches or pull requests

3 participants