Replies: 2 comments
-
Yes, we need to implement these. FYI @timmmeh |
Beta Was this translation helpful? Give feedback.
0 replies
-
Got it, added to the list
…On Wed, Jul 7, 2021 at 11:12 AM Emmett Lalish ***@***.***> wrote:
Yes, we need to implement these. FYI @timmmeh <https://github.com/timmmeh>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2558 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABZY3MRXDSUYM6VJ4KQYEB3TWSKHZANCNFSM474RFGCQ>
.
|
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
-
Hi, Currently I'm working on the manipulation of the materials and textures.
I'm having an issue regarding the getter and setter of 'alphaMode'.
What I'm experiencing is that whenever I change the confings of material, it's changing the alphaMode to "OPAQUE" whether the material has alphaMode of "OPAQUE", "BLEND" , "MASK".
Main issue is coming when I'm manipulating the material that have alphaMode besides "OPAQUE", Like in my case, I have a material in the model that is glass and has "BLEND" alphaMode. But It's blendMode is changing to "OPAQUE" as soon as I select this glassy material and make some configs of matalic/roughness and glassy material looses it's transparency.
I'm seeing through console that there is no getter and setter for alphaMode.
Meanwhile, I'm able to get the alphaMode through 'sourceObject' symbol but there is no way to set the alphaMode again.
Is there any way to get and set the alphaMode of material?
Also, the getter and setter for alphaCutOff and for doubleSided
I was exploring the git repository and There were some functions like
alphaMode() and setAlphaMode , alphaCutOff and setAlphaCurOff, doubleSided and setDoubleSided and so on.. BUT these are not being exposed in the scene graph API.
Is there any way to handle this?
Edited:
My issue has been resolved
It was error on my side. As, I was missing the alpha channel of baseColorFactor rgba . It was always set to '1' that was effecting tranparency.
baseColorFactor -> rgba
emissiveFactor -> rgb
But still I want to know the getter and setter for alphaMode/alphaCutOff/doubleSided..
I think and believe, it will be available in the next release of the package.
Beta Was this translation helpful? Give feedback.
All reactions