Pbr Materials and SceneLoader

Hello , please how can i add an AlbedoTexture to specific mesh uploaded with SceneLoader ?

https://www.babylonjs-playground.com/#U2J1G8

Thanks

The skull has no uv coordinates defined, so you won’t be able to texture it.

In my .obj file i have the Uv . I tried to change the metallic value which is 1 by default … i made it 0.99 , and now i can see the texture , but in the same time i lose the microSurface property.

Any solution please ?

Thanks

Lower the reflectivityColor to be able to see the texture:

https://www.babylonjs-playground.com/#U2J1G8#1

Note that in the metallic workflow you have the roughness parameter, which is like the microSurface parameter but inverted (roughness = 1 - microSurface). It may be easier to work with the metallic workflow than with the glossiness one.

1 Like

Works now ; thanks