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

model transparency / opacity #3

Open
Ithamar opened this issue Jul 18, 2021 · 0 comments
Open

model transparency / opacity #3

Ithamar opened this issue Jul 18, 2021 · 0 comments
Labels
bug Something isn't working

Comments

@Ithamar
Copy link
Contributor

Ithamar commented Jul 18, 2021

Currently I create the model textures with (1-bit) alpha based on color (black is transparent). For this to properly work, we need to create the geometry in two groups, one is transparent faces, one is not.
Then we can pass 2 materials, one transparent, and one not, and that should get rid of the transparency issues.

If this is no option, we have to look into a custom shader for models as well.

@Ithamar Ithamar added the bug Something isn't working label Jul 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant