How to update DepthMaterial of Text component #1806
Unanswered
Endrickmusic
asked this question in
Q&A
Replies: 1 comment
-
Try using other Meshes, I noticed that some propetries work with some meshes and not others. For example the color={"#something"} only works with meshBasicMaterial and not meshStandardMaterial, when both meshes have the same available property according to the following documents : https://threejs.org/docs/?q=mes#api/en/materials/MeshBasicMaterial. Play around with these docs to see what works and what doesnt. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi!
I wrote a custom shader for the Text component and tried to update the MeshDepthMaterial as well, to get the right shadows, but with no success. I've set it up in this Sandbox How can I address the MeshDepthMaterial of Text?
Beta Was this translation helpful? Give feedback.
All reactions