UniUnlit
UniUnlit
大概是 UnLighting 的缩写,即 Unlit。
Unlit
将以 glTF 的 KHR_materials_unlit 扩展形式保存。
可以在 Unity 中导出为 Unlit 着色器
| 功能 | color | texture | vertex_color | alpha/cutout | no culling | 
|---|---|---|---|---|---|
| glTF | ✅ | ✅ | ✅ | ✅ | ✅ | 
| UniGLTF/UniUnlit | ✅ | ✅ | ✅ | ✅ | ✅ | 
| Unlit/Color | ✅ | ||||
| Unlit/Texture | ✅ | ||||
| Unlit/Transparent | ✅ | blend | |||
| Unlit/Transparent Cutout | ✅ | cutout | 
顶点颜色
只有UniGLTF/UniUnlit支持顶点颜色。
- 如果 Mesh 包含顶点颜色
 - 并且 Material 被判定为
 Unlit,在导入时将应用顶点颜色。如果在不需要顶点颜色的模型上应用 Unity 的
Unlit系列材质并导出,那么在下次导入时,颜色可能会意外改变。在这种情况下,通过在导出时启用RemoveVertexColor,可以导出不包含顶点颜色的Mesh。
        
No comments to display
No comments to display