diff --git a/.obsidian/plugins/various-complements/histories.json b/.obsidian/plugins/various-complements/histories.json index 84e095d..eb5596b 100644 --- a/.obsidian/plugins/various-complements/histories.json +++ b/.obsidian/plugins/various-complements/histories.json @@ -1 +1 @@ -{".p4ignore":{".p4ignore":{"currentFile":{"count":1,"lastUpdated":1717048569032}}},"admin":{"admin":{"currentFile":{"count":1,"lastUpdated":1717123692206}}},"具体的命令应该说是":{"具体的命令应该说是":{"currentFile":{"count":1,"lastUpdated":1717749753511}}},"添加一个Idol.xxx标签。":{"添加一个Idol.xxx标签。":{"currentFile":{"count":2,"lastUpdated":1718092533903}}},"FGBufferData":{"FGBufferData":{"currentFile":{"count":1,"lastUpdated":1718936545718}}},"中添加写入FGBufferData逻辑。代码如下:":{"中添加写入FGBufferData逻辑。代码如下:":{"currentFile":{"count":1,"lastUpdated":1718964454078}}},"MountPoint":{"MountPoint":{"currentFile":{"count":1,"lastUpdated":1719385071039}}},"V02:Surface材质相关属性逻辑,被MF":{"V02:Surface材质相关属性逻辑,被MF":{"currentFile":{"count":1,"lastUpdated":1719480408956}}},"MaterialInstance":{"MaterialInstance":{"currentFile":{"count":1,"lastUpdated":1719541411063}}},"CharacterEffects":{"CharacterEffects":{"currentFile":{"count":1,"lastUpdated":1719544276030}}},"MainLightIntensity,这些一般在Sequence中进行修改。":{"MainLightIntensity,这些一般在Sequence中进行修改。":{"currentFile":{"count":1,"lastUpdated":1719545153793}}}} \ No newline at end of file +{"具体的命令应该说是":{"具体的命令应该说是":{"currentFile":{"count":1,"lastUpdated":1717749753511}}},"添加一个Idol.xxx标签。":{"添加一个Idol.xxx标签。":{"currentFile":{"count":2,"lastUpdated":1718092533903}}},"FGBufferData":{"FGBufferData":{"currentFile":{"count":1,"lastUpdated":1718936545718}}},"中添加写入FGBufferData逻辑。代码如下:":{"中添加写入FGBufferData逻辑。代码如下:":{"currentFile":{"count":1,"lastUpdated":1718964454078}}},"MountPoint":{"MountPoint":{"currentFile":{"count":1,"lastUpdated":1719385071039}}},"V02:Surface材质相关属性逻辑,被MF":{"V02:Surface材质相关属性逻辑,被MF":{"currentFile":{"count":1,"lastUpdated":1719480408956}}},"MaterialInstance":{"MaterialInstance":{"currentFile":{"count":1,"lastUpdated":1719541411063}}},"CharacterEffects":{"CharacterEffects":{"currentFile":{"count":1,"lastUpdated":1719544276030}}},"MainLightIntensity,这些一般在Sequence中进行修改。":{"MainLightIntensity,这些一般在Sequence中进行修改。":{"currentFile":{"count":3,"lastUpdated":1719820337575}}}} \ No newline at end of file diff --git a/01-Diary/本周事务/M_ToonBase_V02.md b/01-Diary/本周事务/M_ToonBase_V02.md new file mode 100644 index 0000000..e69de29 diff --git a/02-Note/DAWA/ASoul/渲染方案/材质部分.md b/02-Note/DAWA/ASoul/渲染方案/材质部分.md index 4ca17cb..b8fd4ee 100644 --- a/02-Note/DAWA/ASoul/渲染方案/材质部分.md +++ b/02-Note/DAWA/ASoul/渲染方案/材质部分.md @@ -45,7 +45,7 @@ Content/ResArt/CommandMaterial - MF_ShiftTangent:Kajiya-Kay中的ShiftTangent,被M_ToonHair_V01调用。 - MF_StrandSpec:Kajiya-Kay中的高光计算逻辑,被M_ToonHair_V01调用。 - MF_Surface:Surface材质相关属性逻辑,被MF_ToonPBRInput、MF_ToonBaseInput调用。 -- MF_Surface_V02:Surface材质相关属性逻辑,被MF_ToonBaseInput_V02调用。 +- **MF_Surface_V02**:Surface材质相关属性逻辑,被MF_ToonBaseInput_V02调用。与MF_Surface相比少了Specular输出。 - MF_TextureBooming:材质没有上线。 - **MF_ToonBaseInput**:通用ToonBase材质逻辑函数。集合了MF_CharacterMainLightIntensity、MF_Matcap_Add、MF_Surface、MF_ToonBaseShadingModel材质函数以及一些变量材质设置。被**M_ToonBase_V02_Penetrate**、**M_ToonBase_V02_Test**调用。 - ***MF_ToonBaseInput_V02***:通用ToonBase材质逻辑函数V02。集合了MF_CharacterMainLightIntensity、MF_Matcap_Add、**MF_Surface_V02**、MF_ToonBaseShadingModel材质函数以及一些变量材质设置。被**M_ToonBase_V02**、**M_NaiLin_AnotherWorld02**、**M_EggGym_Flower**调用。 @@ -251,7 +251,7 @@ return Result; - [ ] V02 - Special - M_NaiLin_AnotherWorld02:特别定制的材质。 - - ***M_ToonBase_V02***: + - ***[[#M_ToonBase_V02]]*** - M_ToonBase_V02_Test: - MI_Brow_V02: - MI_Eye_V02: @@ -269,6 +269,23 @@ return Result; - [ ] **M_ToonHair_V01**: - [ ] **M_ToonSkin**: +## M_ToonBase_V02 +实现功能: +1. 每角色Fake MainLightIntensity、MainLightColor效果。 +2. Matcap。最终会影响Emissive与BaseColor引脚结果。 +3. + +与M_ToonBase_V01相比。最主要的逻辑区别在于: +1. MF_ToonPBRInput => MF_ToonBaseInput_V02 + 1. MF_Matcap_Add => MF_Matcap。不输出Specular,转而将高光结果输出在BaseColor与Emissive中。 + 2. MF_ToonPBRShadingModel => MF_ToonBaseShadingModel。 + 1. 移除Specular, + 2. 增加ToonShadowSmoothness + 3. 增加ToonSecondaryShadow +2. + + + # MaterialInstance # Outline