GLTF Model & Canvas Texture - Black Background #2423
Unanswered
saranshgrover
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all! Been stumped on this for a while now, hoping some of you have done this or a similar thing.
I'm trying to render a 2D Heatmap on top of a 3D Model of a Mattress that is loaded through useGLTF. The heatmap is created using
simpleheat
on a HTML5 Canvas. I have successfully been able to useCanvasTexture
to map the heatmap on the material of the mattress, but the background of the mattress is now black (and I have tried countless ways to change it). Any help is appreciated!Here is the code I'm at right now:
And here's what my model looks like:
Beta Was this translation helpful? Give feedback.
All reactions