godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
90.78k stars 21.13k forks source link

Outlines go around shadows on (non-RichText) Labels #35961

Open FringeSci-com opened 4 years ago

FringeSci-com commented 4 years ago

Godot version: 3.2

OS/device including version: Windows 10 AMD FX-8320 GTX 1060 6GB

Issue description: 3.2 caused (non-RichText) Label nodes with an outline and a shadow to have the outline to go around the shadow, instead of the outline going around the text and the shadow going underneath the outline.

RichTextLabel nodes still have expected functionality. If you open the project in 3.1 then regular Labels also work as expected.

outline text bug

Steps to reproduce: Create a (regular, non-RichText) Label with a shadow and outline.

Minimal reproduction project: outline_text_bug.zip

Calinou commented 4 years ago

I guess this is a side-effect of https://github.com/godotengine/godot/pull/30168, as I didn't figure out a way to draw the outline with the font shadow's color. Sorry :slightly_frowning_face:

(This is usually not an issue when using black outlines.)