diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-02-18 22:36:03 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-05-02 23:14:00 +0200 |
commit | 618c88c71b842730a93d3e416b787cd265f09d96 (patch) | |
tree | 3dcd6d517db289677f16f0ce77478075b96ebd8a /core/core_constants.cpp | |
parent | 7f181494d1903e37e9d5af71946e88fd58fb5a74 (diff) |
Make Decal distance fade smoother
`smoothstep()` avoids the sudden transparency jump when entering or
leaving a decal's distance 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 'core/core_constants.cpp')
0 files changed, 0 insertions, 0 deletions