You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows 11, Forward+, Intel i7-13700k, Nvidia RTX 4070ti
Also replicated on: Windows 10, Forward+, Intel i7-11850H, Nvidia MX450
Also replicated on: Windows 11, Forward+, AMD Ryzen 7 6800 HS, Nvidia 3060M (both discrete & integrated graphics)
But on: Ubuntu 22.04, AMD Ryzen 7 6800 HS, Nvidia 3060M:
It works as expected on all renderers for (a) integrated graphics, (b) on dedicated graphics + X11 (nouveau), and (c) on Wayland (all combinations I tried)
The window gets opened but doesn't show at all (no pink rect) with the proprietary 530 driver if using Forward+ or Mobile but it does show if using Compatibility
Not affected by monitor or number of monitors.
Issue description
When creating a new window with Window.new(), add_child() etc, I'm trying to make it transparent. I've enabled Display > Window > Size > Transparent, Display > Window > Per Pixel Transparency > Allowed and Rendering > Viewport > Transparent Background and I've set all flags that seem relevant:
This is due to Windows making those windows use exclusive fullscreen if they match the screen size. As a workaround, make their width or height 1 pixel smaller than the screen's width/height.
Instead of setting window to borderless and setting window size manually (which is equivalent to WINDOW_MODE_EXCLUSIVE_FULLSCREEN), try using WINDOW_MODE_FULLSCREEN, it should prevent OS from disabling compositor when in full screen and allow transparency to work.
Godot version
4.0.2 + 4.0.3 + 4.1
System information
Windows 11, Forward+, Intel i7-13700k, Nvidia RTX 4070ti
Also replicated on: Windows 10, Forward+, Intel i7-11850H, Nvidia MX450
Also replicated on: Windows 11, Forward+, AMD Ryzen 7 6800 HS, Nvidia 3060M (both discrete & integrated graphics)
But on: Ubuntu 22.04, AMD Ryzen 7 6800 HS, Nvidia 3060M:
Not affected by monitor or number of monitors.
Issue description
When creating a new window with
Window.new()
,add_child()
etc, I'm trying to make it transparent. I've enabledDisplay > Window > Size > Transparent
,Display > Window > Per Pixel Transparency > Allowed
andRendering > Viewport > Transparent Background
and I've set all flags that seem relevant:But the window turns completely completely black (minus the
ColorRect
which show fine, as soon as OBS catches up):Edit: The recording show the transitions as taking some time but they actually happen instantly. Not sure what the issue with the recording is :/
WindowTransparency.mp4
However when I change the size:
Everything works fine:
WindowTransparency2.mp4
Steps to reproduce
Minimal reproduction project
WindowTransparency.zip
The text was updated successfully, but these errors were encountered: