1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-11-10 03:55:20 +01:00
Commit Graph

1352 Commits

Author SHA1 Message Date
sfan5
4b41e20000 Remove unused drawtype shader constant
might lead to better material merging
2025-10-30 15:19:31 +01:00
sfan5
0794912374 Refactor texture source to prepare for array textures 2025-10-30 15:19:26 +01:00
sfan5
e924f425f2 Remove Irrlicht devices except SDL (#16580) 2025-10-30 13:39:44 +01:00
cx384
d4d3e10531 Fixes and improvements for item image animations (#16620) 2025-10-29 10:26:59 +01:00
Lars Müller
7331156650 Fix interpolating to identity bone overrides (#16609)
The previous code immediately dropped identity overrides, even if there still was an interpolation to be done.
Also a little bit of cleanup, and setting an appropriate identity default for the scale property when interpolating.

For modders: As a workaround, you can add a tiny offset so that overrides aren't identity overrides.
2025-10-29 10:25:50 +01:00
cx384
93ccb4b355 Add inventory image animation API (#16538) 2025-10-26 18:48:53 +01:00
cx384
ff15b413b0 Don't use bilinear/trilinear filter on small overlay if large base texture 2025-10-25 17:33:56 +02:00
sfan5
4756e23477 Move crack overlay to shader 2025-10-22 22:33:40 +02:00
sfan5
c58a7ad98a Move Game class definition of out game.cpp 2025-10-22 22:33:40 +02:00
sfan5
0f943e5810 Restore BlendOperation in shadow rendering
was removed in d834c45d1c
2025-10-21 08:56:05 +02:00
PtiLuky
d834c45d1c Port shadow shaders to work with OpenGL3
Co-authored-by: sfan5 <sfan5@live.de>
2025-10-15 23:08:43 +02:00
sfan5
5e23e478b1 Increase flexibility of ShaderSource 2025-10-15 23:08:43 +02:00
sfan5
c965bb77bd Fix possible sendPlayerPos desync situation (#16498) 2025-10-15 00:21:07 +02:00
Tygyh
7d4f80f1cc Fix segfault with null video driver (#16579) 2025-10-15 00:20:56 +02:00
lhofhansl
7ca5f3baa0 Allow FXAA to be used together with FSAA or SSAA (#16555)
This allows FXAA post-processing to be used together with FSAA or SSAA
2025-10-11 20:50:23 -07:00
SmallJoker
0b13fd0b01 Driver: Change the texture check condition
The return value of 'ensureTexture' is unsuited for the texture "".
This fixes an undesired side-effect introduced by 9213b7f1.
2025-10-11 22:16:30 +02:00
SmallJoker
9213b7f164 Driver: Handle errors during texture creation (#16565)
The OpenGL drivers do accept 'nullptr' textures, however the
recent Mip-Mapping change did not respect that.
Furthermore, errors during texture creation for the pipeline are
now properly handled and shown as an error to the user.
2025-10-11 19:38:38 +02:00
sfan5
c2e2b97944 Respect node alpha node for inventory drawing (#16556) 2025-10-11 19:37:30 +02:00
sfan5
a141f8478b Fix broken 'updating nodes' progress
was broken by fbec378869
2025-10-11 19:36:51 +02:00
sfan5
1a6bf66f2a Clean up tiledef/layer handling for node particles 2025-10-11 19:36:51 +02:00
sfan5
293544fb48 Clean up tiledef/layer handling in wield mesh 2025-10-07 11:10:19 +02:00
fetsorn
e3ec044ed0 Update comments referring to obsolete TOCLIENT_INIT (#16522) 2025-09-29 13:21:52 +02:00
sfan5
db8cd2121c Allow to scale nametag by distance and set font size (#16267) 2025-09-23 21:07:17 +02:00
Lars Müller
5f5ea13251 Network: Batch individual particle packets (#16458)
also bumps proto ver
2025-09-22 18:46:34 +02:00
lhofhansl
08b7870c79 Monoblocks: optimize blocks that contain a single type of node (#16293)
Reduces memory usage on the server, especially with many user and/or large viewing distances.
Currently disabled on the client due to known data races on a block's data.
2025-09-21 13:19:30 -07:00
lhofhansl
053ca6287a Use consistent dtime_limit (#16492) 2025-09-12 11:29:40 -07:00
sfan5
baaab310fe Use stable sort in HUD rendering 2025-08-24 00:54:39 +02:00
sfan5
36b5374715 Simplify HUD handling in Player class 2025-08-19 17:34:22 +02:00
sfan5
54d48decad Sort out incorrect logic in MeshUpdateQueue::addBlock() 2025-08-19 17:34:22 +02:00
sfan5
1d53ec4892 Delete broken interlaced 3d_mode
fixes #15406
2025-08-19 17:34:22 +02:00
sfan5
e835673c5e Extract bitmap class 2025-08-19 17:34:22 +02:00
sfan5
6da927a548 Add more texture size limit checks
closes #16014
2025-08-14 12:33:35 +02:00
sfan5
b6065797ce Clarify some keycode names
fixes #16258
2025-08-14 12:33:35 +02:00
sfan5
e2e571ca1f Initialize base image for [lowpart
fixes #16371
2025-08-14 12:33:35 +02:00
sfan5
81e08fc890 Handle overlay tiles for minimap color
fixes #16285
2025-08-14 12:33:35 +02:00
sfan5
55cca34ee9 Cache getTextureDirs() 2025-08-10 15:26:39 +02:00
sfan5
b1cb5fcb9f Improve texture creation logging and checking 2025-08-08 13:42:36 +02:00
Lucas OH
ecc876045f Replace some raw pointers by unique_ptr (#16304) 2025-08-06 23:17:34 +02:00
Lucas OH
93dd22b901 Clean up unused Forward Declarations (#16324) 2025-08-02 10:07:45 +02:00
sfan5
0c12c1f400 Add a bit of debug code around MapBlock refcounting 2025-08-02 10:05:22 +02:00
Lars Mueller
613ba689ff Work around #16221 by updating parent chains 2025-08-01 14:12:02 +02:00
sfan5
9ff38bdf7f Sky: Get custom sun and moon tinting to work again
This fixes a regression introduced by commit 58ccf0b.
2025-07-29 20:36:23 +02:00
sfan5
d679261488 Rewrite broken logic in blit_with_alpha2 2025-07-28 11:16:07 +02:00
grorp
7345b54f18 Android: Workaround for partially broken inputs 2025-07-28 11:14:37 +02:00
SmallJoker
d60f909566 ParticleSpawner: Fix crash caused by empty texture
no_texture.png is now used as a fallback (if available), like already seen with registered items with empty 'inventory_image'.
2025-07-22 16:39:51 +02:00
sfan5
3cb8ce69d2 Minor cleanups and logging changes 2025-07-16 11:42:54 +02:00
sfan5
e8e5ef0369 Deleted unused parts of blitter 2025-07-16 11:42:21 +02:00
sfan5
158bfa6442 Replace copyToWithAlpha with more appropriate functions
fixes #16316
2025-07-16 11:42:21 +02:00
Lucas OH
ce2380b58e Include header files in CMake sources (#16297) 2025-07-12 13:23:35 +02:00
Lucas OH
f71e1447c9 Fix downward shadows at time 12000 (#16326) 2025-07-12 13:23:17 +02:00