This is a beta of [FNV|FO3|FO4|FO4VR|TES5|SSE|TES5VR|ENDERAL|ENDERALSE]LODGen/Edit with terrain LOD meshes and textures generation.
This is for experienced mod authors and users that know how to use xEdit, xLODGen or DynDOLOD already.
Installation and Setup
xLODGen beta 80 - based on 4.1.3g
Unzip into a dedicated folder outside of any game and Steam folders or special Windows folders like Program Files.
(Pro users can merge with existing xEdit installation. Make sure to overwrite older LODGen.exe/LODGenx64.exe TexConv.exe/TexConvx64.exe in Edit Scripts. All other files with the same filenames are the same as the latest version of xEdit.)
Rename xLODGen.exe to [game mode]LODGen.exe (TES5LODGen.exe for example) or start with command line parameter -fnv, -fo3, -fo4, -fo4vr, -tes5, tes5vr, -sse, -enderal, -enderalse
Use -o:"c:\OutputPath\" command line parameter to change where files are generated to, default is the game folder. Use this if a mod manager with a virtual file system (like MO) is used.
Do not generate into any game or any mod manager folders that are part (direct or indirect) of the virtual file system.
Microsoft Visual C++ Redistributable for Visual Studio 2015, 2017 and 2019 - Required by LODGen.exe/LODGenx64.exe and Texconv.exe/Texconvx64.exe. Get matching platform x86/x64 depending on which xLODGen.exe (x86) or xLODGenx64.exe (x64) is used.
RTFM and Share Results
See the included Skyrim-Occlusion-Readme.txt for a brief explanation of the Skyrim TVDT Occlusion data generation. Read the hints that are shown when the mouse pointer rests on a setting. Ask specific questions or give feedback in the dedicated Skyrim TVDT - Occlusion Data thread.
See the included Terrain-LOD-Readme.txt for a brief explanation of the settings for terrain LOD generation. Read the hints that are shown when the mouse pointer rests on a setting. Ask specific questions about terrain LOD in this thread for a more in-depth explanation if required and share feedback (with screenshots) about results or problems.
These tools generate LOD meshes and textures "exactly" like CK, but not like the meshes and textures which are shipping with the games (they are often manually edited).
However, these tools provide more options and higher resolutions (use the x64 version if there are memory errors because you believe you require 4k or higher) and can be updated to add more useful features and options.
I did some testing in the different games, but finding the best combinations of options and settings requires lots of testing and are a matter of personal opinion and which game is used, the load order, mods, even different worldspaces probably.
That means, I am only able to give generic guidelines and hints to send you off to find and test for yourself and share your results. My main interested is that generations works correctly and without problems for now.
Check out the thread xLODGen Terrain Settings Compare. Also refer to any modding guide which has a list of relevant mods close to your load order.
The object and tree LOD generation is the same as the current versions of xEdit / xLODGen. Refer to their respective descriptions and explanations.
Obviously, users of Skryim/Enderal/Skyrim SE/Skyrim VR/EnderalSE continue to use the easier and more comprehensive DynDOLOD for drastically improved object and tree LOD generation and only use xLODGen for terrain LOD (and maybe Occlusion) generation.
Here are suggestion to start without going crazy and that should be quick enough to generate:
Set quality of meshes for LOD4 to 5 and then +5 for each next level. Or just set levels 8/16/32 to 10.
Check protect cell borders (yes it fixes the ugly terrain drops at outer cell borders that still exist in Fallout 4).
Use the max vertices setting only if you want to hard limit max file size.
In Skyrim Special Edition or Skyrim VR, if you notice terrain briefly flickering when new areas are loading in, set [Display] bEnableLandFade=0 in Skyrim.INI
Set Optimize Unseen to off for LOD4 for first generation. Start experimenting with a value of 550 with a quality setting of 10 or lower for LOD32 (used for map) and compare coastlines and file size to other settings.
To quickly generate terrain LOD meshes just for the map, check only terrain LOD Meshes, check the Specific Chunk checkbox and set drop down to 32. Leave SW fields empty for complete map or set SW cell coordinates to same values as a *.btr filename to test a specific area with lots of water, river etc.
Set texture sizes to 512 for a start. Larger sizes and large world spaces will take a considerable time (like 15 to 30 minutes or more easily). Each higher resolution means quadruple the work.
Use DXT1 for diffuse and 565 (DXT5 if on Windows 7) for normal maps. If generating for Skyrim Special Edition use BC7. Uncheck mipmaps, raise steepness and Bake normal maps.
For now, leave the Brightness, Contrast and Gamma at 0 and 1.0 respectively. It seems that only Skyrim CK and Skyrim SE CK are manipulating the intensity of the textures to adjust for the noise.dds and the god awful "improved" snow shader of Skyrim SE (just turn that thing off, really). If textures seem too dark in the game, brighten the noise.dds instead or vice versa. That way you can get perfectly matching LOD textures that look just like the textures in the loaded cells. For Skyrim a good average color of the noise texture seems to be around #C0. See below for a couple noise texture downloads.
If you want to test larger texture sizes, use the chunk option to limit the number of textures that need to be generated. For example, check [x] Specific chunk, leave the drop down empty and set WS to the lower left cell coordinate of an 32x32 area, like 0, 0. It will then generate all textures up to 31,31. Not all worldspaces have their origin at 0,0 so you will have to check already generated meshes/texture filenames for their lower left coordinates.
Questions and Feedback
Obliviously anything related to terrain LOD should be posted in this thread.
Posts related to Occlusion should be made here.
TES5-Terrain-Tamriel-Extend.esm, SSE-Terrain-Tamriel-Extend.esm - These extend the sea of ghost further to the north (see screenshots)
SSE-Terrain-Tamriel-Full-Extend.esm - Entire map from -96,-96 to 95,96 with northern ocean extension. Useful for mod authors.
Put in game data folder obviously. Adds back terrain for Skyrim (Tamriel worldspace) at the outer edges so there is no missing terrain meshes/textures when generating terrain LOD for Skyrim.
Load as early with lowest priority as possible, so that any other plugins overwriting or adding land records or cells with the same coordinates take precedence.
Only required to be loaded when generating terrain LOD. No harm done when loaded in-game but typically the player can not get close to these areas. There are no effects outside the far away added cells.
Single color flat noise, Adjusted vanilla noise, HD Terrain Noise Texture SE
Examples for Skyrim. Install to game folder like any other texture mod. The noise texture is applied in-game on top of terrain LOD textures, so no effect for LOD generation.
Only the red channel is used in case the textures is not a grey channel format. MipMaps are ignored. The textures is tiled 3x3 per LOD quad, e.g. for LOD level 4, the noise texture is repeated 3 times to cover 4 cells, for LOD level 8, the noise texture is repeated 3 times to cover 8 cells and so on.
For testing terrain LOD distances. Plain color terrain LOD textures for Tamriel with coordinates for every LOD quad. Green for LOD 4, yellow for LOD8, blue for LOD 16 and red for LOD 32.
FO4LODGen by Ehamloptiran, Zilav and Sheson
Static objects LOD generator tool for Fallout 4
After one and a half years, Zilav and I finally managed to incorporate FO4LODGen fully into the latest xEdit.exe builds posted to WIPz TES5Edit on Afk mods.
However, get the latest xLODGen - beta with terrain LOD, this is were the most recent LOD development happens.
Users of xEdit and FO3LODGen/FNVLODGen/TES5LODGen/SSELODGen will feel right at home.
After downloading and extracting the archive rename executable to FO4LODGen.exe or FO4LODGenx64.exe
Start FO4LODGen.exe with the command line parameter -o:"c:\Output" to set the output folder. This will make it easier to create BA2 archives, to avoid blurry textures because of loose texture files. I assume Fallout 4 modders know all about this issue with loose texture files, the involved INI settings and ENBoost.
Hover over the options of the FO4LODGen window to see hints what each setting does. If a texture atlas is not created it will use the vanilla texture atlas (Commonwealth and SanctuaryHillsWorld are supported atm, ping me if DLC worldspaces are required) if possible and single LOD textures if not.
I created a FO4LODGen Resources archive, to improve the generated LOD. While it is not required to generate object LOD, I recommend using the FO4LODGen.esp and the FO4LODGen - Main.ba2 for better results. Refer to the included docs/ReadMe.txt file to learn what each of the plugins do.
The plugins can be merged, but make sure to keep a the name FO4LODGen.esp in the load order so that the FO4LODGen - Main.ba2 is loaded when starting FO4LODGen.exe. Check the log to make sure the BA2 is loaded.
There is no hard requirement for the plugins that define unused LOD models and the FO4LODGen - Main.ba2 to be loaded in the game. However, if you notice flickering LOD textures or other odd behavior keep them in the load order. Let us know if this happened so we can update the instructions.
The FO4LODGen-DLCCoast-WindTurbines.esp is just a bonus plugin and has nothing to do with LOD generation.
All tree LOD in Fallout 4 is done as object static LOD, so 3D models are required instead of billboards.
Even without the FO4LODGen Resources and no plugins changing the worldspaces, FO4LODGen already improves vanilla LOD. Tree LOD models use a feature called "double sided", which the vanilla LOD does not support. In vanilla this means the opposite side of branches are invisible. See below screenshots.
Please test and post results so we can work out any kinks before official release.
"Use backlight power"
Fallout 4 Default Values for All Valid INI Settings
If it's not here, the tweak is most likely bogus, if it follows the same pattern as in previous games. Also note that there is a FalloutCustom.ini that is believed to function the same way SkyrimCustom.ini did in Skyrim. Plugin INIs appear to behave the same as well in initial testing. The in-game settings menu "default" values are different from these (Bethesda has given three different definitions of default in Fallout 4, all contradicting each other. I have settled for the same definition used in Skyrim, i.e., the value used when the setting is not explicitly stated in the INI files.)
Do NOT use these as your INI files. This is for reference only at this point.
Recently Browsing 0 members
No registered users viewing this page.