How Can I Set depthTest and depthWrite on material of troika-3d-text #375
Unanswered
YuZhang-steven
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello I am trying to add my own material on troika-3d-text. Everything works fine, but the depthTest and depthWrite not works. Changing both prop on the material has no any effect. Anyone knows how to set those correct?
<shaderMaterial vertexShader={vertexShader} fragmentShader={fragmentShader} side={THREE.DoubleSide} depthTest={true} depthWrite={false} />Beta Was this translation helpful? Give feedback.
All reactions