How-to: Address Moiré pattern on textures

When a thread or striped texture is applied on geometry, moiré patterns may appear when zooming out.

This fringe pattern can be avoided by using a decimation filter on the texture.

In order to apply a decimation filter, please use:

1HPS::TextureOptionsKit::SetDecimationFilter(HPS::Material::Texture::Decimation filter)

Our documentation specifies the different options available: Decimation filters.

Please find below an example of the effect of the Mipmap option:

Filter off

Filter on