drei icon indicating copy to clipboard operation
drei copied to clipboard

White background on Html elements with occlude="blending"

Open vasturiano opened this issue 1 year ago • 0 comments

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!

vasturiano avatar Feb 14 '25 15:02 vasturiano