mirror of
https://github.com/id-Software/DOOM-3-BFG.git
synced 2025-05-30 16:31:10 +00:00
Small corrections to dmap
This commit is contained in:
parent
352df659a8
commit
e03ed8769d
10 changed files with 70 additions and 35 deletions
|
@ -469,6 +469,16 @@ static void CreateMapLight( const idMapEntity* mapEnt )
|
|||
|
||||
R_DeriveLightData( &light->def );
|
||||
|
||||
// RB begin
|
||||
idRenderMatrix::GetFrustumPlanes( light->frustumPlanes, light->def.baseLightProject, true, true );
|
||||
|
||||
// the DOOM 3 frustum planes point outside the frustum
|
||||
for( int i = 0; i < 6; i++ )
|
||||
{
|
||||
light->frustumPlanes[i] = -light->frustumPlanes[i];
|
||||
}
|
||||
// RB end
|
||||
|
||||
// get the name for naming the shadow surfaces
|
||||
const char* name;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue