Allow smsize 15
for better shadow map resolution
#1421
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This results in sharper, more stable shadows that better connect to the object casting them (with less acne/peter-panning).
This is a demanding setting compared to
/smsize 14
, but modern high-end GPUs1 can still render the game smoothly with/smsize 15
in most maps. Still, given how demanding this setting is, it's intentionally not exposed in the graphics options menu.I also tried exposing
/smsize 16
for fun, but it looks the same as/smsize 15
– presumably because GPUs don't support such large textures in the first place. (I'm surprised/smsize 15
even works here…; I remember when smoothly using/smsize 14
was just a pipe dream.)Footnotes
Roughly RTX 3080 level in terms of rasterization performance or better. ↩