Rendering an svg as a texture #645
CharlieHess
started this conversation in
General
Replies: 2 comments 2 replies
-
meshBasicMaterial should ignore any light |
Beta Was this translation helpful? Give feedback.
1 reply
-
I think the issue is just with this particular svg, since all its paths are black: Anyway I'm having better luck turning this svg into a mesh using |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
I'm trying to render some MUI icon svgs onto textures, using
TextureLoader
.In my example, it looks like the texture is not lit, no matter how much I crank up the lights. Although I do see some hints of the texture as it rotates, leading me to believe the svg data was loaded correctly. If I change to a standard phong material the lights are fine. I think I'm missing something basic re: textures, does anyone have some hints?
Beta Was this translation helpful? Give feedback.
All reactions