-
-
Notifications
You must be signed in to change notification settings - Fork 22k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Label3D rendering solid color instead of text #100669
Comments
Regression from #100280 - sounds like nobody tested this 🙃 |
To be clear I see two issues in #100280:
|
Any chance you can share what combination of settings triggers this? It doesn't reproduce with a default Label3D. Edit: I think I might be able to work backwards from the shader actually. But in the future, it would save us a lot of time if you could share how to reproduce the issue |
I upgraded my Godot from dev 6 to dev 7, opened my project and that's what I saw, there were no specific steps I took to break it. |
I was able to work backwards from the shader. The bug requires using a font with MSDF enabled. The default font doesn't have MSDF, so it doesn't trigger this bug. Ideally your reproduction steps would have included that information to save me time. But in this case the error in the shader code had everything I needed to figure it out quickly, so it was no problem! I've already made a PR to fix this issue :) #100678 |
Hi @clayjohn, thanks for the fix, but I actually don't use any custom font in my project, only the default ones. Is there any way I can test your fix to see if it actually was the rootcause? Edit: |
Tested versions
System information
Windows 10, GeForce GTX 1660 Super, AMD Ryzen 5 2600
Issue description
After the dev 7 release, all of the Label3Ds in my project got broken, rendering just a solid gray color instead of any text. See attached screenshot of the same scene from dev 6 (with correctly rendered text) and dev 7 (with a solid color instead of text).


When I create a new project, the Label3Ds render text correctly without any issues, so I cannot reproduce it on an empty project.
In my project, I additionally have these errors on start up, related to shaders. I unfortunately don't know much about shaders, so can't tell what it means exactly, but I don't have this error when I create a new project, so this might be related to this issue with Label3D
And these errors when I run the project:
Steps to reproduce
Create a Label3D node, then add some text to it - it will render a solid gray color instead of text.
When I create a new project, the Label3Ds render text correctly without any issues, so I cannot reproduce it on an empty project.
Minimal reproduction project (MRP)
When I create a new project, the Label3Ds render text correctly without any issues, so I cannot reproduce it on an empty project.
The text was updated successfully, but these errors were encountered: