What you could do in such situation (assuming it’s related to this) is:
- Load texture image once. Create new
Texture
instance for each letter, with different offset, and then use these textures in materials for specific meshes (mind this is quite a bruteforce approach and you’ll end up with a lot of textures.) - Create just a single Texture. Apply texture to your meshes. Modify each mesh UV attribute to display the part of the texture you’d like it to display (see mesh.geometry.attributes.uv, this thread may also help.) It’s pretty similar to
offset
on the texture, but instead of modifying the texture, you modify only the specific mesh.
(also, since it’s react-fiber, @drcmda , maybe there are easier ways there )