How to show meshes metallic/roughness

I’ve built a low poly mesh in Blender. The material has settings for low roughness and high metallic so it’s very metallic and glossy. It looks great in the Babylon Sandbox but I can’t replicate it in my own Babylon app. Been reading about PBR but seems I’m missing something.

Playground: Babylon.js Playground

This is how it looks in the Babylon Sandbox.

But, this is how it looks in the playground.

How do I get that same metallic look?

Nothing to do with your material, without environment, your material will look fade.
The sandbox setting up it’s own environment.
adding this line made the trick

scene.environmentTexture = BABYLON.CubeTexture.CreateFromPrefilteredData("https://assets.babylonjs.com/environments/environmentSpecular.env", scene);

I already changed your playground

You may want also to change the light and camera…

4 Likes

So, my scene needs an environment texture so reflective materials have something to reflect?

Thanks so much for your help.