Strings for shader nodes?

Is possible to use strings or text in a form of curves when working with shader nodes?

I use strings a lot in geometry nodes, but I’m not sure how to use letters or numbers as a base for procedural materials. Aside from using rasterized images of such text. I lowered the resolution here to 128x128 to highlight the problem with rasterization.

Of course I can use high resolution images of text, but that will slow down entire process whenever I’ll decide to change the text alone.

Is there any ellegant solution to using text/strings in procedural materials? Or do I have to keep using rasterized images of text?

hello.blend (167.2 KB)

To my knowledge, the image texture is the only way.

If I needed lots of text in a material, I would make a texture that contains all the text needed for the material, then do the placement of each word or letter using UVs (there could be a second UV set used specifically for placing the text).

If the situation allows it, you could instead do it by putting text objects on the model like decals, do it as a separate model instead of doing it in the material.

I found another way how to use strings, from 21:47.

Mind blown.