How do I map a texture to every character in a Text2D node?

Q and A about functionality and how to solve a special task for your application.

How do I map a texture to every character in a Text2D node?

Postby robertwinter » 05 Jun 2016, 07:03

Is there a way to apply a texture to 2D text on a character by character basis? Say for instance I have a simple 100x100 pixel texture that goes from red in the center to blue at the outside. Can I map this texture to each character in a Text2D node? I've already tried modifying the scaling and UV parameters in the 2D mapping, but that only offers a close approximation.
robertwinter
 
Posts: 33
Joined: 27 Nov 2012, 21:53

Re: How do I map a texture to every character in a Text2D no

Postby robertwinter » 29 Nov 2016, 00:57

Is this not possible?

Also, can I apply a texture to multiple lines? For example, a texture that fades from white at the top to red at the bottom. If I have multiple lines in a single node, the texture is placed across the ENTIRE block, not each line of text.
robertwinter
 
Posts: 33
Joined: 27 Nov 2012, 21:53


Return to How to...

cron