thanks all for support, here import 3d model is added to scene to achieve reflection on ground, am i doing anything wrong here.
it was a wrong attempt
- Try before loading the reflecting model.
- Attempt to reflect the root mesh (the root mesh is not a geometry mesh).
4 Likes
having trouble in reflection, if glb file has multiple meshes,
mirrorTexture.renderList = [newMeshes[1]];
it is reflecting only one mesh.
You must add in the renderList
array all the meshes you want to be reflected:
mirrorTexture.renderList = [];
mirrorTexture.renderList.push(mesh1, mesh2, ...);
3 Likes