Shadow Distance Fix
This mod fixes shadow distance reduction due to Camera Positions Utlitiy.
so without Camera Positions Utlitiy won’t need this mod… But is there anyone who doesn’t have Camera Positions Utlitiy?:p
The explanation below may not be accurate! If there is anything wrong, please let me know.
and sorry for my poor english
It was early this year that I noticed the problem of reduce shadow distance compared to vanilla. According to the comments of Camera Positions Utlitiy, this problem has been around since 2017.
In conclusion, this problem is triggered by the Camera Positions Utlitiy’s ability to zoom further. The upper limit of the CS zoom is set by called m_maxDistance, where the higher the value of it, the more inversely proportional to the distance of the shadow. This can also be found in Zoom It, and it helped me to figure out the cause.
Vanilla value is 4000, but Camera Positions Utlitiy’ is 40000. As far as I’ve checked with ModTools, 14,000 is enough to see the whole 81 tiles and does not reduce the shadow distance.
So if you ask if this mod changes this value, no. I don’t know how to change it because Camera Positions Utlitiy keeps the value fixed. Instead I solved this problem by changing the value of m_maxShadowDistance.
Before explaining this, there is something to understand: the clarity of CS shadows is inversely proportional to shadow distance.
In fact m_maxShadowDistance is used for rendering when away from shadows, so even raising the value does not make shadows visibly blurred. Still, in case anyone has doubts, There is a slider that can go back to the value of vanilla in the setting. the left-end value of the slider is the vanilla value, and the right-end value is the value that changes when loaded.
I also added a setting for m_minShadowDistance, which is much involved in shadow clarity (see picture).
/
About performance… This is only going back to vanilla shadow distance, so this mod would be the same if there were no fps problems with the original vanilla setting.
Github repository[github.com]
Special thanks to algernon for making mod settings savable
I don’t think this mod will conflict with any mod because it’s just a small change
Revisions:
Old revisions of this mod are available below. Click the link to download.

