drei
drei copied to clipboard
White background on Html elements with occlude="blending"
I'm trying to use the Html component with occlude="blending" to represent simple content.
My simplest example goes like this:
<color attach="background" args={[0, 0, 0]} />
<Html occlude="blending">foo</Html>
This generates a large white square behind the element. How do I eliminate this white background?
Simple example on sandbox: https://codesandbox.io/p/sandbox/tf5t3c
Thanks muchly for your help!