Commit Graph

1669 Commits

Author SHA1 Message Date
Lars Müller
138052adfc
Add particle blend mode "clip" (#15444)
This lets modders avoid alpha blending rendering bugs as well as potential (future) performance issues.
The appropriate blend modes are also used for node dig particles.

---------

Co-authored-by: sfan5 <sfan5@live.de>
2024-11-19 13:30:17 +01:00
grorp
9b6a399011
Implement support for FSAA in combination with post-processing (#15392)
- Actually it's MSAA I think, or perhaps the terms are equivalent
- I've made it fit into the existing Irrlicht architecture, but that has resulted in code duplication compared to my original "hacky" approach
- OpenGL 3.2+ and OpenGL ES 3.1+ are supported
- EDT_OPENGL3 is not required, EDT_OPENGL works too
- Helpful tutorial: https://learnopengl.com/Advanced-OpenGL/Anti-Aliasing, section "Off-screen MSAA"
- This may be rough around the edges, but in general it works
2024-11-18 14:06:48 +01:00
veprogames
a8ea165042
Replace occurences of 'wiki.minetest.net' with 'wiki.luanti.org' 2024-11-18 00:04:32 +01:00
SmallJoker
87ac32edea Dynamic shadows: whitelist the 'opengl3' driver 2024-11-15 12:18:48 +01:00
grorp
a9fe83126a
Get rid of depth buffer workaround in the render pipeline code (#15407)
I originally wanted to get of the legacy IVideoDriver::setRenderTarget altogether,
but that ended up being too much work.
The remaining usage is in "dynamicshadowsrender.cpp".

Here's a comment I wrote about the workaround:

----------------------------------------

Use legacy call when there's single texture without depth texture
This means Irrlicht creates a depth texture for us and binds it to the FBO

This is currently necessary for a working depth buffer in the following cases:

- post-processing disabled, undersampling enabled
  (addUpscaling specifies no depth texture)

- post-processing disabled, 3d_mode = sidebyside / topbottom / crossview
  (populateSideBySidePipeline specifies no depth texture)

- post-processing disabled, 3d_mode = interlaced
  (probably, can't test since it's broken)
  (populateInterlacedPipeline specifies no depth texture)

With post-processing disabled, the world is rendered to the TextureBufferOutput
created in the functions listed above, so a depth buffer is needed
(-> this workaround is needed).
With post-processing enabled, only a fullscreen rectangle is rendered to
this TextureBufferOutput, so a depth buffer isn't actually needed.
But: These pipeline steps shouldn't rely on what ends up being rendered to
the TextureBufferOutput they provide, since that may change.

This workaround was added in 1e9640395468beb53f70303ef6b7aa72e395b7b4 /
https://irc.minetest.net/minetest-dev/2022-10-04#i_6021940

This workaround should be replaced by explicitly configuring depth
textures where needed.

----------------------------------------
2024-11-15 11:38:56 +01:00
sfan5
0c3117f9b3 Fix mainmenu settings crash caused by last commit
closes #15432
2024-11-13 18:39:10 +01:00
sfan5
794aea8e92
Drop fixed pipeline support code (#15421)
OpenGL 2.0 is now mandatory.
2024-11-13 14:24:01 +01:00
sfan5
ea4ae55e24 Implement script sandboxing for main menu 2024-11-13 14:22:41 +01:00
Erich Schubert
4c44942a39
Add weights to biomes (#15142) 2024-11-12 10:53:17 +01:00
sfan5
7557a287e5 Update credits for 5.10.0 2024-11-10 13:23:16 +01:00
veprogames
db04964697 Content browser: Fix broken forum URLs
Repeated prepending would break these URLs.
This fix uses the freshly added `forum_url` field directly.
2024-11-06 20:06:26 +01:00
veprogames
9982c56373
Replace occurences of 'forum.minetest.net' with 'forum.luanti.org' (#15372) 2024-11-03 15:10:58 +01:00
Lars Müller
0e06590ffd
Apply "and" to server list & content search terms (#15365) 2024-11-03 15:09:47 +01:00
sfan5
e952a0807b
Use servers.luanti.org (#15369) 2024-11-02 20:40:45 +00:00
rubenwardy
ba370d9841
Use content.luanti.org (#15360) 2024-11-02 20:40:33 +00:00
grorp
8b85a62310
Fix some broken icons in the CDB dialog on Windows (#15363)
core.formspec_escape was missing
2024-10-31 19:23:02 +01:00
Wuzzy
ad4b13a0e9
Luanti rename: builtin (#15324) 2024-10-28 19:40:18 +01:00
grorp
a450301686
Fix server steps shorter than dedicated_server_step since #13370 (#15330)
Co-authored-by: Desour <ds.desour@proton.me>
Co-authored-by: sfan5 <sfan5@live.de>
2024-10-28 15:57:22 +01:00
grorp
4b90e582b4
Rename to Luanti (#15294)
The new header intentionally isn't in MTG stone design (or any other MTG-esque design), since we want to distance Luanti and MTG from each other. The font "undefined medium" (https://undefined-medium.com/) was used. 

ASCII art generated by https://patorjk.com/software/taag/#p=display&f=Graffiti&t=luanti
https://github.com/minetest/minetest/pull/11952#issuecomment-1013364703

---------

Co-authored-by: sfan5 <sfan5@live.de>
2024-10-27 14:04:51 +01:00
cx384
b7073df68c
Move hud_hotbar_max_width setting to HUD section (#15335) 2024-10-26 17:40:39 +02:00
Ælla Chiana Moskopp
c3b5cc8611 Rename erle in credits (as requested by them) 2024-10-26 10:28:55 +03:00
grorp
9f43018df2
Better UX when touch events aren't supported by Irrlicht device (#15288) 2024-10-16 21:37:00 +02:00
grorp
24704b01d9 Fix wrong minimum for repeat_place_time in settingtypes.txt
rebase mistake from #14542
2024-10-16 21:35:30 +02:00
Erich Schubert
6431ef7324
Trivial improvement to get_item_group (#15260)
One hash table lookup is enough, and this is even easier for the JIT to inline, optimize, etc.
2024-10-14 22:09:01 +02:00
grorp
7435ea0d4e
Show warning in the settings menu when shaders are disabled (#15272) 2024-10-14 09:43:29 +02:00
y5nw
e3aa79cffb
Gettext and plural support for client-side translations (#14726)
---------

Co-authored-by: Ekdohibs <nathanael.courant@laposte.net>
Co-authored-by: y5nw <y5nw@protonmail.com>
Co-authored-by: rubenwardy <rw@rubenwardy.com>
2024-10-13 11:29:08 +02:00
Zemtzov7
1b2d24791a
Separate anticheat settings (#15040) 2024-10-11 12:01:22 +02:00
grorp
3f5a58a4e5 Fix rebase mistake in #14840 after #14749
Old enable_touch was used instead of new touch_gui.
2024-10-09 18:46:21 +02:00
grorp
4952f17df4 Auto-toggle TouchControls in-game when receiving touch/mouse input 2024-10-09 18:26:19 +02:00
grorp
07ff2a5c01
ContentDB dialog: React to window info changes immediately (#15248) 2024-10-09 15:08:15 +02:00
grorp
6ac4447134
Make bloom parameters server-controlled (#15231) 2024-10-09 15:08:03 +02:00
SmallJoker
13f533d490
scrollcontainer: Add automatic scrollbar calculation (#14623)
New parameter 'content padding'. When specified, the scrollbar
max value is calculated automatically. This aims to reduce manual
calculation functions.
2024-10-08 21:45:27 +02:00
rubenwardy
1037ee2a55 ContentDB redesign: Redesign package list dialog 2024-10-05 18:40:26 +01:00
rubenwardy
78aab8c95d ContentDB redesign: Add package dialog
Co-authored-by: Gregor Parzefall <gregor.parzefall@posteo.de>
2024-10-05 18:40:26 +01:00
Erich Schubert
57ca92e0eb
Simplify minetest.strip_param2_color 2024-10-04 10:42:25 +02:00
grorp
132e43346e
Setting structure improvements (#15218) 2024-10-03 11:37:04 +02:00
sfan5
53d949bd9f
Discourage disabling shaders (#15210) 2024-09-30 22:43:08 +02:00
sfence
d08d34d803
ABM without_neighbors (#14116) 2024-09-26 17:32:55 +02:00
grorp
526a2f7b8c
Dehardcode the death formspec (#15155)
Co-authored-by: Paul Ouellette <oue.paul18@gmail.com>
2024-09-24 22:37:44 +02:00
Elias Åström
f65fe80e81
Add minetest.bulk_swap_node (#15043)
Co-authored-by: sfan5 <sfan5@live.de>
2024-09-24 22:25:34 +02:00
GefullteTaubenbrust2
d8f1daac25
Visual Effects Vol. 1 (#14610)
This PR adds a variety of effects to enhance the visual experience.

    "soft" clouds look
    Tinted shadows
    Crude water reflections (sky and sun) and waves
    Translucent foliage
    Node specular highlights
    Adjusted fog color (more saturated where the fog is lighter)
    Minor changes to volumetric lighting (crudely simulates the effect of depth)

Co-authored-by: sfan5 <sfan5@live.de>
2024-09-24 11:14:27 -07:00
sfan5
811adf5d42 Bulk LBMs (#14954) 2024-09-20 15:05:26 +02:00
1F616EMO~nya
38b4505ad7
Allow requesting reconnect when mods kick player (#14971) 2024-09-12 23:42:46 +02:00
grorp
041d67ceca
Improve formspec scaling (#14840) 2024-09-06 12:11:03 +02:00
Lars Müller
074700b35e
Remove no* prefixes from settingtypes possible flags (#15111) 2024-09-04 15:19:00 +02:00
DS
f23d7459b3
Allow to disable transparency sorting entirely (#15101) 2024-09-02 16:09:42 +02:00
sfan5
8972c80d7d Warn if max_packets_per_iteration reduced 2024-08-31 20:47:38 +02:00
grorp
322a9c2f74
Restore proportional minimap scaling (#15022) 2024-08-31 18:11:56 +02:00
cx384
52376fd87a Add hotbar Lua HUD element and replace hardcoded hotbar 2024-08-31 16:04:14 +02:00
kromka-chleba
a6ba5304c4
Add new vector utils (ceil, sign, abs, random_in_area) (#14807) 2024-08-31 11:43:52 +02:00