vault backup: 2024-12-17 18:57:35

This commit is contained in:
BlueRose 2024-12-17 18:57:35 +08:00
parent e44bf4fd5a
commit a9f022e5bc
2 changed files with 15 additions and 1 deletions

View File

@ -24,4 +24,6 @@
- [x] 帮助朱雨辰解决:
- [x] 4周年角色不能完全变黑问题。
- [x] 渲片时的天空球问题切换天空盒问题。
- [ ]
- [ ] BP07 才艺数据没有物理的问题。
- [ ] PGM角色衣服物理掉了。
- [ ] 检查飞下来的才艺nailin没有数据

View File

@ -272,6 +272,7 @@ bool FSceneRenderer::RenderCustomDepthPass(
}
// Determine if any of the views have custom depth and if any of them have Nanite that is rendering custom depth
// 构建NaniteDrawLists用于后面的绘制
bool bAnyCustomDepth = false;
TArray<FNaniteCustomDepthDrawList, SceneRenderingAllocator> NaniteDrawLists;
NaniteDrawLists.AddDefaulted(Views.Num());
@ -394,3 +395,14 @@ bool FSceneRenderer::RenderCustomDepthPass(
...
}
```
- Nanite::InitRasterContext()
- Nanite::InitCustomDepthStencilContext()
## NaniteRenderer
1. auto NaniteRenderer = Nanite::IRenderer::Create()
2. NaniteRenderer->DrawGeometry
3. NaniteRenderer->ExtractResults( RasterResults );
4. Nanite::EmitCustomDepthStencilTargets()
## Nanite::FinalizeCustomDepthStencil()