Renders all meshes using depth-only rendering for a sun shadow map
| 665 | |
| 666 | // Renders all meshes using depth-only rendering for a sun shadow map |
| 667 | void MeshRenderer::RenderSunShadowDepth(ID3D12GraphicsCommandList* cmdList, const OrthographicCamera& camera) |
| 668 | { |
| 669 | const uint64 numVisible = CullMeshesOrthographic(camera, true, meshBoundingBoxes, meshDrawIndices); |
| 670 | RenderDepth(cmdList, camera, sunShadowPSO, numVisible); |
| 671 | } |
| 672 | |
| 673 | void MeshRenderer::RenderSpotLightShadowDepth(ID3D12GraphicsCommandList* cmdList, const Camera& camera) |
| 674 | { |
nothing calls this directly
no test coverage detected