You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #321 on July 09, 2024 16:18.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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!
Beta Was this translation helpful? Give feedback.
All reactions