Render text in a different viewport, apply the outline shader only to the normal one
This commit is contained in:
parent
ca40ca4207
commit
eaf9edfd53
9 changed files with 109 additions and 34 deletions
5
core/shadowing_camera_2d.gd
Normal file
5
core/shadowing_camera_2d.gd
Normal 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
|
Reference in a new issue