You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've created a text using three-bmfont-text. I want to apply a shader to my whole material but as soon as the shader is on, I notice that it applies on every character separately. Here are two screenshots of the before and after states. Does anyone now how to fixe this ? Thank you very much !
The text was updated successfully, but these errors were encountered:
You would probably have to render the string of text to a WebGLRenderTarget, then render that target with a shader.
Other ways you may be able to achieve this:
- If you want a fragment effect like distortion, use the screen space texture coordinates
- Pass attributes for each character so that your custom shader can do its thing
These things are outside the scope of this library so you are on your own. Good luck!
On Nov 30, 2018, at 6:33 AM, michaelgrc ***@***.***> wrote:
I've created a text using three-bmfont-text. I want to apply a shader to my whole material but as soon as the shader is on, I notice that it applies on every character separately. Here are two screenshots of the before and after states. Does anyone now how to fixe this ? Thank you very much !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
I've created a text using three-bmfont-text. I want to apply a shader to my whole material but as soon as the shader is on, I notice that it applies on every character separately. Here are two screenshots of the before and after states. Does anyone now how to fixe this ? Thank you very much !
The text was updated successfully, but these errors were encountered: