5095 Commits

Author SHA1 Message Date
Moritz Zwerger
5ecca7c87e
shaders: apply tint before texel, particle fog
Applying the tint before the texel, fixes a lot of fog issues that are caused by lighting
2024-03-01 15:56:11 +01:00
Moritz Zwerger
a3f09071d6
entity rotation: use normalizeAssign over normalize
This safes a few bytes of memory allocation each call
2024-03-01 15:43:43 +01:00
Moritz Zwerger
41880b0ada
fog clipping
The frustum now respect the maximum fog distance. It should roughly match the previous far plane (though it is a lot more precise than before). It will improve performance a lot when being submerged in fluids or have blindness effect. Maybe it does fix some skin/entity renderer issues in the distance
2024-03-01 15:41:47 +01:00
Moritz Zwerger
b6b106ef83
improve fog color transition 2024-03-01 00:24:54 +01:00
Moritz Zwerger
3fada12014
fix sky color and block color when fog color is set 2024-03-01 00:14:30 +01:00
Moritz Zwerger
51993e1646
improve fluid rendering performance, fix some fluid rendering bugs 2024-03-01 00:06:30 +01:00
Moritz Zwerger
580258943b
fix wrong noise biome height cache corruption
BiomeSectionDataProvider was accessed with the in section height, that is not the height we want to use for the biome noise
2024-02-29 23:58:50 +01:00
Moritz Zwerger
e5c2d79f17
text: fix translation insertion with intarray (nbt) 2024-02-29 23:44:08 +01:00
Moritz Zwerger
40b22db83a
implement netherrack, soul sand and soul soil
Now flying through the nether should be a lot faster
2024-02-29 23:43:46 +01:00
Moritz Zwerger
80ab673cfd
fix nbt chat insertion with translations + tests
This mainly affects 1.20+ and weird data thanks to nbt
2024-02-29 23:03:47 +01:00
Moritz Zwerger
48358f2d1b
improve fog distance calculation, thick nether fog 2024-02-29 22:48:37 +01:00
Moritz Zwerger
d21f1d0e46
fog flags, improve and refactor fog
FogFlags are way cleaner and allow further extension of the fog system (e.g. custom behavior for versions, change shape of shader, ...)

This fixe the invisible block glitch when being e.g. in a debugger/profiler while joining (the fog settings were messed up because the interpolation sucked)
2024-02-29 22:04:17 +01:00
Moritz Zwerger
f3f6380263
create release: crash on error 2024-02-21 16:23:54 +01:00
Moritz Zwerger
2407ed1191
github: bump actions 2024-02-21 16:23:33 +01:00
Moritz Zwerger
af2cd52ace
bump dependencies 2024-02-21 15:54:07 +01:00
Moritz Zwerger
5aa3e3ffcf
bump gradle 2024-02-21 15:52:48 +01:00
Moritz Zwerger
e093c60808
remove ItemInteractEntityHandler
not used anymore
2024-02-21 15:51:29 +01:00
Moritz Zwerger
baf810ec72
startup: don't check for updates if impossible 2024-02-19 15:10:12 +01:00
Moritz Zwerger
895487d117
netty error: only print cause of packet read exception 2024-02-19 15:01:19 +01:00
Moritz Zwerger
d88a08014a
commands: don't throw exception if no nodes are submitted
Hides an exception https://github.com/Bixilon/Minosoft/issues/30
2024-02-18 21:47:19 +01:00
Moritz Zwerger
bef2f86138
build: always print unclean status when initializing git 2024-02-06 07:49:49 +01:00
Moritz Zwerger
aa12de78ac
connection: cleanup errored if more than 5 available
This should reduce the big on disconnect memory leak. Not ideal still, but way better.
2024-02-05 16:00:14 +01:00
Moritz Zwerger
2ecfe983ca
reflections: replace .jvmField.field with just .field
Looks cleaner
2024-02-05 15:54:46 +01:00
Moritz Zwerger
438ad5cb6a
bump kutil
Fixes build
2024-02-02 21:52:37 +01:00
Moritz Zwerger
fb1f460d5d
command reader: Use fast exception
The stacktrace is mostly never read, just the message is print. This makes the cli output way cleaner and improves performance.
2024-02-02 20:40:51 +01:00
Moritz Zwerger
a80ced4cf1
optimize reflection usafe
KUtil 1.26 got some fancy new reflection utilities. Now used. Still depends on KUtil 1.26.1 (for field::type)
2024-02-02 20:21:36 +01:00
Moritz Zwerger
1be37cd9ba
leaves: use new reflection 2024-02-02 15:57:26 +01:00
Moritz Zwerger
9c84f6caec
bump dependencies 2024-02-02 08:09:52 +01:00
Moritz Zwerger
3b61973040
port to kutil 1.26 2024-02-02 08:09:51 +01:00
Moritz Zwerger
a6fe96fde6
ci: fail when can not create release 2024-01-22 22:13:30 +01:00
Moritz Zwerger
067aa63de3
mod loader: fix rare concurrent modification exception when mod loading fails 2024-01-22 14:06:09 +01:00
Moritz Zwerger
af4cc4ac50
gitlab ci: fix wrong branch 2024-01-22 03:35:33 +01:00
Moritz Zwerger
98731e1203
fix release publishing 2024-01-22 03:18:37 +01:00
Moritz Zwerger
c9e985204c
version name is now git commit with fixed 10 chars 2024-01-22 03:11:27 +01:00
Moritz Zwerger
9fae83927a
ignore .gradle_home
Now gitlab builds should no longer be dirty
2024-01-22 03:00:10 +01:00
Moritz Zwerger
22212da194
gradle: print status if not clean 2024-01-22 02:56:37 +01:00
Moritz Zwerger
0ec140d3f4
show git status in ci 2024-01-22 02:49:46 +01:00
Moritz Zwerger
717209e8a9
fix mod loading test on windows 2024-01-22 02:47:02 +01:00
Moritz Zwerger
089734122a
fix stream closing 2024-01-22 02:39:23 +01:00
Moritz Zwerger
4db357267e
properly create temp folder 2024-01-22 02:32:52 +01:00
Moritz Zwerger
b169d97aa5
gitlab ci: properly upload release 2024-01-22 02:25:14 +01:00
Moritz Zwerger
ccf1e9196a
disable force update checking 2024-01-22 02:24:11 +01:00
Moritz Zwerger
243a776d8f
release uploading 2024-01-22 02:20:06 +01:00
Moritz Zwerger
e578d9fe51
test 2024-01-22 02:20:06 +01:00
Moritz Zwerger
406cbf3d59
cleanup some netty client code 2024-01-19 21:35:08 +01:00
Moritz Zwerger
74e52823f5
cleanup some function overloading in logging 2024-01-19 15:49:07 +01:00
Moritz Zwerger
e6fe8135c0
eros: minosoft updating: log progress 2024-01-19 15:33:42 +01:00
Moritz Zwerger
c2f3a7c00b
opengl font array: don't copy gb values
It uses `GL_RED` internally, so the other components are never touched. Small loading improvement
2024-01-19 07:50:54 +01:00
Moritz Zwerger
75ed3fdb2d
assets: normalize path, tests
This tests the recent regression on windows with backslashes in a path
2024-01-19 07:47:20 +01:00
Moritz Zwerger
abab3e83b7
fix build 2024-01-18 13:39:40 +01:00