diff options
author | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-01-04 20:04:43 +0100 |
---|---|---|
committer | Hugo Locurcio <hugo.locurcio@hugo.pro> | 2022-08-02 22:59:06 +0200 |
commit | 92fa8fd54a2118e01783db08162f38f6f2856634 (patch) | |
tree | 437902796a07847c011cf2f470a0bdcdacad246e /scene/2d/marker_2d.h | |
parent | deefce7bb53afcf77c79732af74f1856210a8cc6 (diff) |
Document caveats of high attenuation in OmniLight3D and SpotLight3D
High attenuation values will negatively impact performance for 2 reasons:
- The light won't be culled as often.
- The light will cover more pixels, which have to be shaded individually.
Therefore, lower attenuation values (with a lower range to compensate)
should be preferred whenever possible.
Diffstat (limited to 'scene/2d/marker_2d.h')
0 files changed, 0 insertions, 0 deletions