c-frame / aframe-gltf-model-plus

gltf-model-plus component to load glb file with hubs extensions
https://c-frame.github.io/aframe-gltf-model-plus/
Mozilla Public License 2.0
10 stars 3 forks source link

Troika text #24

Closed uhunkler closed 2 months ago

uhunkler commented 2 months ago

Hi Vincent, I think Troika text should be processed and displayed as intended with the »text.js« inflator. In the source I left the »troika-text-material« setAttribute as a string because I get errors, when I add it as an object. And when I set the element material the transparency does not work.

»If you are using the troika-text="..." component, you must instead give it a troika-text-material="..." attribute to distinguish the text material from the entity's main material.« is written in the component description.

This closes #11

uhunkler commented 2 months ago

I made the changes you mentioned - does the repo work now?