Commit Graph

467 Commits

Author SHA1 Message Date
lhofhansl
7bf64fc61a Add configurable saturation ()
* Add configurable saturation

Co-authored-by: Pevernow <3450354617@qq.com>
Co-authored-by: x2048 <codeforsmile@gmail.com>

Author:    Lars <larsh@apache.org>
2022-11-18 11:49:52 -08:00
x2048
9b24041394 Improve bloom effect ()
* Remove the built-in exposure factor of 2.5
* Add physics-based bloom (https://learnopengl.com/Guest-Articles/2022/Phys.-Based-Bloom)
* Add luminance scaling for bloom layer to simulate HDR
* Add setting to control bloom strength
2022-11-02 09:09:48 +01:00
ROllerozxa
be5c675263 Only set quicktune keybinds in debug builds () 2022-10-06 17:07:57 +01:00
x2048
9df79a4b2d Bloom ()
Adds configurable light exposure control and bloom effect (light bleeding) with client-side settings.
2022-09-29 20:34:05 +02:00
Muhammad Rifqi Priyo Susanto
3978b9b8ed Add crosshair support for Android ()
If enabled, a crosshair will be shown to select object.
This will give Android players a way to play like they play on desktop.
On third-person back camera mode, player is forced to use crosshair.
On third-person front camera mode, player is unable to select anything.

Co-authored-by: ROllerozxa <temporaryemail4meh+github@gmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-09-29 20:30:33 +02:00
fluxionary
59601eb922 Remove default keybind for range select ()
Reason: accidental key presses, few use-cases.
2022-08-13 08:53:30 +02:00
SmallJoker
a81259d19a Run Minetest update checker on startup ()
This feature is enabled by default for non-Android release builds. Package
maintainers may use -DENABLE_UPDATE_CHECKER=0 to disable it.

Co-authored-by: rubenwardy <rw@rubenwardy.com>
Co-authored-by: sfan5 <sfan5@live.de>
2022-08-02 21:34:17 +02:00
ROllerozxa
35ad006234 Increase max FPS on Android to 60 () 2022-06-26 14:38:11 +01:00
paradust7
951604e29f Remove invalid fps_max on Mac 2022-06-06 12:03:28 +02:00
rubenwardy
03d86ea0b4 Add register dialog to separate login/register ()
New users find Minetest's account system confusing.
This change moves username/password to a new dialog,
with login and register buttons added to the Join Game tab.

The old registration confirmation dialog is removed in
favour of the new dialog.

Fixes 
2022-06-05 17:47:38 +02:00
x2048
dc45b85a54 Improve shadow filters ()
* Rewrite shadow filtering for the new distortion
* Calculate penumbra radius using a single sample
* Avoid peter-panning effect due to filtering of short shadows
* Add adaptive filter quality for soft shadows
* Avoid sharp shadows on surfaces without normals (e.g. plants)
* Increase default and maximum soft shadow radius
* Make line numbers in shader errors match the code
2022-05-21 16:49:30 +02:00
Froggo
45d318a773 Enable chat clickable weblinks by default ()
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2022-05-06 21:15:16 +01:00
x2048
b0b9732359 Add depth sorting for node faces ()
Use BSP tree to order transparent triangles
https://en.wikipedia.org/wiki/Binary_space_partitioning
2022-04-02 10:42:27 +02:00
x2048
0f25fa7af6 Add API to control shadow intensity from the game/mod ()
* Also Disable shadows when sun/moon is hidden. Fixes .
2022-03-26 16:58:26 +01:00
Lars Müller
ad1da994b2 Increase max objects per block defaults () 2022-02-08 19:33:10 +01:00
sfan5
a9bccb964f Raise max mapgen limit constant to align with mapblock size 2022-01-30 13:49:26 +01:00
sfan5
76dbd0d2d0 Fully remove bitmap font support ()
Freetype is now a build requirement.
2022-01-08 14:53:25 +01:00
Vincent Robinson
4a16ab3585 Improve TTF support for pixel-style fonts () 2021-12-30 12:54:21 -08:00
Vitaliy
9b650b9efb Add more neighbors on mesh update () 2021-12-29 22:59:53 +01:00
TheBrokenRail
3dcf9e963e Touch UI support for desktop builds () 2021-09-26 18:04:09 +02:00
lhofhansl
d1624a5521 Switch MapBlock compression to zstd ()
* Add zstd support.
* Rearrange serialization order
* Compress entire mapblock

Co-authored-by: sfan5 <sfan5@live.de>
2021-08-31 17:32:31 -07:00
x2048
bf3acbf388 Distribute shadow map update over multiple frames to reduce stutter ()
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
pecksin
1805775f3d Make chat web links clickable ()
If enabled in minetest.conf, provides colored, clickable (middle-mouse or ctrl-left-mouse) weblinks in chat output, to open the OS' default web browser.
2021-06-20 17:20:24 +02:00
sfan5
edf098db63 Drop --videomodes, fullscreen_bpp and high_precision_fpu settings
These have been pointless for a while.
2021-06-16 17:41:34 +02:00
Liso
c47313db65 Shadow mapping render pass ()
Co-authored-by: x2048 <codeforsmile@gmail.com>
2021-06-06 18:51:21 +02:00
Seth Traverse
16e5b39e1d Add a key to toggle map block bounds ()
It's often useful to know where the map block boundaries are for doing server admin work and the like.
Adds three modes: single mapblock, range of 5, and disabled.
2021-04-20 19:23:31 +02:00
sfan5
34888a914e Sort out cURL timeouts and increase default 2021-04-02 00:19:39 +02:00
sfan5
8d89f5f0cc Replace fallback font nonsense with automatic per-glyph fallback () 2021-03-29 19:55:24 +02:00
Wuzzy
827224635b Use "Aux1" key name consistently everywhere 2021-02-24 11:45:30 +01:00
rubenwardy
f85e9ab925 Add nametag background setting and object property () 2021-02-17 19:51:28 +00:00
rubenwardy
3a8c37181a Use consistent temp folder path () 2021-02-07 15:27:24 +00:00
SmallJoker
37a05ec8d6 Settings: Proper priority hierarchy
Remove old defaults system
Introduce priority-based fallback list
Use new functions for map_meta special functions
Change groups to use end tags

Unittest changes:
 * Adapt unittest to the new code
 * Compare Settings objects
2021-01-29 17:32:35 +01:00
rubenwardy
67aa75d444 Use JSON for favorites, move server list code to Lua ()
Co-authored-by: sfan5 <sfan5@live.de>
2021-01-22 15:08:57 +00:00
Markus
af22dd86e3 Fix some more joystick issues () 2020-12-19 22:01:05 +01:00
Lars
e638056523 Allow configuring block disk and net compression. Change default disk level. 2020-12-15 10:15:25 -08:00
sfan5
07e0b527cf Revert "Increase limit for simultaneous blocks sent per client and the meshgen cache."
This reverts commit 2f6393f49d5ebf21abfaa7bff876b8c0cf4ca191.
2020-12-04 19:06:16 -08:00
Lars
2f6393f49d Increase limit for simultaneous blocks sent per client and the meshgen cache. 2020-11-16 10:30:52 -08:00
Lars
be8d1d2d99 Increase default emerge queue limits and limit enqueue requests for active blocks. 2020-11-12 09:04:10 -08:00
Lars
aa4d3cb148 Increase defaults for viewing_range, active_object_range and related settings 2020-11-03 15:55:53 -08:00
rubenwardy
89dd05fdf3 Fix segfault in deprecation logging due to tail call, log by default () 2020-10-31 18:19:23 +00:00
Lars
ed22260822 Remove all bump mapping and parallax occlusion related code. 2020-10-17 13:09:16 -07:00
HybridDog
9dc29a75b4 Reduce the FPS when the window is unfocused () 2020-10-03 17:33:51 +01:00
hecks
fcff9f2911 Remove "generate normal maps" feature ()
Erase all traces of normal "generation" from fragment shaders
Remove the "feature" from the engine and default config
Remove any leftover documentation of it
2020-09-14 19:27:25 +02:00
sfan5
74e22b72e1 Change default ambient occlusion gamma to 1.8 () 2020-09-01 20:18:32 +02:00
Maksim
788f297595 Android: drop simple MainMenu ()
The default (PC-style) MainMenu works great on Android. Provides access to ContentDB and allows players to create many worlds in a few clicks.
Makes the interface consistent and eliminates player confusion.
2020-08-27 21:46:57 +02:00
Lars
649211bf27 Allow the ABM time budget to be configurable. 2020-08-18 16:04:32 -07:00
rubenwardy
7242de1d4b ContentDB: Add Update All and download queuing () 2020-08-17 19:09:33 +01:00
ANAND
291a6b70d6 Allow binding dig, place actions to keys; remove LMB/RMB hardcoding
Co-authored-by: Sam Caulfield <sam@samcaulfield.com>
2020-08-15 12:19:20 +03:00
LoneWolfHT
88ffd64124 Add object crosshair, disable entity selectionboxes by default ()
Adds new object crosshair base pack texture
2020-07-14 19:13:04 +02:00
Maksim
a2199bf622 Android: fix TMPFolder path () 2020-06-20 12:06:30 +02:00