Closed niltwill closed 4 years ago
Thanks, I have no time to tackle with this at the moment, so if more people can test it and decide this is better, I'll remove this code.
The files from @niltwill works but I lose several lights if I apply it :(
With @niltwill will version:
With normal version (bugged with LOD in interiors):
Also, don't know if related with this mod, but why does it seems like the stadium is missing a part of its LOD texture when far?
Thanks in advance.
Using VCLodLights with
PreloadLODs = 1
(enabled), it causes these LODs to appear when loading a save game inside the mansion or the hotel: https://i.postimg.cc/CLxvZm6v/preloadlod-issue1.jpg https://i.postimg.cc/ncS3qByn/preloadlod-issue2.jpg https://i.postimg.cc/mZwX20Vz/preloadlod-issue3.jpgIt only happens after you load a saved game inside the mansion or the hotel with PreloadLODs enabled. When leaving the interior and re-entering, these LODs no longer appear.
I fixed this by removing this part from the source file, recompiled with VS2019 and it no longer displays those LODs after loading a game (inside an interior) that it shouldn't.
The problem is that the developers had overlapped these interiors with certain LOD models of the outside game world, so the LODs you force to display appear like shown in those images (although in certain places or angles only).
Here is my compiled VCLodLights, if you need it.
I'm not sure what you were trying to achieve, but the better solution if you want LODs to appear in interiors would be to change the IPL map files instead.