Quantcast
Channel: How to tile a texture in https://threejs.org/editor/? - Stack Overflow
Viewing all articles
Browse latest Browse all 2

How to tile a texture in https://threejs.org/editor/?

$
0
0

What's the correct way to tile a texture in https://threejs.org/editor/ ?I've created a plane with a material called m1 and tried to edit the material script to:

function update( event ) {  m1.wrapS = texture.wrapT = THREE.RepeatWrapping;  m1.repeat.set( 2, 2 );}

but nothing happens.tile does not work


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>