Search Unity

Fill texture?

Discussion in 'Immediate Mode GUI (IMGUI)' started by Marscaleb, May 13, 2020.

  1. Marscaleb

    Marscaleb

    Joined:
    Jan 7, 2014
    Posts:
    1,037
    I'm looking through the documentation and can't see this as an option, but I might as well ask in case it's just called something different.

    Is there a way to draw a texture in a repeating fill pattern? So that I can use a smaller seamless texture and just fill a whole region with said texture. Not stretching it to fill the region, but repeating the texture as needed to fill the region. Presumably with an option to specify a pixel depth.