Sudoku 1 Report post Posted November 22, 2018 Hi everyone, i have a setup with two cameras and i need to show some GUI elements in one viewport while showing other elements in the other one. But it seems like i can only set one layermask for all the GUI elements. Is there any workaround? PG example: In the example i would want to have the green box only rendered only with camera1 and the red box only with camera2 https://playground.babylonjs.com/#DEAE4L In the end i will use this for dropdown elements in the different viewport panels to individually change the settings of the cameras that are used for the rendering Quote Share this post Link to post Share on other sites
Sebavan 610 Report post Posted November 22, 2018 Here you go : https://playground.babylonjs.com/#DEAE4L -> https://playground.babylonjs.com/#DEAE4L#2 you would need to Gui Textures rendered only in the appropriate Ids. Quote Share this post Link to post Share on other sites
Sudoku 1 Report post Posted November 22, 2018 hi sebavan, thanks for your response! i guess you forgot to save the PG before sending the link? Quote Share this post Link to post Share on other sites
Sebavan 610 Report post Posted November 22, 2018 Indeeed 🙂https://playground.babylonjs.com/#DEAE4L#2 1 Sudoku reacted to this Quote Share this post Link to post Share on other sites
Sudoku 1 Report post Posted November 22, 2018 awesome! in the babylon GUI docs was written: https://doc.babylonjs.com/how_to/gui#advanceddynamictexture Please note that only one fullscreen mode GUI is allowed per scene i didn't even try than to create two advanceddynamictextures.. thanks! does someone know why the docs say so? Quote Share this post Link to post Share on other sites
Sebavan 610 Report post Posted November 22, 2018 Good question, might be true without layer Quote Share this post Link to post Share on other sites