Hello! Hello! I am having issue with model with opacity. When I import alpha map, some area become transparnt which is not what I wan.t I exported as glb file but the mesh is still transparent in some area. Need some tech support if you guys know anything about this kind of issue... Thank your for your help! I have screenshot so please check.. I imported the model to Spatial.
Replies
1. What version of 3ds Max?
2. How are you exporting to GLB? Babylon.js exporter, 3ds Max glTF exporter, some other tool?
3. What material type are you using? Can you please show screenshot of material settings?
4. Can you ZIP the GLB and upload it here as an attachment? I have a lot of experience with glTF, maybe I can help.
5. What parts do you want to be transparent, and which parts not transparent?
Thank you!! That will help me alot.
Thank you for help sir...
3ds Max 2023 includes a glTF Material, you should be using it. This material has controls for Alpha Mode, and mimics glTF rendering, in the Max viewport.
https://help.autodesk.com/view/3DSMAX/2023/ENU/?guid=GUID-7ABFB805-1D9F-417E-9C22-704BFDF160FA
Your material is using Alpha Blend, which can cause sorting errors. If you switch the material to Alpha Test (called "Mask" in the material, and in the glTF specification), the sorting errors disappear.
This is in the online viewer Babylon.js, which is an excellent way to troubleshoot a glTF model. https://sandbox.babylonjs.com/
If you want the tree to be solid, and the rest of the box to be transparent, then you need to invert the texture. Black (and grays) will be transparent, and white will be opaque.
Here it is setup inside 3ds Max 2023. To get better viewport preview of Mask mode, make sure to enable High Quality mode. It is also good to disable Shadows and Ambient Occlusion because it will be a better preview of most web viewers, which do not show these features.
It worked! Thank you so much for your help! As you said, the materila was not right. All the information you provided was useful in this case. Also thank you for tips for 3dsmax. That helped me alot. I might need your help in the future...! Thank you for your time and stay safe!