Replies: 1 comment 2 replies
-
it looks like THREE.ExtrudeGeometry is to blame, the UVs it generates only reach the first line. i would ask on three discourse/discord, and if nothing helps make a bug report on threejs github. once this is fixed btw you can later cut a lot of code since all that is part of drei: https://codesandbox.io/s/brave-pine-x7jhw5?file=/src/App.js |
Beta Was this translation helpful? Give feedback.
2 replies
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'm making my first React three fiber project.
I'm loading a GLTF model and making its copies for multiple renders(using this approach).
For using textGeometry I implemented it like this(using typescript)
So for every copy of the GLTF model, I'm adding a 3D textGeometry with it. For the 3D text, I'm using a shader material to get a gradient color on the text.
Shader Material:
Issue:
Whenever I add a '\n' character the shader is not applied to any text after the '\n' character.
Preview
Is there any way to resolve this issue?
Beta Was this translation helpful? Give feedback.
All reactions