viromedia / virocore

ViroCore cross-platform AR/VR renderer
MIT License
370 stars 108 forks source link

Repeating materials UV coordinates #352

Open kijo-creative opened 3 years ago

kijo-creative commented 3 years ago

Environment

Please provide the following information about your environment:

  1. OS: Mac
  2. Version: ViroCore version
  3. Device(s): iPhone XS

Description

We have a material that doesn't cover the entire surface of the model. We usually repeat this using x & y coordinate values and tile it across the model to give the appearance of a continuous texture.

I have attached screenshots of the same model being loaded with the material repeated in three.js IMG_8199 and then how it looks in Viro.

Is it possible to repeat a texture in Viro? I cannot see in the docs anything regarding UV coordinates. Thanks

IMG_8200