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
Godot v4.2.1.stable - macOS 14.2.1 - Vulkan (Mobile) - integrated Apple M2 Pro - Apple M2 Pro (12 Threads), also reproducible on Windows 10
Issue description
I'm converting my project from Godot 3 to 4, and I've tried implementing a 2D sprite mask. Godot 3 implements this using PointLight2D, but Godot 4 needs to use a Sprite2D with Clip Children. But I get very strange behaviour when I have a background image behind the sprite mask, the mask copies the background image and moves around when moving the sprite mask or it's children around as well, even though the background image isn't a child of the mask.
I've uploaded a preview video of what I mean as well as the sample project since it's hard to explain. This is only an issue when Clip Children is enabled.
Screen.Recording.2024-01-10.at.1.41.58.PM.mp4
Steps to reproduce
I've uploaded the sample project, just move the mask, star and Label nodes around to see the issue. Also panning, and zooming in/out in the editor produces the same issue.
Tested versions
System information
Godot v4.2.1.stable - macOS 14.2.1 - Vulkan (Mobile) - integrated Apple M2 Pro - Apple M2 Pro (12 Threads), also reproducible on Windows 10
Issue description
I'm converting my project from Godot 3 to 4, and I've tried implementing a 2D sprite mask. Godot 3 implements this using PointLight2D, but Godot 4 needs to use a Sprite2D with Clip Children. But I get very strange behaviour when I have a background image behind the sprite mask, the mask copies the background image and moves around when moving the sprite mask or it's children around as well, even though the background image isn't a child of the mask.
I've uploaded a preview video of what I mean as well as the sample project since it's hard to explain. This is only an issue when Clip Children is enabled.
Screen.Recording.2024-01-10.at.1.41.58.PM.mp4
Steps to reproduce
I've uploaded the sample project, just move the mask, star and Label nodes around to see the issue. Also panning, and zooming in/out in the editor produces the same issue.
Minimal reproduction project (MRP)
Godot_text_mask_bug.zip
The text was updated successfully, but these errors were encountered: