-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Description
Creating a scene with just a entity in but then using logarithmicDepthBuffer set to true in the renderer settings works fine so like:
<a-scene renderer="logarithmicDepthBuffer: true;"> <a-text value="Some text please" color="black" position="0 0 -5"></a-text> </a-scene>
However adding a plane behind the text whilst logarithmicDepthBuffer set to true causes text to not render over the plane.
<a-scene renderer="logarithmicDepthBuffer: true;"> <a-plane height="1" width="3" color="red" position="0 0 -5.2"></a-plane> <a-text value="Some text please" color="black" position="0 0 -5"></a-text> </a-scene>
Switching to logarithmicDepthBuffer: false; then works as expected.
I have a scene which really needs this set to true for lots of other entities to render correctly and to reduce z-fighting but also need some generated text in there so I'm kinda stuck.
I'm guessing the text shader isn't aware of how to handle this correctly?
- A-Frame Version: 0.9.2
- Platform / Device: Chrome/Macbook