diff options
author | Paramat <paramat@users.noreply.github.com> | 2017-05-20 15:46:35 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2017-05-20 16:46:35 +0200 |
commit | 60baf8120cdaabc619ab655065d95e8318e98412 (patch) | |
tree | 4de5bc4f639cbcdb6b0d8a26efca1ecc81f3f2f5 /builtin/profiler | |
parent | af2f02552f1999b9b491fc44386be5c1ea8a8882 (diff) | |
download | minetest-60baf8120cdaabc619ab655065d95e8318e98412.tar.gz minetest-60baf8120cdaabc619ab655065d95e8318e98412.tar.bz2 minetest-60baf8120cdaabc619ab655065d95e8318e98412.zip |
Particle spawner: Do not spawn particles distant from player (#5766)
Previously, every particle was rendered by (even if not actually visible to)
the client regardless of distance. This significantly reduced client FPS.
Acts clientside, particle spawners are always sent to clients, but each
particle is checked for distance from the player.
As with 'add particle' the distance limit is set to 'max block send distance'
as this determines how far a client can see.
Diffstat (limited to 'builtin/profiler')
0 files changed, 0 insertions, 0 deletions