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

Fix collada transparency handling. #22907

Merged
merged 1 commit into from
Nov 29, 2021
Merged

Conversation

kovacsv
Copy link
Contributor

@kovacsv kovacsv commented Nov 28, 2021

Description

The modification made in #22679 broke the transparency handling, because some models now appear fully transparent, but they shouldn't. According to the official collada specification, the opaque attribute for the transparent object is optional, and the default value is 'A_ONE'.

Now I implemented this behaviour, and also removed the code added in #22679. I don't fully understand how the previous solution would solve the problem of missing opaque value, but it wasn't correct according to the specification.

According to the official collada specification, the opaque attribute for the transparent object is optional, and the default value is 'A_ONE'.
@Mugen87
Copy link
Collaborator

Mugen87 commented Nov 29, 2021

/cc @BSpolantis

@Mugen87 Mugen87 added this to the r136 milestone Nov 29, 2021
@mrdoob mrdoob merged commit 92bb915 into mrdoob:dev Nov 29, 2021
@mrdoob
Copy link
Owner

mrdoob commented Nov 29, 2021

Thanks!

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.

3 participants