diff --git a/02-Note/DAWA/ASoul/流程笔记/角色流程.md b/02-Note/DAWA/ASoul/流程笔记/角色流程.md index 8b3a087..7a1b762 100644 --- a/02-Note/DAWA/ASoul/流程笔记/角色流程.md +++ b/02-Note/DAWA/ASoul/流程笔记/角色流程.md @@ -26,6 +26,11 @@ 2. Prop.Dress 3. Prop.MountPoint.Body 3. ***脚本扫描***:点击编辑器的嘉然头像->角色道具配置全量生成 or 角色道具配置增量生成。会往IdolPropAssetConfig.json添加对应衣服或者道具配置数据。 +4. ***材质相关操作***: + 1. 在ResArt/CommonMaterial/Functions/CameraLightCollection中添加对应角色的属性。 + 2. 在ResArt/CommonMaterial/Functions/MF_CharacterMainLightIntensity中添加对应RoleID。 + 3. 在对应角色的基础材质中设置RoleID数值。 + ## 含有角色标签的文件 1. [x] TsCharacterItem.ts `Script/LiveDirector/Character/View/TsCharacterItem.ts` 1. 3级角色控制界面相关的UI操作。 diff --git a/02-Note/DAWA/ASoul/渲染方案/材质部分.md b/02-Note/DAWA/ASoul/渲染方案/材质部分.md index d45c7b6..88c368b 100644 --- a/02-Note/DAWA/ASoul/渲染方案/材质部分.md +++ b/02-Note/DAWA/ASoul/渲染方案/材质部分.md @@ -17,14 +17,16 @@ Content/ResArt/CommandMaterial - MF_Dissolve - MF_EdgeLight - MF_Fur -- [ ] Tools - - MF_DecodeArrayIDAndAlpha +- [x] Tools + - MF_DecodeArrayIDAndAlpha:分离输入浮点数的整数与小数部分。整数部分作为TextureArrayID,小数部分作为Alpha参数。 + - 主要用于MF_FaceOverlay的**Face Overlay Color**效果与M_Penetrate的**Eye Overlay Color**效果。 - MF_Hash11 - MF_Hash12 - MF_Hash13 - MF_Hash22 - MF_Hash23 -- [ ] +- [x] ***CameraLightCollection***:各个角色的主光照颜色、边缘光颜色与主光亮度以及LightDir。 +- [ ] MF_CharacterMainLightIntensity: ## ShadingModels 采用CustomNode构造FMaterialAttributesde的之后传递到MaterialAttribute模式的材质中,其他骚操作还有: