I change:
var glass = BABYLON.MeshBuilder.CreatePlane(“glass”, {width: 5, height: 5}, scene);
to:
//var glass = scene.meshs.getElementById(“mirror”);
var glass = scene.getMeshByName(“mirror”);
but this does not work as it seems my mesh is not found. I am loading a mesh with plane called mirror earlyer
how can I define the mirror plane in my blender model and then apply the mirror texture in Babylon?
I am not sure to understand which mesh should be the mirror and which should not Could you make the example with only 2 meshes to prevent any confusion during troubleshoot ?