scenevr / htmltexture-component

Aframe component for using html as a texture, powered by html2canvas
https://scenevr.github.io/htmltexture-component/
MIT License
48 stars 14 forks source link

Not displaying HTML text? #5

Closed Nateliason closed 7 years ago

Nateliason commented 7 years ago

I have this installed with:

<script src="https://rawgit.com/scenevr/htmltexture-component/master/dist/aframe-htmltexture-component.js"></script>

And then copied your "Goodbye" code from the examples:

<a-assets><div id="goodbye"><center>1</center></div></a-assets><a-entity geometry="primitive: box" position="3 1 -4" draw="width: 64; height: 64;"htmltexture="asset: #goodbye"></a-entity>

But the text isn't appearing, any idea what's going on?

revolunet commented 7 years ago

what version do you have ? i had it workin with aframe 0.3.2

Nateliason commented 7 years ago

@revolunet I got it working, I forgot to include Draw :)