Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow smsize 15 for better shadow map resolution #1421

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Calinou
Copy link
Member

@Calinou Calinou commented Apr 12, 2023

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

  1. Roughly RTX 3080 level in terms of rasterization performance or better.

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 GPUs 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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

None yet

1 participant