How to use the textures.replace_image function in textures

To help you get started, we’ve selected a few textures examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github zyj1022 / awesome-threejs / demo / blend4web / js / main.js View on Github external
image.onload = function() {
      // m_tex.replace_image(cover, "monitor", image);
      m_tex.replace_image(cover, "monitor", image);
    }
    image.src = "./images/a_cover_pic-01.jpg";