Is it possible to tile repeat a texture?


#1

I’m trying to build a 3D model class using WebGL mode. I understand how create boxes with textures applied, but not sure how I would achieve essentially the effect of background-repeat: repeat-y;. I’d have control of the size of the boxes and textures, so that’s not an issue, but it’s more a case of having a 50px by 225px plane and wanting a 50px by 50px image to repeat down it 4.5 times.

Is this possible?


#2

https://processing.org/reference/textureWrap_.html


#3

I can’t tell if i’m missing something but any time I try using textureWrap() it says undefined?