Hi, I am trying to load a model that has mirror material in GLF Loader. But the mirror is not looking as mirror. I have tried to load on online GLTF viewer also.
This is my model
This is the online GLTF loader
I am not understanding what the problem is. Do I have to change something.
Any help would be much appreciated
@mjurczyk
I think that our colleague @mjurczyk will be able to help you more when he sees the code. Then he will probably assess why the mirror doesn’t look like a mirror…
By mirror material, do you mean MeshStandardMaterial with metalness:1 and roughness: 0 ?
I mirror needs an environment to reflect so for that you will need to use an environment map.
Right now your “mirror” is reflecting the completely black environment that it is in.
Additionally… reflective materials will not reflect other objects in the scene… only what information is in the environment map.
If you want a more complex/realistic mirror, you’ll probably need to implement it with something like this sample:
https://threejs.org/examples/?q=reflec#webgl_mirror