From f60f78b6b2dd9f9150045c412f74a1a94e267c0a Mon Sep 17 00:00:00 2001 From: BlueRose <378100977@qq.com> Date: Fri, 21 Mar 2025 20:01:46 +0800 Subject: [PATCH] vault backup: 2025-03-21 20:01:46 --- .../渲染功能/ToonPostLightingPass/OutlinePass.md | 10 +--------- .../渲染功能/ToonReflection&GI控制/ToonReflection.md | 14 +++++++++++--- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/03-UnrealEngine/卡通渲染相关资料/渲染功能/ToonPostLightingPass/OutlinePass.md b/03-UnrealEngine/卡通渲染相关资料/渲染功能/ToonPostLightingPass/OutlinePass.md index b271ea4..840c1c1 100644 --- a/03-UnrealEngine/卡通渲染相关资料/渲染功能/ToonPostLightingPass/OutlinePass.md +++ b/03-UnrealEngine/卡通渲染相关资料/渲染功能/ToonPostLightingPass/OutlinePass.md @@ -137,12 +137,4 @@ FORCEINLINE FSceneTextures& GetActiveSceneTextures() { return ViewFamily.GetScen # 问题记录 ## 处于FarDepthValue的Outline被裁剪的问题 - SkyAtmosphere.usf中,会将天空球渲染在深度为FarDepthValue的像素上,这样会将一些Outline覆盖掉。 -- HeightFogPixelShader.usf中,会通过判断**DeviceZ != 0.0** 来调整渲染结果,绘制方式PSO.BlendState = TStaticBlendState::GetRHI(); - - -# PreShader问题解决 -- Init.bFromPSOFileCache -- Init.bPSOPrecache = 1 - -DX12出问题的原因: -GfxPipeline->RHIPipeline = nullptr \ No newline at end of file +- HeightFogPixelShader.usf中,会通过判断**DeviceZ != 0.0** 来调整渲染结果,绘制方式PSO.BlendState = TStaticBlendState::GetRHI(); \ No newline at end of file diff --git a/03-UnrealEngine/卡通渲染相关资料/渲染功能/ToonReflection&GI控制/ToonReflection.md b/03-UnrealEngine/卡通渲染相关资料/渲染功能/ToonReflection&GI控制/ToonReflection.md index 8fa88e1..0ddb87e 100644 --- a/03-UnrealEngine/卡通渲染相关资料/渲染功能/ToonReflection&GI控制/ToonReflection.md +++ b/03-UnrealEngine/卡通渲染相关资料/渲染功能/ToonReflection&GI控制/ToonReflection.md @@ -6,6 +6,14 @@ tags: rating: ⭐ --- # 反射功能相关Pass -- ReflectionIndirect(Dx11) - - ReflectionEnvironmentAndSky -- Lumen \ No newline at end of file +- ReflectionIndirect(None) + - [[#ReflectionEnvironmentAndSky]] +- DiffuseIndirectAndAO(Lumen/SSR) + - LumenReflections + - [[#DiffuseIndirectComposite]] + +## ReflectionEnvironmentAndSky +位于IndirectLightRendering.cpp的`AddSkyReflectionPass()` + +## DiffuseIndirectComposite +位于IndirectLightRendering.cpp的`RenderDiffuseIndirectAndAmbientOcclusion()` \ No newline at end of file