I can’t reproduce this on the playground as it’s specific to a zip file of assets purchased from sketchfab.
I was working on trying to recreate this space
My download included a zip file containing
.obj
.mtl
and what I assume are 4 texture files in .jpg format:
diffuse
emission
metallic
roughness
I imported my .obj as a collection of meshes, this gives me the framework of the 3d asset.
I first tried adding each to what seemed like the obvious material property,
diffusionTexture = diffuse
emissiveTexture = emission
reflectionTexture = metallic (hoping this would give that black ‘shine’ i see in the demo
bumpTexture = roughness
This gave me a near super white everything, i think it has something to do with the reflectionTexture, seems that should be an alpha channel map, rather than a 2d plane of black and white
I did some trial and error, and got pretty close to the final render I was trying to recreate by creating a new standard material and added (respectively)
diffuseTexture = diffuse
ambientTexture = metallic
bumpTexture = roughness
lightmaptexture = emission
But this still doesn’t actually give me all of the solid black reflective surfaces I see in the asset demo.
I also tried using the .mtl file, as it seemed that was designed to be some sort of ‘map’ of how these assets were supposed to go, but haven’t gotten a definitive result.
I wanted to ask if this is a common way to use babylon, (purchasing a 3d asset from a third-party), and should I expect that I can import these files into the right properties, in the correct manner so that I can recreate what I purchased?
I don’t see a way to add pictures here, that may help, I can host them on a different site if needed, but
I’m just not familiar with 3d assets, and any help would be welcome.