Search Unity

Mirrored texture address mode

Discussion in 'Shaders' started by BS-er, Nov 30, 2010.

  1. BS-er

    BS-er

    Joined:
    May 24, 2009
    Posts:
    115
    I'd like to have mirrored tiling (Direct3D equivalant is D3DMTADDRESS_MIRROR, in OpenGL it's GL_MIRRORED_REPEAT). How would I set that up in a Unity material?
     
    Last edited: Nov 30, 2010
  2. BS-er

    BS-er

    Joined:
    May 24, 2009
    Posts:
    115
    I've been digging and digging, but nothing so far. I find it hard to believe that a self-respecting engine such as Unity doesn't support this common feature.
     
  3. Daniel_Brauer

    Daniel_Brauer

    Unity Technologies

    Joined:
    Aug 11, 2006
    Posts:
    3,355