summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/renderer_compositor_rd.cpp
diff options
context:
space:
mode:
authorHugo Locurcio <hugo.locurcio@hugo.pro>2022-02-01 23:54:44 +0100
committerHugo Locurcio <hugo.locurcio@hugo.pro>2022-02-01 23:54:44 +0100
commit20464fd10374a99eacb67743013ef822cf67284b (patch)
treeca9cd3527dee6ac0d625b1284c1bd2646363e4f5 /servers/rendering/renderer_rd/renderer_compositor_rd.cpp
parentb5707400ebb3daa346fece54c119a5da70852647 (diff)
Make visibility range alpha fade smoother
`smoothstep()` avoids the sudden transparency jump when entering or leaving an object's alpha fade margin distance. This in turn helps make opacity transitions less noticeable to the player, as it's less likely to catch the player's eye.
Diffstat (limited to 'servers/rendering/renderer_rd/renderer_compositor_rd.cpp')
0 files changed, 0 insertions, 0 deletions