Moritz Zwerger
8cdf703f2b
wip inline rgbcolor
...
This should make a lot of things faster and reduce a lot of memory allocations
2024-04-23 20:43:58 +02:00
Moritz Zwerger
15faff1b6a
bump gradle: 8.7
2024-04-23 18:32:37 +02:00
Moritz Zwerger
c40840a06b
bump dependencies
2024-04-23 18:01:40 +02:00
Moritz Zwerger
af79d23851
Merge branch 'refs/heads/fix-shader-building-mesa'
2024-04-23 17:46:55 +02:00
Moritz Zwerger
a433215260
fix particle fog
...
`finFragmentPosition` was not set. This caused the fog to not appear. Some gpu drivers (e.g. intel) also heavily optimized the fog code and completely removed the uniform `uCameraPosition`, thus minosoft crashed when setting the value on those gpus.
2024-04-23 17:46:30 +02:00
Moritz Zwerger
ff92b1f0db
fog: fix null pointer if dimension has no fog
...
Minosoft would instantly crash when you go into the end, because the end has no fog but it sill tries to get the fog options.
2024-04-23 17:37:48 +02:00
Moritz Zwerger
e7b57e4da3
rendering: allow ignoring uniform errors
...
This allows easier debugging on such errors for non developers.
2024-04-23 11:35:16 +02:00
Moritz Zwerger
5b1ca516e1
shader: correctly apply defaults
...
This (should) fix shader building on intel gpus with mesa drivers.
`foutColor` was optimized out because the initial values appear to be always 0. Thus it was not building, because the uTintColor uniform was not found (and maybe it otherwise would have appeared black)
2024-04-23 11:30:31 +02:00
Moritz Zwerger
c1b52b2aa3
readme: new line after image
2024-04-18 21:39:36 +02:00
Moritz Zwerger
448a76e6e0
readme: use shields-io.bixilon.de
2024-04-18 17:00:13 +02:00
Moritz Zwerger
380046077b
Merge remote-tracking branch 'origin/remove-mojang-auth'
...
See https://www.youtube.com/watch?v=rUFDRAEducI for more details.
# Conflicts:
# src/main/java/de/bixilon/minosoft/config/profile/profiles/account/AccountProfileManager.kt
# src/main/java/de/bixilon/minosoft/data/accounts/Account.kt
# src/main/java/de/bixilon/minosoft/data/accounts/types/mojang/MojangAccount.kt
# src/main/java/de/bixilon/minosoft/gui/eros/main/account/AccountController.kt
# src/main/java/de/bixilon/minosoft/gui/eros/main/account/add/MojangAddController.kt
2024-03-14 01:17:56 +01:00
Moritz Zwerger
28692759c9
format debug command messages
2024-03-01 22:31:13 +01:00
Moritz Zwerger
f18c0a2832
fix build
...
Forgot to adjust arm renderer (far plane was removed)
2024-03-01 20:39:42 +01:00
Moritz Zwerger
6f562af3bf
matrix handler: rename upToDate to invalid
2024-03-01 20:33:11 +01:00
Moritz Zwerger
74574b7952
camera matrices: always use dynamic far plane
...
Now the far plane is always dynamically calculated according to the current view distance and not the maximum render distance. This should reduce precision loss artifacts and improve performance (the frustum now does view distance clipping)
2024-03-01 20:31:24 +01:00
Moritz Zwerger
8829385e52
fix cloud raster reading
2024-03-01 16:06:23 +01:00
Moritz Zwerger
d58885a14b
fog clipping: properly invalidate projection matrix
2024-03-01 16:01:33 +01:00
Moritz Zwerger
901c158b80
fix fog always updating and interpolating
...
small `-` missing :)
2024-03-01 16:01:13 +01:00
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