MCPcopy Create free account
hub / github.com/TheRealMJP/DeferredTexturing / RenderSunShadowDepth

Method RenderSunShadowDepth

BindlessDeferred/MeshRenderer.cpp:667–671  ·  view source on GitHub ↗

Renders all meshes using depth-only rendering for a sun shadow map

Source from the content-addressed store, hash-verified

665
666// Renders all meshes using depth-only rendering for a sun shadow map
667void 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
673void MeshRenderer::RenderSpotLightShadowDepth(ID3D12GraphicsCommandList* cmdList, const Camera& camera)
674{

Callers

nothing calls this directly

Calls 1

CullMeshesOrthographicFunction · 0.85

Tested by

no test coverage detected