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

Add alphas channel for instanced meshes. Update example. #25211

Closed
wants to merge 2 commits into from

Conversation

Displee
Copy link

@Displee Displee commented Dec 31, 2022

Related issue: https://discourse.threejs.org/t/add-opacity-to-vertice-colors-and-instanced-geometry/26298

Will give you the ability to set the opacity for colors in instanced meshes.

@WestLangley
Copy link
Collaborator

Transparency does not work well with instancing because the instances are not depth-sorted.

Here is the same scene rendered from different view directions:

Screenshot 2022-12-31 at 6 12 57 PM

Screenshot 2022-12-31 at 6 12 14 PM

@Displee
Copy link
Author

Displee commented Jan 1, 2023

I guess we need a separate example (or none at all) in that case.

@Mugen87
Copy link
Collaborator

Mugen87 commented Jan 1, 2023

We should not add features to the library that do not properly work. I vote to not support alpha for now.

@Mugen87 Mugen87 closed this Jan 3, 2023
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

Successfully merging this pull request may close these issues.

None yet

3 participants