cocos-docs icon indicating copy to clipboard operation
cocos-docs copied to clipboard

glTF 自带的Mipmap 与材质映射关系

Open riveranb opened this issue 1 year ago • 1 comments

URL : https://github.com/cocos-creator/creator-docs/blob/master/en/asset/model/glTF.md

I have a question.

glTF 贴图缩小筛选器 | Cocos Creator 贴图缩小筛选器 | Cocos Creator 贴图 Mip Map 筛选器

  1. NEAREST | TextureBase.Filter.NEAREST | TextureBase.Filter.NONE
  2. LINEAR_MIPMAP_LINEAR | TextureBase.Filter.LINEAR | TextureBase.Filter.NONE
  3. LINEAR_MIPMAP_NEAREST | TextureBase.Filter.NEAREST | TextureBase.Filter.NEAREST <---
  4. LINEAR | TextureBase.Filter.LINEAR | TextureBase.Filter.NEAREST
  5. NEAREST_MIPMAP_LINEAR | TextureBase.Filter.NEAREST | TextureBase.Filter.LINEAR
  6. NEAREST_MIPMAP_NEAREST | TextureBase.Filter.LINEAR | TextureBase.Filter.LINEAR <---

For 3. and 6., are they correct? and why? 'NEAREST' in glTF becomes 'TextureBase.Fiilter.Linear' ?

riveranb avatar Jan 28 '24 03:01 riveranb

thanks for your feedback, we need to clarify it and then give you a response.

MrKylinGithub avatar Jan 31 '24 08:01 MrKylinGithub