mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
Re-enable cpu trace test
This commit is contained in:
parent
96e45daa08
commit
15e5f7e77a
1 changed files with 2 additions and 2 deletions
|
@ -3402,7 +3402,7 @@ void MapLoader::GenerateLightmap(const DoomLevelMesh& mesh, int atlasPages, int
|
|||
ptr[2] = floatToHalf(0.0f);
|
||||
}
|
||||
|
||||
/*if (Level->levelMesh->TraceSky(surface.worldOrigin - surface.worldStepX - surface.worldStepY + surface.worldStepX * x + surface.worldStepY * y + FVector3(surface.plane.Normal()), Level->SunDirection, 32000.0f))
|
||||
if (Level->levelMesh->TraceSky(surface.worldOrigin - surface.worldStepX * 0.5f - surface.worldStepY * 0.5f + surface.worldStepX * x + surface.worldStepY * y + FVector3(surface.plane.Normal()), Level->SunDirection, 32000.0f))
|
||||
{
|
||||
ptr[0] = floatToHalf(Level->SunColor.X);
|
||||
ptr[1] = floatToHalf(Level->SunColor.Y);
|
||||
|
@ -3413,7 +3413,7 @@ void MapLoader::GenerateLightmap(const DoomLevelMesh& mesh, int atlasPages, int
|
|||
ptr[0] = 0;
|
||||
ptr[1] = 0;
|
||||
ptr[2] = 0;
|
||||
}*/
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue