| 206 | } |
| 207 | |
| 208 | void IntroPathTracer::ProcessLocalCubemap(nvrhi::CommandListHandle commandList) |
| 209 | { |
| 210 | ScopedPerfMarker perfMarker("ProcessLocalCubemap", commandList); |
| 211 | |
| 212 | EnvMapBaker::CubemapProcessingOptions opts; |
| 213 | opts.generateMips = true; |
| 214 | opts.ggxPrefilter = true; |
| 215 | opts.projectToSH = true; |
| 216 | |
| 217 | EnvMapBaker::CubemapProcessingResults dstTextures; |
| 218 | dstTextures.filteredCubemap = m_ggxFilteredCubemap; |
| 219 | dstTextures.diffuseIrradianceCube = m_IrradianceCube; |
| 220 | |
| 221 | GetEnvMapBaker()->ProcessCubemap( |
| 222 | commandList.Get(), GetBindingCache(), |
| 223 | m_renderTargets->LocalCubemap, |
| 224 | opts, dstTextures); |
| 225 | } |
| 226 | |
| 227 | void IntroPathTracer::RenderSSR(nvrhi::CommandListHandle commandList, const SampleConstants& constants) |
| 228 | { |
nothing calls this directly
no test coverage detected