Cities: Skylines

Cities: Skylines

Loading Screen Mod
 Ez a téma ki van emelve, tehát valószínűleg fontos.
thale5  [Fejlesztő] 2019. júl. 2., 5:47
Guide: Very large LOD texture
Cities Skylines puts all asset LOD textures in a common texture atlas (a large texture) that has a limited maximum size. If the atlas does not have enough space, the game scales down all LOD textures.

Because of the limited-size atlas, LOD textures should not be very large. Having many large LOD textures may result in poor LOD quality for all assets. LOD texture size also has a significant impact on FPS.

LSM is able to alleviate the problem of oversize LOD textures: whereas the base game loader often puts the same texture many times in the atlas, LSM does that far less often. Notice that 'Share materials' must be enabled in mod options for this to work.
Legutóbb szerkesztette: thale5; 2019. júl. 3., 11:46
< >
115/16 megjegyzés mutatása
thale5  [Fejlesztő] 2020. ápr. 6., 8:09 
@Mountain Jew No. Like the guide says, the problem is visual (scaling down all LOD textures).

The null reference exception is something completely else. I recommend checking your mods. Also, if you have unsubscribed assets (especially buildings or nets) that are still in use, that might be it.
I have the same issue as Monte does. I rechecked the assets report and I have no missing files.
Even if I start a new game, I got the error message immediately..

Do you know what can cause this issue?
thale5  [Fejlesztő] 2020. máj. 11., 7:56 
System.NullReferenceException basically means "something went wrong". More specific information, if available, is in the output_log.txt file generated by the game.

Typical reasons are:
- obsolete mods
- save game corruption (caused by obsolete or buggy mods)
- missing placed (i.e. free-standing custom assets), nets in particular
- running out of memory.

So, usually it's mods-related.
I'm going through the report for my city, and I have a few questions since I'm dumb:
-what LOD texture size would you say is the cutoff for acceptable size/large size but minimal impact (idk about the assets with multiple LOD warnings)?
-does the in-game size of the asset have some sort of affect on the LOD texture?
-how many assets with a large LOD/the maximum size could we get away with without affecting performance too much? (Or does LSM prevent it from affecting fps? I'm a bit confused about the description above)

This is a great mod and its saved me from soooo much fustration and pain with LSM errors! thanks for making it!
Legutóbb szerkesztette: Future; 2020. jún. 25., 18:00
thale5  [Fejlesztő] 2020. júl. 2., 8:06 
If I like an asset a lot, I'm willing to accept its 512 x 512 LOD texture. Larger than that is not acceptable for me.

There is no direct relationship between visible asset size and texture size. But of course very small assets can use small textures and still look sharp.

Performance-wise, the worst situation is probably an asset with a very large LOD texture or LOD mesh that is placed really many times. Every placed copy of the asset needs to be rendered, so they stress the GPU. If the asset is placed a limited number of times, then it is not that bad.
So, what is that limited maximum size? 512*512? Thanks.
Following the LSM warnings, I edited the LOD texture sizes of a building style package I use, reducing their size from 512x512 to 64x64 pixels. However, when I run the MeshInfo mod, I notice that some of the assets in that package are now loaded with 64x64 pixels LOD while others are loaded with 32x32 pixels LOD (no clear correlation with number of tris or asset size). According to this topic description, I expected all assets to show the same 64x64 pixels LODs in game or that all of them would show reduced 32x32 pixels LODs (indicating all LOD textures have been equally scaled down). Is there an explanation for the selective downscaling of some of the assets, but not all of them? Thank you.
thale5  [Fejlesztő] 2021. márc. 10., 9:17 
@Makk The LOD texture atlas grows up to 4096 x 4096. It is not much, really. Some asset packs fill most of it, unfortunately.
Sorry for the late reply.
thale5  [Fejlesztő] 2021. márc. 10., 9:21 
@raybap About that texture LOD downscaling, you did that outside of the game?
The asset loader in the game does not downscale, it just loads the textures like they are.
@thale5: Thanks for the quick reply. Yes, I did it outside the game and created new versions of the assets with the reduced 64x64 pixels LOD models. I am reaching about 100 modified assets; all of them work fine. I am just puzzled by the fact that the MeshInfo mod reports about half of them as having the correct 64x64 pixels LOD, but the other half as having 32x32 pixels LOD. As I am still in the process of replacing old assets by new ones with reduced LOD, this behavior may happen because, in some cases, I have one modified residential version with reduced LOD and one commercial version of the same asset model still with 512x512 LOD. I will report back here when I finish the whole process of asset conversion.
Hmm why "allow" props that have this error and Very large LOD mesh in the first place?
Or is it also dependable on your GPU performance and can you actually modify assets made by others to "repair it"?
thale5  [Fejlesztő] 2021. jún. 1., 10:32 
@Fishwy Gaming This mod does not modify custom assets while loading them (mesh sizes or texture sizes).

But the key thing is: LSM should load all assets that the base game is able to load. This is important for compatibility.
Ok thanks for the info. cheers!
Legutóbb szerkesztette: Fishwy Gaming; 2021. jún. 26., 1:46
With very large vram becoming more common, could the atlas size not be increased? I have a 3060 with 12gb, seems silly to have such a restriction.
Get rid of all Failed ones would that help out in Blue screen or so on Error.
< >
115/16 megjegyzés mutatása
Laponként: 1530 50