Add indirect lighting to Global Surface Atlas to achieve infinite GI bounces

This commit is contained in:
Wojciech Figat
2022-05-23 14:10:45 +02:00
parent 72c0474397
commit 89ac470733
4 changed files with 79 additions and 12 deletions

View File

@@ -47,6 +47,7 @@ private:
GPUPipelineState* _psClear = nullptr;
GPUPipelineState* _psDirectLighting0 = nullptr;
GPUPipelineState* _psDirectLighting1 = nullptr;
GPUPipelineState* _psIndirectLighting = nullptr;
GPUPipelineState* _psDebug = nullptr;
GPUConstantBuffer* _cb0 = nullptr;
GPUShaderProgramCS* _csCullObjects;