diff --git a/.obsidian/plugins/various-complements/histories.json b/.obsidian/plugins/various-complements/histories.json index dc951d7..2bda6a8 100644 --- a/.obsidian/plugins/various-complements/histories.json +++ b/.obsidian/plugins/various-complements/histories.json @@ -1 +1 @@ -{"body01":{"body01":{"currentFile":{"count":1,"lastUpdated":1738243350947}}},"Games":{"Games":{"currentFile":{"count":1,"lastUpdated":1738586917474}}},"Camera":{"Camera":{"currentFile":{"count":1,"lastUpdated":1739168843622}}},"DeferredLightVertexShaders":{"DeferredLightVertexShaders":{"currentFile":{"count":1,"lastUpdated":1739267675471}}},"Deprecated":{"Deprecated":{"internalLink":{"count":1,"lastUpdated":1740405714148}}}} \ No newline at end of file +{"Games":{"Games":{"currentFile":{"count":1,"lastUpdated":1738586917474}}},"Camera":{"Camera":{"currentFile":{"count":1,"lastUpdated":1739168843622}}},"DeferredLightVertexShaders":{"DeferredLightVertexShaders":{"currentFile":{"count":1,"lastUpdated":1739267675471}}},"Deprecated":{"Deprecated":{"internalLink":{"count":1,"lastUpdated":1740405714148}}},"PS.需要Shader添加FSceneTextureShaderParameters":{"PS.需要Shader添加FSceneTextureShaderParameters":{"currentFile":{"count":1,"lastUpdated":1740983366427}}}} \ No newline at end of file diff --git a/03-UnrealEngine/卡通渲染相关资料/卡通渲染开发总览.md b/03-UnrealEngine/卡通渲染相关资料/卡通渲染开发总览.md index 94d1412..fee8531 100644 --- a/03-UnrealEngine/卡通渲染相关资料/卡通渲染开发总览.md +++ b/03-UnrealEngine/卡通渲染相关资料/卡通渲染开发总览.md @@ -105,6 +105,7 @@ rating: ⭐⭐⭐ 7. [ ] ToonLighting 1. [ ] Cel 2. [ ] 【UE5】卡通渲染着色篇3:多光源 https://zhuanlan.zhihu.com/p/717533663 + 3. [ ] UE5 浅谈光源更新多线程优化 https://zhuanlan.zhihu.com/p/27574076122?utm_psn=1879905019928764942 8. [ ] ToonPostProcess 1. [x] ToonBloom 2. [ ] ToonDiffusion:对场景亮部进行降采样,之后将亮度信息叠加到Toon物体的暗部上。 diff --git a/03-UnrealEngine/卡通渲染相关资料/渲染功能/PostProcess/ToonPostProcess.md b/03-UnrealEngine/卡通渲染相关资料/渲染功能/PostProcess/ToonPostProcess.md index aa4bebe..3b64fb3 100644 --- a/03-UnrealEngine/卡通渲染相关资料/渲染功能/PostProcess/ToonPostProcess.md +++ b/03-UnrealEngine/卡通渲染相关资料/渲染功能/PostProcess/ToonPostProcess.md @@ -372,3 +372,7 @@ float3 ToneMappedColorAP1 = FilmToneMap( ColorAP1 ); # UE5 PostProcess 添加Pass代码 - UE4中添加自定义ComputerShader:https://zhuanlan.zhihu.com/p/413884878 - UE渲染学习(2)- 自定义PostProcess - Kuwahara滤镜:https://zhuanlan.zhihu.com/p/25790491262 + +PS: +1. ToneMapping之后的Pass因为超采样的关系使得ViewportResoution与BufferResoution不同,所以需要使用`SHADER_PARAMETER(FScreenTransform, SvPositionToInputTextureUV)`以及`FScreenTransform::ChangeTextureBasisFromTo`计算变换比例。具体可以参考FFXAAPS。 +2. \ No newline at end of file