[PD] Repeating an image texture in GEM
IOhannes m zmoelnig
zmoelnig at iem.at
Thu Mar 30 13:18:58 CEST 2017
On 2017-03-30 12:47, Antonio Roberts wrote:
> Hi Pure Data list.
> I'm attempting to repeat an image via [pix_coordinate]. The help patch
> has an example of how by sending [rectangle 0, repeat 1( to
> [pix_texture] but it results in there being gap between each
> repetition once new coordinates are set. Worse still, if the image
> isn't square there is a big blank space. If I use [rectangle 0 ( then
> the aspect ratio is maintained but it doesn't repeat.
> Does anyone know how to work around this?
use power-of-two sized images.
or use your own shader.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: OpenPGP digital signature
More information about the Pd-list