How to get .Glb material texture #2562
Replies: 1 comment 1 reply
-
|
you are doing this wrong way. because this is not a URI. here URI is the URL that needs a path to the file. That's why you are getting the error of There is a function/property But, it will give you undefined. It's not working currently. v-1.7.2 So, what you can do is to take out the texture image from the and make some computations own your own to achieve your thing. This is a self hack as currently there is no function or property that will give you the uri/image/base64/blob directly. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Want to "on" "off" buttons for occlusion texture. But there is a trick in model. The occlusion texture is same with the base color texture.
when the checkbox is "off" i gave it to the value as a white background image so occlusion looks like off.
When the checkbox is "on" i want to occlusion texture is same as baseColorTexture, but i cant get the material base texture...
You guys can show the material's textures on 2D at modelviewer.dev/editor/... So there is a way to reach the material's textures in some ways.
How? Can you help me?
Beta Was this translation helpful? Give feedback.
All reactions