I have many SkinnedMesh
characters using a custom ShaderMaterial
,
which interprets a particular quad as a camera-facing “label” naming each character.
A label amounts to rendering some words using some font, and they are collectively packed as a single texture which is passed to the shader.
If we spawn a new character and re-pack the labels, the new packing needn’t extend the old one. Then potentially we might need to update the label-uv-mapping for every character.
Is it possible to update a single uniform (e.g. a DataTexture
) which is shared by all the programs?
Cheers for any help,
Rob