summaryrefslogtreecommitdiff
path: root/editor/plugins/texture_editor_plugin.h
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2021-10-23 16:32:38 +0200
committerHugo Locurcio <hugo.locurcio@hugo.pro>2021-10-23 16:32:38 +0200
commit970bed62abb7d88e5bbd09b9212a7e7168322058 (patch)
treec4db7176fa6ff362b83cedf284dc225ef69f504b /editor/plugins/texture_editor_plugin.h
parent0aa6f27061ce3d140566fbf076010a4f3ead839b (diff)
Decrease the default soft shadow quality to improve performance
Soft shadows are relatively expensive to filter. However, with the default blur factors, it's not needed to use too many samples (unless PCSS-like shadows are used with a large size). Textures and screen-space antialiasing can also be used to mask the noise pattern effectively. On a GeForce GTX 1080, going from Medium to Low for both shadow types saves 0.2-0.4 ms of GPU time per frame in 2560×1440 resolution. This can translate to significantly higher savings on lower-end GPUs. Given how the shader works, this improves rendering performance even if lights with shadows are never used.
Diffstat (limited to 'editor/plugins/texture_editor_plugin.h')
0 files changed, 0 insertions, 0 deletions