vault backup: 2024-12-17 18:57:35
This commit is contained in:
parent
e44bf4fd5a
commit
a9f022e5bc
@ -24,4 +24,6 @@
|
|||||||
- [x] 帮助朱雨辰解决:
|
- [x] 帮助朱雨辰解决:
|
||||||
- [x] 4周年角色不能完全变黑问题。
|
- [x] 4周年角色不能完全变黑问题。
|
||||||
- [x] 渲片时的天空球问题切换天空盒问题。
|
- [x] 渲片时的天空球问题切换天空盒问题。
|
||||||
- [ ]
|
- [ ] BP07 才艺数据没有物理的问题。
|
||||||
|
- [ ] PGM角色衣服物理掉了。
|
||||||
|
- [ ] 检查飞下来的才艺,nailin没有数据?
|
@ -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
|
// 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;
|
bool bAnyCustomDepth = false;
|
||||||
TArray<FNaniteCustomDepthDrawList, SceneRenderingAllocator> NaniteDrawLists;
|
TArray<FNaniteCustomDepthDrawList, SceneRenderingAllocator> NaniteDrawLists;
|
||||||
NaniteDrawLists.AddDefaulted(Views.Num());
|
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()
|
Loading…
x
Reference in New Issue
Block a user