Art Vandelay Posted January 23, 2018 Share Posted January 23, 2018 Hi, I couldn't think of a better name for the subject. Is it possible to create an area in a scene (a cube for example) where nothing is rendered? So basically any mesh, or part of a mesh, within that cube would not be rendered and become invisible. Thanks Quote Link to comment Share on other sites More sharing options...
NasimiAsl Posted January 23, 2018 Share Posted January 23, 2018 hi way 1 : http://www.babylonjs-playground.com/#XDXZKH#1 http://www.babylonjs-playground.com/#XDXZKH#2 with sky make cleaned mesh without transparency but set alpha channel like 0 in this way you keep mesh priority layer look line 14 i set red color to canvas so when you set it transparent you see base under canvas content http://www.babylonjs-playground.com/#XDXZKH#6 way 2 : http://www.babylonjs-playground.com/#XDXZKH#4 http://www.babylonjs-playground.com/#XDXZKH#3 with sky post process clear always selected mesh (or meshes) Quote Link to comment Share on other sites More sharing options...
Art Vandelay Posted January 23, 2018 Author Share Posted January 23, 2018 Great! Just what I needed, thanks Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.