Skip to content
This repository was archived by the owner on Sep 2, 2021. It is now read-only.

TextureSampler

ousttrue edited this page Aug 17, 2018 · 2 revisions

WrapMode

/samplers/*/wrapS /samplers/*/wrapT

GLTF Unity
REPEAT TextureWrapMode.Repeat
CLAMP_TO_EDGE TextureWrapMode.Clamp
MIRRORED_REPEAT TextureWrapMode.Mirror
TextureWrapMode.MirrorOnce export as MIRRORED_REPEAT

FilterMode

/samplers/*/minFilter

GLTF Unity
NEAREST FilterMode.Point
LINEAR FilterMode.Bilinear
NEAREST_MIPMAP_NEAREST import as FilterMode.Point
LINEAR_MIPMAP_NEAREST import as FilterMode.Bilinear
NEAREST_MIPMAP_LINEAR import as FilterMode.Trilinear
LINEAR_MIPMAP_LINEAR FilterMode.Trilinear
Clone this wiki locally