A
A
Anton V.2020-10-12 20:14:13
WebGL
Anton V., 2020-10-12 20:14:13

How to replicate only part of a texture?

I have an image which I use as a texture.

NTjTi.png

And I want to repeat only part of this texture. For example, the third rectangle in the first row is from [0.5,0] to [0.75, 0.25]. (brown)

Is there a way to do this in Webgl 2?

ps. maybe it can be done with textureOffset and something else...

I would be very grateful for the information in this thread!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question