Tag: textures

  • Loading textures for 3D models in react-three-fiber

    Last time I used a hdri file to render an underwater environment. The next thing I wanted to learn was how to give my submarine model different textures. Looking at the react-three-fiber docs on loading textures I see that I can use TextureLoader with useTexture. Loading a metal texture for the submarine I grabbed a…