From 6ef79a1d3a5e1c57a796f701c00b33c298bce06f Mon Sep 17 00:00:00 2001 From: RaveYard <29225776+MrRaveYard@users.noreply.github.com> Date: Thu, 31 Aug 2023 22:03:32 +0200 Subject: [PATCH] TMP need uvs back --- src/maploader/maploader.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/maploader/maploader.cpp b/src/maploader/maploader.cpp index e4ae4586a..204aa4bc5 100644 --- a/src/maploader/maploader.cpp +++ b/src/maploader/maploader.cpp @@ -3407,7 +3407,7 @@ void MapLoader::GenerateLightmap(const DoomLevelMesh& mesh, int atlasPages, int ptr[2] = floatToHalf(0.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)) + /*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); @@ -3418,7 +3418,7 @@ void MapLoader::GenerateLightmap(const DoomLevelMesh& mesh, int atlasPages, int ptr[0] = 0; ptr[1] = 0; ptr[2] = 0; - } + }*/ } } }