Render text in a different viewport, apply the outline shader only to the normal one

This commit is contained in:
ChaoticByte 2024-10-03 13:08:31 +02:00
parent ca40ca4207
commit eaf9edfd53
No known key found for this signature in database
9 changed files with 109 additions and 34 deletions

View file

@ -0,0 +1,5 @@
extends Camera2D
func _physics_process(_delta: float) -> void:
var orig_camera: Camera2D = NodeRegistry.player.camera
self.global_position = -orig_camera.get_viewport_transform().origin