kyptov Posted May 18, 2017 Share Posted May 18, 2017 I am building space game with big distances. To avoid glitches I use `material.useLogarithmicDepth = true;` And I found that all materials on scene need to be set to useLogarithmicDepth = true. I using Sprite and got problem: mesh with logarithmic material renders in front of sprites. http://www.babylonjs-playground.com/#WICWQN - Here a tree is on position in front of cube, but looks like this tree inside the cube. Is this a way to bypass this behaviour? P.s. I can not disable useLogarithmicDepth Quote Link to comment Share on other sites More sharing options...
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.