You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can also give HTML material properties using the material prop.
I have not been able to get this to work and it doesn't appear to be the case in any of the examples – as I understand the DOM gets rendered in a separate canvas either in front of or behind the rest of the scene, e.g.:
Is it possible to wrap this element with a decal or rendered texture?
Relevant code:
<Html
occlude
material={
<meshPhysicalMaterial
side={DoubleSide} // Required
opacity={0.1} // Degree of influence of lighting on the HTML
... // Any other material properties
/>
}
/>
Suggested solution:
Update the docs with solution if it's possible, or remove it
The text was updated successfully, but these errors were encountered:
Problem description:
From the README:
I have not been able to get this to work and it doesn't appear to be the case in any of the examples – as I understand the DOM gets rendered in a separate canvas either in front of or behind the rest of the scene, e.g.:
https://codesandbox.io/p/sandbox/occluded-html-forked-wp9mkp?file=%2Fsrc%2Findex.js
Is it possible to wrap this element with a decal or rendered texture?
Relevant code:
Suggested solution:
Update the docs with solution if it's possible, or remove it
The text was updated successfully, but these errors were encountered: