-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Problems with label backgrounds #4927
Comments
Perhaps the background is not getting the new Otherwise, are we sure the background billboard collection is always added before the label billboard collection? Otherwise, is |
Does this only happen when clamped to ground? |
Possibly related to #4736, clamped billboards can shake. |
The problem seems to be sampling the texture. The default used by the texture atlas is linear. For smaller sized fonts, all of the sampled texels have an alpha < 1. You can test this by changing the label collection to use |
If we need a workaround for this, we can also force |
#4886 appears to cause problems for labels with backgrounds:
Run http://localhost:8080/Apps/Sandcastle/index.html?src=Ground%20Clamping.html&label=Showcases
The label text should be opaque and the background translucent, but there's an issue that makes the font appear as if it's behind it's background (not always). @bagnell thinks this is a draw order issue.
CC @emackey
The text was updated successfully, but these errors were encountered: