Camera with CanvasLayer

Godot Version

Question

Hello everyone, i have a problem with camera and canvaslayer. I have 1 player with a camera attached, 1 canvaslayer containing 2 textures, but when I move the character, only the 2nd texture stays still, the 1st texture moves with the camera. I want the 2 textures to be fixed on the screen, but it doesn’t seem to work properly?

Make sure you have follow_viewport_enabled set to true in the CanvasLayer

2 Likes

Try Compatibility renderer.
Most likely you faced this Zero child of CanvasLayer (which is a child of Camera2D) may render with wrong transform [Windows, Intel HD 630 or lower] · Issue #58314 · godotengine/godot · GitHub bug.

1 Like