for example, I want to draw 1000 cards, and every cards shows a number. How to do this with InstancedUniformsMesh.
from https://protectwise.github.io/troika/three-instanced-uniforms-mesh/ , it seems setUniformAt only support float, vec2, vec3, vec4, mat3, mat4. but how to support sdfTexture and pass uv of each sdf character to uniform ,and render it.
the links below implement without being use sdf text.
https://github.com/Oxynt/three-instanced-uv/blob/main/index.html
https://raw.githack.com/Oxynt/three-instanced-uv/main/index.html
I wonder how to draw instance using troika-three-text
Thank you!
for example, I want to draw 1000 cards, and every cards shows a number. How to do this with InstancedUniformsMesh.
from https://protectwise.github.io/troika/three-instanced-uniforms-mesh/ , it seems setUniformAt only support float, vec2, vec3, vec4, mat3, mat4. but how to support sdfTexture and pass uv of each sdf character to uniform ,and render it.
the links below implement without being use sdf text.
https://github.com/Oxynt/three-instanced-uv/blob/main/index.html
https://raw.githack.com/Oxynt/three-instanced-uv/main/index.html
I wonder how to draw instance using troika-three-text
Thank you!