-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Text not rendering when logarithmicDepthBuffer is enabled #4279
Comments
Just to say after more testing, it works as expected when using v0.8.0 |
does it work with the master version? |
No, same result. |
sorry i have no idea here best waiting for @dmarcos |
@dzoech meantime you can try/use https://github.com/lojjic/aframe-troika-text |
Thank you @arpu, works like a charm |
I also have exactly this issue with aframe 1.4.0 |
This is still an issue in aframe 1.4.2 |
The problem lies in the fact that It should be relatively easy to update the shaders. At the same time the correct encoding and tonemapping chunks can be included as well. |
Fixed by #5409 |
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?
The text was updated successfully, but these errors were encountered: