Search the Community
Showing results for tags 'logarithmic depth buffer'.
Found 1 result
useLogarithmicDepth and Sprite
kyptov posted a topic in Questions & AnswersI 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