From 2f1689d5d483dafc5705323cfb7e05eb4c3ae6de Mon Sep 17 00:00:00 2001 From: BlueRose <378100977@qq.com> Date: Wed, 25 Sep 2024 19:00:15 +0800 Subject: [PATCH] vault backup: 2024-09-25 19:00:14 --- .obsidian/plugins/various-complements/histories.json | 2 +- .../Rendering/RenderingPipeline/Materials/MeshDraw.md | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/.obsidian/plugins/various-complements/histories.json b/.obsidian/plugins/various-complements/histories.json index eb2b592..8bcd17d 100644 --- a/.obsidian/plugins/various-complements/histories.json +++ b/.obsidian/plugins/various-complements/histories.json @@ -1 +1 @@ -{"婚礼布置:2W。老妈去谈。":{"婚礼布置:2W。老妈去谈。":{"currentFile":{"count":1,"lastUpdated":1725803390742}}},"如下所示:":{"如下所示:":{"currentFile":{"count":1,"lastUpdated":1725940732272}}},"剩下8通道":{"剩下8通道":{"currentFile":{"count":1,"lastUpdated":1726629297275}}},"根据bComputeExport,分别使用RDG的ComputeShader与PixelShader输出DepthStencil。":{"根据bComputeExport,分别使用RDG的ComputeShader与PixelShader输出DepthStencil。":{"currentFile":{"count":1,"lastUpdated":1727249472660}}}} \ No newline at end of file +{"婚礼布置:2W。老妈去谈。":{"婚礼布置:2W。老妈去谈。":{"currentFile":{"count":1,"lastUpdated":1725803390742}}},"如下所示:":{"如下所示:":{"currentFile":{"count":1,"lastUpdated":1725940732272}}},"剩下8通道":{"剩下8通道":{"currentFile":{"count":1,"lastUpdated":1726629297275}}},"根据bComputeExport,分别使用RDG的ComputeShader与PixelShader输出DepthStencil。":{"根据bComputeExport,分别使用RDG的ComputeShader与PixelShader输出DepthStencil。":{"currentFile":{"count":1,"lastUpdated":1727249472660}}},"MeshDraw":{"MeshDraw":{"internalLink":{"count":1,"lastUpdated":1727260163677}}}} \ No newline at end of file diff --git a/03-UnrealEngine/Rendering/RenderingPipeline/Materials/MeshDraw.md b/03-UnrealEngine/Rendering/RenderingPipeline/Materials/MeshDraw.md index 5d0770c..39fff08 100644 --- a/03-UnrealEngine/Rendering/RenderingPipeline/Materials/MeshDraw.md +++ b/03-UnrealEngine/Rendering/RenderingPipeline/Materials/MeshDraw.md @@ -11,6 +11,14 @@ rating: ⭐ 参考文章: - ***UE5,为HairStrands添加自定义深度与模板***:https://zhuanlan.zhihu.com/p/689578355 +# MeshDraw +推荐学习CustomDepth。 + +Shader推荐: +- DepthOnlyVertexShader.usf +- DepthOnlyPixelShader.usf + + # NaniteMeshDraw `Engine\Source\Runtime\Renderer\Private\Nanite\`NaniteMaterials.h & NaniteMaterials.cpp