On Demand Remap for Material Assignments

未关闭
#881 2 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
30/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
停滞
技术栈
csharp, unity
领域
tooling

调研方向

首先,将 Unity FBX importer 的 On Demand Remap 行为与 Materials 下的 glTF 编辑器导入设置进行比较。跟踪材质槽如何按名称与项目材质匹配,然后验证所描述的导入工作流是否会自动为共享材质配置重映射。

由索引模型根据 Issue 内容生成。

描述

Describe the bug 💬

It would be nice to have the same On Demand Remap feature as the FBX importer has.
This often comes in handy, when you want to share materials between seperately imported glTF assets. For example a repeating material that is not unique to one object.

I might invest time to implement this myself. Could someone point me to the right place to get started with this feature?

Thanks!

Steps to reproduce 🔢

It could work the same way as in the FBX importer:

  1. Import an object
  2. Go to Import Settings > Materials
  3. Hit "On Demand Remap" to automatically look for materials in the project that have the same name as the material slot on the imported object and setup the material remapping.
Files to reproduce the issue ♻

No response

Editor Version 🎲

6000.0

Render Pipeline and version

URP 17.0.3

UnityGLTF Version

2.17.0

Operating System 👩‍💻

Windows

When does this problem happen?
  • Editor Import
  • Runtime Import
  • Editor Export
  • Runtime Export
Additional Info 📜

No response

Validations 🩹
主要语言
C#
星标
2.3k
派生
539
平均合并
3 天 15 小时
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

KhronosGroup/UnityGLTF 的其他 Issue

查看 KhronosGroup/UnityGLTF 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。