vault backup: 2024-12-19 14:10:21

This commit is contained in:
BlueRose 2024-12-19 14:10:21 +08:00
parent 0592f99272
commit 3400c5f518

View File

@ -74,8 +74,10 @@ const FMaterialRenderProxy* MaterialRenderProxy = MeshBatch.MaterialRenderProxy;
bool bEnableToonMeshDrawOutline = MaterialRenderProxy->GetToonOutlineDataAssetRT()->Settings.bEnableToonMeshDrawOutline;
## 深度偏移
在FProjectedShadowInfo添加
RenderDepth()
1. FProjectedShadowInfo添加变量。
FSceneRenderer::RenderShadowDepthMaps() => RenderShadowDepthMapAtlases() => ProjectedShadowInfo->RenderDepth()
## DirectionOffsetToViewShadow
FSceneRenderer::CreateDynamicShadows() -> SetupInteractionShadows()在CreatePerObjectProjectedShadow()添加相关逻辑。
1. 在FProjectedShadowInfo添加变量。
FSceneRenderer::CreateDynamicShadows() => SetupInteractionShadows()在CreatePerObjectProjectedShadow()添加相关逻辑。