Hello all,
I'm new here. Although I play IL-2 from time to time since it was released, I have met the mods and the modding community recently.
After the brief introduction let me come to the point:
As you probably know, clouds in IL-2 is very poorly done, not only visually but also technically. If only I can play with good FPS rates without good visuals, I would be happy. But it is never possible while going into the clouds!
My system is not a powerful one and the most important lacking point is the CPU:
P4 3.0 GHz @ working on 3.9 GHz
2 GB Ram
8600GT 512MB Ram
Although my CPU is slightly overclocked, I strongly think that it is the bottleneck of the whole system.
My resolution is a bit high for this system also but I have a big LCD screen and low resolution looks really ugly.
So,
When I was trying to identify the slowness with clouds, I realized that the closer the clouds are the less FPS I achieve. In the clouds, the worst: sometimes below 14 FPS. It is a nightmare!
Then I thought: It must be something wrong with "magnifying cloud textures to a big size algorithm".
I begin with getting a cloud mod and modifying it.
Then here are the results:
1. clouds4x4.tga file: Its size has nearly no effect on FPS at all! Only with >4MB of size meaning >1024x1024 texture size, the game fails to render clouds, I think because of memory limitation.
2. BASE_R_DISP line in DATA.cld: The main FPS killer is this! The bigger the value the bigger trouble! It should be surely less than 1.0. The minimum point I found is 0.5. Any less value will produce interesting glitches like black clouds
3. MAT_DENSITY in DATA.cld: It only makes clouds less transparent and whiter. Not FPS related.
4. N_PER_SQ line in DATA.cld: It does nothing I think. I tried many different values and didnt see any difference.
5. DENSITY lines in DATA.cld: In level 0 it changes density of clouds meaning more clouds in the same area. But in level 0 max value is 4 and any value above causes instability. In level 1 the same but it didnt make much difference as the other. Its limit is also non existing as far as I test.
In the light of these findings, I use 1024x1024 texture with BASE_R_DISP<1.0 setting. And there is a slight FPS gain from +10 to +30.
Getting lots of clouds with no or less mangnification dont reduce FPS but getting less cloud with lots of magnification kills FPS a lot.
However now: With thunder weather clouds dont cover the sky. I increased the densities of clouds but it wasnt enough. If I only can spawn more clouds, it will be alright. But couldnt find a way. Any ideas?
Thanks.
-Edit-
I'm sharing the final modded DATA.cld file, so the mod is finished(Moderators can move it to Visuals->Effects section from WIP)
Please use this only if you desperately in a need for a slight FPS boost in the clouds.
Because, as a side effect, thunder and poor weather don't have a sky full of clouds. It is more like partly cloudy. If you are fine with it, then it is fine.
This is only a modded DATA.cld file as I have no textures that belongs to me. You can use it with any cloud mod. Just put the file into the folder of the cloud mod. (Meaning Mods\[modName]\Effects\clouds) It is strongly recommended to use 1024x1024 "clouds4x4.tga" file to compensate reduced cloud scale. If you have smaller texture, just resize it with some image manipulation software(or freeware:) ) Don't worry, it won't cause FPS drop!
The file itself is only a simple text file(you can open with notepad), all the explanations are inside of the file so, you can adjust some values to get the best results.Whoops... Isn't there an attachment option in this forum? Fine... Here is uploaded file:
https://www.mediafire.com/?kzuvdjmqzxm