It turns to be out quite tricky as there is no explanation for how things in volumetricfog node interact, even XSD is quite empty with notes like "Defaults to 0" or "TODO:@Markus/Timon document".
If there are some rules for how those parameters should be set up to make the fog more or less fine and not kill your CPU that would help, so if someone has any insight on how these things interact please share, your input will be really appreciated.
This is an example of the node:
Code: Select all
<volumetricfog multiplier="2.0" medium="fog_grey" texture="assets/textures/environments/fog_patterncloud_07" lodrule="nebula" size="160000" sizevariation="0.75" densityfactor="0.0025" rotation="0" rotationvariation="0.5" noisescale="50000" seed="666" minnoisevalue="0.8" maxnoisevalue="1.0" distancefactor="0.8"/>
Code: Select all
<volumetricfog multiplier="0.205" medium="fog_burgundy" texture="assets/textures/environments/volumefog/vf_structured_01_diff" lodrule="nebulafar" size="28000" sizevariation="1.95" densityfactor="0.035150" rotation="0" rotationvariation="0.50" noisescale="50000" seed="666" minnoisevalue="0.40" maxnoisevalue="1.0" distancefactor="0.60"/>
multiplier - does it multiply fog based on densityfactor?
medium - how does it impact the performance
texture - how does it interact with medium?
size and sizevariation - what it is and how to make sense of it?
densityfactor - is it just the density of the fog? how it interacts with multiplier? setting it high usually kills CPU, but low values are barely noticeable
distancefactor - what does it really impact?
If there is some correlation between numbers e.g. multiplier and densityfactor or size , that I can use in the generator script that would help immensely.
Thank you for your time!