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

@ -23,7 +23,7 @@ color = Color(0, 1, 0, 1)
polygon = PackedVector2Array(-64, 48, -44, 48, -44, 24, -64, 24)
color = Color(1, 0, 0, 1)
[node name="Label" type="Label" parent="."]
[node name="Label" type="Label" parent="." groups=["text_viewport"]]
offset_left = -16.0
offset_top = -32.0
offset_right = 16.0