Second camera can see GUI

Hello,
I use second camera as minimap, then can see gui(button)
Ou46tYE9F2
But I don’t want the second camera to see the GUI(button),
How to solve it, thank you

You can use layerMask for this
https://doc.babylonjs.com/how_to/layermasks_and_multi-cam_textures

4 Likes

Thanks for your help, much appreciated.

1 Like