BlackMojito Posted November 28, 2017 Share Posted November 28, 2017 Hi Folks, Is there a way to override temporarily depth testing function only for several meshes ? I have some special meshes for which I need to render them using GREATER instead of LEQUAL. Thanks Quote Link to comment Share on other sites More sharing options...
Sebavan Posted November 28, 2017 Share Posted November 28, 2017 You could by setting the proper value before render and reverting after. Also in the case of several meshes, you could group them with renderingGroupId. Please take a look at this sample: https://www.babylonjs-playground.com/#05NGLB#3 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.