Sampling at texture coordinates outside the
1 range results in a mirrored tiling effect.
- iOS 9.0+
- macOS 10.11+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- Model I/O
This effect is similar to that of the
MDLMaterial mode, but inverts the range of fractional texture coordinate values whenever the whole part of a texture coordinate value is odd. For example, sampling at a coordinate value of
5 returns the texel color for the coordinate value of
1), and sampling at a coordinate value of
8 returns the texel color for the coordinate value of
0. The visual effect of this mode is to repeat the texture image endlessly across a surface rendered with the texture, with every other repetition in a mirrored orientation.