How to access the Custom Depth Stencil inside a global shader?

Azeew27
Wed, 19 Oct 2022 02:05:14 +0000
Rendering

Hey, there!
I’m trying to modify Unreal’s TAA source code, and I need to access the Custom Depth Stencil buffer inside the shader itself. But I have no idea how to do that! Do I need to modify the .cpp code and link it to the shader somehow? Or is there a way to just access it directly inside the shader?

Thanks!

7 posts - 3 participants