vault backup: 2024-12-19 16:34:02

This commit is contained in:
BlueRose 2024-12-19 16:34:02 +08:00
parent 6a24cc4470
commit 6be69ff0ea
2 changed files with 8 additions and 1 deletions

View File

@ -20,6 +20,10 @@ rating: ⭐
## 相关类型
- ShadowRendering.h
**FProjectedShadowInfo**:存储投影阴影先关信息。包含各种变换矩阵、阴影渲染函数以及渲染参数、灯光&场景&图元信息。
- LightSceneInfo.h
FLightSceneInfo渲染一盏灯所用到的信息。可以看做是游戏线程中ULightComponent的镜像。
- SceneCore.h
FLightPrimitiveInteraction存储LightSceneInfo、PrimitiveSceneInfo等信息。
- SceneRendering.h
FVisibleLightInfo可见光源信息, 主要是阴影相关的信息.
FVisibleLightViewInfo

View File

@ -69,10 +69,13 @@ PS.很有可能在FProjectedShadowInfo::RenderProjection()阶段进行判断以
# 实现方法
```c++
const FMaterialRenderProxy* MaterialRenderProxy = MeshBatch.MaterialRenderProxy;
bool bEnableToonMeshDrawOutline = MaterialRenderProxy->GetToonOutlineDataAssetRT()->Settings.bEnableToonMeshDrawOutline;
```
FProjectedShadowInfo->Scene
FPrimitiveSceneProxy
## 深度偏移
1. FProjectedShadowInfo添加变量。