Skip to content
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

Lemur IconComponent transparency issue #105

Open
Ali-RS opened this issue Jan 27, 2022 · 0 comments
Open

Lemur IconComponent transparency issue #105

Ali-RS opened this issue Jan 27, 2022 · 0 comments

Comments

@Ali-RS
Copy link
Contributor

Ali-RS commented Jan 27, 2022

IconComponent by default applies an "AlphaDiscardThreshold" to the texture. If the icon has a transparent shadow, setting the alpha discard will remove the shadow.

See the forum topic:
https://hub.jmonkeyengine.org/t/lemur-iconcomponent-with-transparent-icon/45257

pspeed42 added a commit that referenced this issue Jan 28, 2022
…e alpha discard

to be set externally and the value now defaults to 0 instead of 0.1.  This is a breaking
change for any UIs relying on the hard-coded alpha discard of 0.1 but that should be the
rarer use-case.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant