mirror of
https://github.com/ValveSoftware/source-sdk-2013.git
synced 2025-04-08 11:01:33 +00:00
Removing incorrect culling
This commit is contained in:
parent
37e2c8ef15
commit
404d3b778a
2 changed files with 4 additions and 4 deletions
|
@ -3859,7 +3859,7 @@ int CClientShadowMgr::BuildActiveShadowDepthList( const CViewSetup &viewSetup, i
|
|||
continue;
|
||||
|
||||
// Calculate an AABB around the shadow frustum
|
||||
Vector vecAbsMins, vecAbsMaxs;
|
||||
/* Vector vecAbsMins, vecAbsMaxs;
|
||||
CalculateAABBFromProjectionMatrix( shadow.m_WorldToShadow, &vecAbsMins, &vecAbsMaxs );
|
||||
|
||||
Frustum_t viewFrustum;
|
||||
|
@ -3871,7 +3871,7 @@ int CClientShadowMgr::BuildActiveShadowDepthList( const CViewSetup &viewSetup, i
|
|||
{
|
||||
shadowmgr->SetFlashlightDepthTexture( shadow.m_ShadowHandle, NULL, 0 );
|
||||
continue;
|
||||
}
|
||||
}*/
|
||||
|
||||
if ( nActiveDepthShadowCount >= nMaxDepthShadows )
|
||||
{
|
||||
|
|
|
@ -3856,7 +3856,7 @@ int CClientShadowMgr::BuildActiveShadowDepthList( const CViewSetup &viewSetup, i
|
|||
continue;
|
||||
|
||||
// Calculate an AABB around the shadow frustum
|
||||
Vector vecAbsMins, vecAbsMaxs;
|
||||
/* Vector vecAbsMins, vecAbsMaxs;
|
||||
CalculateAABBFromProjectionMatrix( shadow.m_WorldToShadow, &vecAbsMins, &vecAbsMaxs );
|
||||
|
||||
Frustum_t viewFrustum;
|
||||
|
@ -3868,7 +3868,7 @@ int CClientShadowMgr::BuildActiveShadowDepthList( const CViewSetup &viewSetup, i
|
|||
{
|
||||
shadowmgr->SetFlashlightDepthTexture( shadow.m_ShadowHandle, NULL, 0 );
|
||||
continue;
|
||||
}
|
||||
}*/
|
||||
|
||||
if ( nActiveDepthShadowCount >= nMaxDepthShadows )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue