Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

White background on Html elements with occlude="blending" #2352

Open
vasturiano opened this issue Feb 14, 2025 · 0 comments
Open

White background on Html elements with occlude="blending" #2352

vasturiano opened this issue Feb 14, 2025 · 0 comments
Labels
question Further information is requested

Comments

@vasturiano
Copy link

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 vasturiano added the question Further information is requested label Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant