The text sampler allows you to sample a text file or text string, and get the ASCII code of each character. It is useful to use as a TextureID and index a texture atlas to display text particles:
Here we use the text sampler to retrieve a TextureID for a renderer using a “text” texture atlas
NOTE: a future iteration of the text sampler might allow to actually sample random positions on a text as if it was a 3D mesh sampler.
Text samplers are commonly used with the following templates:
- TextSample