aboutsummaryrefslogtreecommitdiff
path: root/src/raycast.cpp
diff options
context:
space:
mode:
authorParamat <paramat@users.noreply.github.com>2017-05-20 15:46:35 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-05-20 16:46:35 +0200
commit60baf8120cdaabc619ab655065d95e8318e98412 (patch)
tree4de5bc4f639cbcdb6b0d8a26efca1ecc81f3f2f5 /src/raycast.cpp
parentaf2f02552f1999b9b491fc44386be5c1ea8a8882 (diff)
downloadminetest-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 'src/raycast.cpp')
0 files changed, 0 insertions, 0 deletions