wumingqyl Posted July 26, 2018 Share Posted July 26, 2018 Correct: use babylon viewer .It looks like a occlusion problem.Did I forget what? No answer was found in the document. Thanks to anyone let viewer = new BabylonViewer.DefaultViewer(domElement, { scene: { antialiasing: true, assetsRootURL:'./' }, lab: { defaultRenderingPipelines: { bloomEnabled: true, bloomThreshold: 1.0, fxaaEnabled: true, bloomWeight: 0.2 } }, model: { url:"./mode/shafa1.glb" }, templates: { loadingScreen: { params: { backgroundColor: "#aaa", loadingImage: "./logo.png" } } } }); Quote Link to comment Share on other sites More sharing options...
wumingqyl Posted July 27, 2018 Author Share Posted July 27, 2018 The problem is a ma that can't be solved? Quote Link to comment Share on other sites More sharing options...
Guest Posted July 27, 2018 Share Posted July 27, 2018 Hello we need a repro to help you Looks like you models are considered transparent, can you make sure blending is off in your gltf? Quote Link to comment Share on other sites More sharing options...
Rodrix3 Posted July 28, 2018 Share Posted July 28, 2018 I believe I am familiar with this problem. Manually open your GLTF file and set "alphaMode":"OPAQUE" (search for alphaMode and set to that value) That should fix the issue. If you are exporting from 3ds Studio Max ensure that your textures are not using alpha mode which is set automatically every time you load a png, even if it has no transparency. Hope it helps wumingqyl 1 Quote Link to comment Share on other sites More sharing options...
wumingqyl Posted July 29, 2018 Author Share Posted July 29, 2018 On 2018/7/28 at PM2点48分, Rodrix3 said: 我相信我熟悉这个问题。 手动打开您的GLTF文件并进行设置 “alphaMode”: “不透明” (搜索alphaMode并设置为该值) 这应该解决问题。 如果从3ds Studio Max导出,请确保纹理不使用每次加载png时自动设置的alpha模式,即使它没有透明度。 希望能帮助到你 Thank you very much. I checked gltf, you are right. This is the default setting for Marmoset Toolbag to export gltf. Rodrix3 1 Quote Link to comment Share on other sites More sharing options...
Rodrix3 Posted July 29, 2018 Share Posted July 29, 2018 1 hour ago, wumingqyl said: Thank you very much. I checked gltf, you are right. This is the default setting for Marmoset Toolbag to export gltf. I am glad I helped! I struggled myself and a lot with this issue until I discovered how to fix it! Success on your project GameMonetize 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.