Quantcast
Viewing all articles
Browse latest Browse all 388

Newbie question : Video texture repeat ?

Hi,

 

That question might sound 'newbie' to you but I can't seem to find a way to repeat a video texture :

 

Standard material usually repeat themselves in this example :

 

var box = BABYLON.Mesh.CreateBox("boxGeometry", 4, scene, true);

box.material = new BABYLON.StandardMaterial("boxMat", scene);

box.material.diffuseTexture = new BABYLON.Texture("textures/texture.jpg", scene);

box.material.diffuseTexture.uScale = box.material.diffuseTexture.vScale = 5;

 

in this example, 'texture.jpg' is repeated.

 

Now when I use a video texture, the 'video.mp4' is repeated only once, and I can't find the way to have it repeated :///

 

Anyone knows ???

 

Thx a lot !


Viewing all articles
Browse latest Browse all 388

Trending Articles



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