minetest/src
x2048 bf3acbf388
Distribute shadow map update over multiple frames to reduce stutter (#11422)
Reduces stutter and freezes when playing.

 * Maintains double SM and SM Color textures
 * Light frustum update triggers incremental generation of shadow map into secondary 'future' textures.
 * Every incremental update renders a portion of the shadow draw list (split equally).
 * After defined number of frames (currently, 4), 'future' and 'current' textures are swapped, and DirectionalLight 'commits' the new frustum to use when rendering shadows on screen.

Co-authored-by: sfan5 <sfan5@live.de>
2021-07-25 12:36:23 +02:00
..
client Distribute shadow map update over multiple frames to reduce stutter (#11422) 2021-07-25 12:36:23 +02:00
content Deprecate not providing mod.conf 2021-02-24 11:47:50 +01:00
database Provide exact error message if postgres connection string missing 2021-05-30 11:40:14 +02:00
gui Remove unused header includes 2021-07-21 22:07:13 +02:00
irrlicht_changes Fix two CMake build issues 2021-04-21 20:26:43 +02:00
mapgen Fix broken BiomeGen abstraction (#11107) 2021-03-23 15:43:26 +01:00
network Require 'basic_debug' priv to view gameplay-relevant debug info, require 'debug' priv to view wireframe (#9315) 2021-06-24 21:21:19 +03:00
script Refactor video driver name retrieval (#11413) 2021-07-11 09:50:34 +02:00
server Script API: Fix segfault in remove_detached_inventory 2021-07-10 14:34:36 +02:00
threading Remove Thread::kill() and related unittest (#10317) 2020-09-10 12:19:18 +02:00
unittest Rework Settings to support arbitrary hierarchies (#11352) 2021-06-23 15:22:31 +02:00
util Improve shadow rendering with non-default camera FOV (#11385) 2021-07-11 08:15:19 -07:00
activeobject.h Removed some obsolete code (#10562) 2021-01-21 18:17:09 +00:00
activeobjectmgr.h Add nametag background setting and object property (#10937) 2021-02-17 19:51:28 +00:00
ban.cpp Add unittests on ActiveObject and BanManager class (#6866) 2018-01-01 18:48:52 +01:00
ban.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
chat_interface.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
chat.cpp Make chat web links clickable (#11092) 2021-06-20 17:20:24 +02:00
chat.h Make chat web links clickable (#11092) 2021-06-20 17:20:24 +02:00
chatmessage.h Travis: Update clang from 4.0 to 5.0 (#6467) 2017-10-09 11:32:06 +02:00
clientiface.cpp Reserve vectors before pushing and other code quality changes (#11161) 2021-04-05 13:38:31 +02:00
clientiface.h Fix build for newer versions of GCC (#11246) 2021-05-06 19:24:30 +02:00
cloudparams.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
cmake_config_githash.h.in C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
cmake_config.h.in Add MetricsBackend with prometheus counter support 2020-04-29 07:48:08 +02:00
CMakeLists.txt Fix no locales being generated when APPLY_LOCALE_BLACKLIST=0 2021-07-20 17:58:47 +02:00
collision.cpp Add missing sao->isGone() checks 2020-05-18 23:23:25 +02:00
collision.h Expose collided objects in moveresult 2020-05-06 14:03:52 +02:00
config.h Add STATIC_LOCALEDIR to BUILD_INFO and move it to version.cpp 2020-04-27 17:50:05 +02:00
constants.h Consistently use "health points" (#10868) 2021-01-27 18:42:02 +00:00
content_mapnode.cpp Modernize src/c* src/d* and src/e* files (#6263) 2017-08-17 23:02:50 +02:00
content_mapnode.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
content_nodemeta.cpp (se)SerializeString: Include max length in the name 2020-10-01 09:52:59 +02:00
content_nodemeta.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
convert_json.cpp Sort out cURL timeouts and increase default 2021-04-02 00:19:39 +02:00
convert_json.h Sort out cURL timeouts and increase default 2021-04-02 00:19:39 +02:00
craftdef.cpp Overall improvements to log messages (#9598) 2020-04-08 20:13:23 +02:00
craftdef.h Clean up craft replacements docs 2019-12-07 23:46:24 +01:00
daynightratio.h Make natural night light as bright as MT 0.4.16 (#9053) 2019-10-18 21:54:44 +01:00
debug.cpp Fix some misspellings (#8104) 2019-01-16 13:39:13 +01:00
debug.h Remove DSTACK support (#6346) 2017-08-30 08:09:41 +02:00
defaultsettings.cpp Distribute shadow map update over multiple frames to reduce stutter (#11422) 2021-07-25 12:36:23 +02:00
defaultsettings.h Settings: Proper priority hierarchy 2021-01-29 17:32:35 +01:00
emerge.cpp Add core.compare_block_status function (#11247) 2021-05-30 20:24:12 +02:00
emerge.h Add core.compare_block_status function (#11247) 2021-05-30 20:24:12 +02:00
environment.cpp Allow the ABM time budget to be configurable. 2020-08-18 16:04:32 -07:00
environment.h Allow the ABM time budget to be configurable. 2020-08-18 16:04:32 -07:00
exceptions.h Remove dead code (#10845) 2021-01-22 15:09:26 +00:00
face_position_cache.cpp Modernize various files 2017-08-18 07:44:52 +02:00
face_position_cache.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
filesys.cpp fix: extractZipFile is not part of Client but more generic. 2021-05-06 16:01:52 +02:00
filesys.h fix: extractZipFile is not part of Client but more generic. 2021-05-06 16:01:52 +02:00
gamedef.h Client eventmanager refactor (#7179) 2018-03-30 18:32:52 +02:00
gameparams.h Cleanup ClientLauncher structure (#10160) 2020-07-14 19:10:37 +02:00
gettext.cpp Fix detection of in-place path_locale when RUN_IN_PLACE=0 2020-04-27 17:50:05 +02:00
gettext.h Fix segfault caused by wrong wgettext() 2018-04-09 16:25:57 +02:00
gettime.h Allow customizing chat message format (#8529) 2019-08-08 17:04:46 +01:00
httpfetch.cpp Rework Settings to support arbitrary hierarchies (#11352) 2021-06-23 15:22:31 +02:00
httpfetch.h Add PUT and DELETE request + specific method value to HTTP API (#9909) 2020-07-29 23:16:21 +02:00
hud.cpp Minimap as HUD element with API control 2020-10-04 15:24:34 +02:00
hud.h Minimap as HUD element with API control 2020-10-04 15:24:34 +02:00
inventory.cpp Inventory: Make addList() consistent (#11382) 2021-06-30 20:39:38 +02:00
inventory.h Inventory: Make addList() consistent (#11382) 2021-06-30 20:39:38 +02:00
inventorymanager.cpp Fix wrong number of items in allow_metadata_inventory_put/take callbacks (#10990) 2021-02-23 19:36:55 +01:00
inventorymanager.h Fix inventory swapping not calling all callbacks (#9923) 2020-09-04 20:49:07 +02:00
irr_aabb3d.h Revert 6587 - Optimize entity-entity collision (#7539) 2018-07-08 21:30:55 +01:00
irr_ptr.h Improve irr_ptr (#10808) 2021-01-24 14:40:34 +00:00
irr_v2d.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irr_v3d.h Revert 6587 - Optimize entity-entity collision (#7539) 2018-07-08 21:30:55 +01:00
irrlichttypes_bloated.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
irrlichttypes_extrabloated.h Use true pitch/yaw/roll rotations without loss of precision by pgimeno (#8019) 2019-02-07 21:26:06 +00:00
irrlichttypes.h Irrlicht support code maintenance 2021-03-31 13:15:47 +02:00
itemdef.cpp Use place_param2 client-side for item appearance & prediction (#11024) 2021-03-09 00:56:53 +01:00
itemdef.h Use place_param2 client-side for item appearance & prediction (#11024) 2021-03-09 00:56:53 +01:00
itemgroup.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
itemstackmetadata.cpp Sanitize ItemStack meta text 2021-01-28 21:33:10 +00:00
itemstackmetadata.h Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
light.cpp Fix light overflow of u8 if light is saturated at 255 (#10305) 2020-08-23 15:39:55 +02:00
light.h Light curve: Simplify and improve code, fix darkened daytime sky (#7693) 2018-09-16 17:59:42 +01:00
log.cpp Remove unused functions reported by cppcheck (#10463) 2020-10-05 09:07:33 +02:00
log.h Remove unused functions reported by cppcheck (#10463) 2020-10-05 09:07:33 +02:00
main.cpp Rework Settings to support arbitrary hierarchies (#11352) 2021-06-23 15:22:31 +02:00
map_settings_manager.cpp Rework Settings to support arbitrary hierarchies (#11352) 2021-06-23 15:22:31 +02:00
map_settings_manager.h Rework Settings to support arbitrary hierarchies (#11352) 2021-06-23 15:22:31 +02:00
map.cpp Add API for mods to hook liquid transformation events (#11405) 2021-07-09 09:08:40 -04:00
map.h Add core.compare_block_status function (#11247) 2021-05-30 20:24:12 +02:00
mapblock.cpp Allow configuring block disk and net compression. Change default disk level. 2020-12-15 10:15:25 -08:00
mapblock.h Add core.compare_block_status function (#11247) 2021-05-30 20:24:12 +02:00
mapnode.cpp Add wallmounted support for plantlike and plantlike_rooted nodes (#11379) 2021-07-15 21:19:59 +02:00
mapnode.h Degrotate support for mesh nodes (#7840) 2021-03-30 00:25:11 +02:00
mapsector.cpp ServerMap saving: cleanups (#6274) 2017-08-19 11:29:46 +02:00
mapsector.h Minor clientmap improvements. 2020-10-19 09:31:09 -07:00
metadata.cpp Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
metadata.h Add player:get_meta(), deprecate player attributes (#7202) 2018-04-06 10:52:29 +02:00
modchannels.cpp Add session_t typedef + remove unused functions (#6470) 2017-09-27 19:47:36 +02:00
modchannels.h Add session_t typedef + remove unused functions (#6470) 2017-09-27 19:47:36 +02:00
modifiedstate.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
mtevent.h Darwin platform build fix (#10376) 2020-09-09 19:12:03 +02:00
nameidmapping.cpp (se)SerializeString: Include max length in the name 2020-10-01 09:52:59 +02:00
nameidmapping.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
nodedef.cpp refacto: remove get_gui_env & draw_load_screen from RenderingEngine singleton 2021-05-03 19:49:19 +02:00
nodedef.h refacto: remove get_gui_env & draw_load_screen from RenderingEngine singleton 2021-05-03 19:49:19 +02:00
nodemetadata.cpp Reserve vectors before pushing and other code quality changes (#11161) 2021-04-05 13:38:31 +02:00
nodemetadata.h Send only changed node metadata to clients instead of whole mapblock (#5268) 2018-12-04 20:37:48 +01:00
nodetimer.cpp Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
nodetimer.h Code modernization: src/n*, src/o* (#6280) 2017-08-19 11:30:46 +02:00
noise.cpp Fix broken BiomeGen abstraction (#11107) 2021-03-23 15:43:26 +01:00
noise.h Fix broken BiomeGen abstraction (#11107) 2021-03-23 15:43:26 +01:00
objdef.cpp Allow ObjDefManager instances to be cloned 2020-05-05 19:26:59 +02:00
objdef.h Fix remaining issues with mapgen scriptapi 2020-05-05 19:26:59 +02:00
object_properties.cpp Add nametag background setting and object property (#10937) 2021-02-17 19:51:28 +00:00
object_properties.h Add nametag background setting and object property (#10937) 2021-02-17 19:51:28 +00:00
particles.cpp (se)SerializeString: Include max length in the name 2020-10-01 09:52:59 +02:00
particles.h Implement spawning particles with node texture appearance 2020-05-23 22:52:21 +02:00
pathfinder.cpp Reserve vectors before pushing and other code quality changes (#11161) 2021-04-05 13:38:31 +02:00
pathfinder.h Reduce ServerEnvironment propagation (#9642) 2020-04-11 19:59:43 +02:00
player.cpp Unify wield item handling (#8677) 2019-08-07 19:16:31 +02:00
player.h Allow binding dig, place actions to keys; remove LMB/RMB hardcoding 2020-08-15 12:19:20 +03:00
porting_android.cpp Add open user data button to main menu (#10579) 2020-12-19 13:27:15 +00:00
porting_android.h Add open user data button to main menu (#10579) 2020-12-19 13:27:15 +00:00
porting.cpp Add open user data button to main menu (#10579) 2020-12-19 13:27:15 +00:00
porting.h Slap u64 on everything time-y (#10984) 2021-02-24 12:05:17 +01:00
profiler.cpp Minor profiler fixes. 2020-12-23 14:48:08 -08:00
profiler.h Better F6 profiler (#8750) 2019-08-13 19:56:55 +02:00
raycast.cpp Ease selection of entities behind nodes (#7739) 2018-10-26 19:23:33 +02:00
raycast.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
reflowscan.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
reflowscan.h Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
remoteplayer.cpp RemotePlayer: Remove Settings writer to Files database 2021-01-29 17:32:35 +01:00
remoteplayer.h Settings: Proper priority hierarchy 2021-01-29 17:32:35 +01:00
rollback_interface.cpp Fix some reference counters (memleak) (#8981) 2019-09-24 19:05:28 +02:00
rollback_interface.h Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
rollback.cpp Code modernization: src/p*, src/q*, src/r*, src/s* (partial) (#6282) 2017-08-19 14:25:35 +02:00
rollback.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
serialization.cpp Add limit parameter to decompressZlib 2020-02-01 14:05:26 +01:00
serialization.h Add limit parameter to decompressZlib 2020-02-01 14:05:26 +01:00
server.cpp Server: Ignore whitespace-only chat messages 2021-06-22 19:47:18 +02:00
server.h Server: properly delete ServerMap on interrupted startups 2021-02-05 18:38:34 +01:00
serverenvironment.cpp Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333) 2021-06-20 17:21:35 +02:00
serverenvironment.h Add min_y and max_y checks for Active Block Modifiers (ABM) (#11333) 2021-06-20 17:21:35 +02:00
serverlist.cpp Use JSON for favorites, move server list code to Lua (#10085) 2021-01-22 15:08:57 +00:00
serverlist.h Use JSON for favorites, move server list code to Lua (#10085) 2021-01-22 15:08:57 +00:00
settings_translation_file.cpp Update minetest.conf.example and dummy translation file 2021-06-16 18:27:45 +02:00
settings.cpp Rework Settings to support arbitrary hierarchies (#11352) 2021-06-23 15:22:31 +02:00
settings.h Rework Settings to support arbitrary hierarchies (#11352) 2021-06-23 15:22:31 +02:00
skyparams.h Color gradient for default and 'regular' type sky (#9502) 2020-05-09 17:14:56 +02:00
sound.h (se)SerializeString: Include max length in the name 2020-10-01 09:52:59 +02:00
staticobject.cpp (se)SerializeString: Include max length in the name 2020-10-01 09:52:59 +02:00
staticobject.h ServerEnvironment & StaticObject cleanups 2018-03-09 23:27:26 +01:00
terminal_chat_console.cpp Modernize source code: last part (#6285) 2017-08-20 13:30:50 +02:00
terminal_chat_console.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
texture_override.cpp Implement override.txt support for special tiles (#10140) 2020-08-04 20:12:47 +02:00
texture_override.h Implement override.txt support for special tiles (#10140) 2020-08-04 20:12:47 +02:00
tileanimation.cpp Proselytize the network. Use IEEE F32 (#8030) 2019-01-03 17:04:26 +01:00
tileanimation.h Bump minimal protocol version to 36 (#6319) 2017-08-29 19:26:55 +02:00
tool.cpp Serialize tool capabilities JSON without whitespace 2021-03-20 22:06:17 +01:00
tool.h Punchwear (improved) (#8959) 2019-09-22 22:12:21 +02:00
translation.cpp Reduce empty translation error to infostream 2021-02-07 16:03:48 +00:00
translation.h Clean up server-side translations, remove global variable (#10075) 2020-09-16 14:51:11 +01:00
version.cpp Improve --version output to include Lua(JIT) version 2021-01-21 00:52:31 +01:00
version.h C++ modernize: Pragma once (#6264) 2017-08-17 22:19:39 +02:00
voxel.cpp Node definition manager refactor (#7016) 2018-02-10 21:04:16 +01:00
voxel.h VoxelArea: add_{x,y,z,p} must be static 2018-03-09 23:27:26 +01:00
voxelalgorithms.cpp Reserve vectors before pushing and other code quality changes (#11161) 2021-04-05 13:38:31 +02:00
voxelalgorithms.h Reserve vectors before pushing and other code quality changes (#11161) 2021-04-05 13:38:31 +02:00