-
Notifications
You must be signed in to change notification settings - Fork 285
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
Enable MeshShape to override alpha value #1315
Conversation
I'm not sure how I feel about adding an What if instead we always multiply the mesh material's alpha value by the |
Codecov Report
@@ Coverage Diff @@
## master #1315 +/- ##
==========================================
+ Coverage 57.12% 57.12% +<.01%
==========================================
Files 366 366
Lines 27055 27052 -3
==========================================
Hits 15454 15454
+ Misses 11601 11598 -3
|
I see your point. I think this is because setting alpha (and the color) of I would go with any better way as long as it can handle all the cases. My bottom line is that we should be able to set any value of the mesh alpha regardless of the color mode. If we go with adding alpha mode, then I'm open to the default mode. This is a little off topic, but I would like to add another color mode to |
That sounds like a reasonable compromise. We could have the "alpha blend" mode be the default while still having a mode selection available from the My only concern with loading so many "modes" into the My ideal preference would be to have a way to manage these settings from the base
I can definitely see the value of that 👍 |
Updated based on the comments. Hope the changes agrees with the compromise.
Agree. I also couldn't come up with a better solution. Let's revisit this once we have more neat solution. I saved the tinting option for future PRs. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Hopefully this makes transparency a lot easier for users 👍
This PR fixes that it was not able to change alpha value when the color mode of
MeshShape
isMATERIAL_COLOR
.Before creating a pull request
clang-format
Before merging a pull request
CHANGELOG.md