Jump to content

PBR demo


Recommended Posts

  • 1 month later...

I am still seeing this issue.

I am using Babylon 3.0.

The view on my iPhone 6s - iOS v10.3.3:



The view on my laptop - Safari v10.1.1, OSX v10.12.5:




My code:

var skyboxTexture = BABYLON.CubeTexture.CreateFromPrefilteredData("textures/skybox/dds/environment.dds", scene);

var treeMat = new BABYLON.PBRMetallicRoughnessMaterial("treeMat", scene);
treeMat.metallic = 0.5;
treeMat.roughness = 0.5;
treeMat.environmentTexture = skyboxTexture;

BABYLON.SceneLoader.ImportMesh("", "meshes/new/", "Tree.gltf", scene, function(meshes) {
    var mesh = meshes[0];
    mesh.material = treeMat;

Any thoughts?

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