开启使用材质属性

需要在材质设置中启用启用材质属性(Use Material Attributes)

MakeMaterialAttributes

将多个材质属性通道合并成一个MaterialAttributes

BreakMaterialAttributes

将一个MaterialAttributes拆分成多个材质属性通道

GetMaterialAttributes

获取MaterialAttributes中特定的一个或多个通道

在详情中添加需要的通道

SetMaterialAttributes

设置MaterialAttributes中特定的一个或多个通道

在详情中添加需要的通道

BlendMaterialAttributes

按一个比例混合两个MaterialAttributes

名称 说明
A MaterialAttributes A
B MaterialAttributes B
Alpha 混合系数
Pixel Attribute Blend Type (在详情中) 针对像素着色器,可选Blend/Use A/Use B
Vertex Attribute Blend Type (在详情中) 针对顶点着色器,可选Blend/Use A/Use B

材质图层

Material Attribute Layers

版权声明

作者: Chaim

链接: https://chaim.eu.org/posts/%E6%9D%90%E8%B4%A8%E5%B1%9E%E6%80%A7-material-attributes/

许可证: CC BY-NC-SA 4.0

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License. Please attribute the source, use non-commercially, and maintain the same license.

开始搜索

输入关键词搜索文章内容

↑↓
ESC
⌘K 快捷键