How to load image in r3f canvas #963
Unanswered
nitinrhr183
asked this question in
Q&A
Replies: 1 comment
-
What do you mean by a "normal image loader"? You can add a small position offset to overlapping images to eliminate z-fighting. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
I have loaded a png image by adding the image as a texture to a mesh by following method.
function Image() {
const texture = useLoader(THREE.TextureLoader, "image1.png");
return (
);
}
Since there is a mesh involved here there is some background issues of the image involved when two images overlap. So I want a normal Image loader if exists any to load a 2d image to a scene. Please Help
Beta Was this translation helpful? Give feedback.
All reactions