Jump to content

Load gltf display exceptions


Recommended Posts



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,
lab: {
defaultRenderingPipelines: {
bloomEnabled: true,
bloomThreshold: 1.0,
fxaaEnabled: true,
bloomWeight: 0.2
model: {
templates: {
loadingScreen: {
params: {
backgroundColor: "#aaa",
loadingImage: "./logo.png"



Link to comment
Share on other sites

I believe I am familiar with this problem.

Manually open your GLTF file and set


(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 :)

Link to comment
Share on other sites

On 2018/7/28 at PM2点48分, Rodrix3 said:



“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.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...