Can I set the material opacity? #2501
Unanswered
Turtleted21
asked this question in
Q&A
Replies: 2 comments 8 replies
-
Yes, simply follow this example and set the alpha channel of your base color to your desired opacity. |
Beta Was this translation helpful? Give feedback.
8 replies
-
hmm just checking if it is still possible to set alphaMode = 'blend' so that the a of rgba shows opacity? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello
Can I set the material opacity? I don't found a example,
I look here https://github.com/google/model-viewer/blob/master/packages/model-viewer/src/features/scene-graph/material.ts
I tried
material.opacity = 0.5;
with no sucessWith three.js we can set the material opacity with a glb model.
three js editor test with DamagedHelmet.glb :

Thanks
Beta Was this translation helpful? Give feedback.
All reactions