I noticed when I use “_blocksize 0”, the -light phase is dramatically sped up.
For clarification purposes. My understanding has been that the -light phase references the .prt file made during the -vis phase and calculate a mini-lightmap for each leaf node. It then integrates all the lightmaps into one giant lightmap. Is this a bad way to think about it?
This makes intuitive sense since the -light phase can sometimes be sped up by 10X or more from using _blocksize 0. The blocksize can create a surplus of leaf nodes in your map rather than just square rooms, which would be otherwise the case. If the -light phase has less leaf nodes in total number and also less complex leaf nodes to calculate lightmaps for, then it might explain the dramatic speed increase in the compile.
Also does anyone have any info on each stage of the -light compile that I could read about?
ps- it doesn’t use the ACTUAL prt file but a prt file integrated into the bsp right after -vis.
. _blocksize has nothing to do with -light phase