Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
riveranb opened this issue Jan 28, 2024 · 1 comment
Open

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

riveranb opened this issue Jan 28, 2024 · 1 comment

Comments

@riveranb
Copy link

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' ?

@MrKylinGithub
Copy link
Contributor

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

@MrKylinGithub MrKylinGithub changed the title glTF glTF 自带的Mipmap 与材质映射关系 May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants