5185 Commits

Author SHA1 Message Date
Moritz Zwerger
84e9c897aa
fix render test loader test 2024-08-06 23:04:57 +02:00
Moritz Zwerger
3727368135
fix auto connecting
Some debug code stayed in there for singleplayer...
2024-08-06 22:58:27 +02:00
Moritz Zwerger
2569df18c4
fix some debug generation 2024-08-06 14:44:40 +02:00
Moritz Zwerger
a8f775484b
fix some dangling open file handlers 2024-08-03 14:28:20 +02:00
Moritz Zwerger
d3a7e0473d
opengl: fix screenshot taking if driver is strict (like intel arc gpus) 2024-08-02 20:24:33 +02:00
Moritz Zwerger
9f5caffd82
generator, storage, ... 2024-08-02 20:13:38 +02:00
Moritz Zwerger
e1f5cca87e
create some sort of debug world 2024-08-02 17:12:32 +02:00
Moritz Zwerger
ee02f8bb5c
wip debug world 2024-08-02 14:40:55 +02:00
Moritz Zwerger
aaa195cdc6
port PlaySession to NetworkConnection 2024-08-01 19:48:58 +02:00
Moritz Zwerger
9c5d1cbf7a
server list: fix freeze 2024-08-01 18:18:34 +02:00
Moritz Zwerger
d42f9eb214
abstract server connection more
Server connection is now stateless and is atm always a network connection. It might something else in the future
2024-08-01 18:13:34 +02:00
Moritz Zwerger
57a8985a94
rename connection to session
MASSIVE refactor. But In future the PlayConnection might not be an actual connection. All connection logic will move into network.
2024-08-01 14:14:05 +02:00
Moritz Zwerger
fb0778a309
add hover warning to connect button when minosoft can not connect to it 2024-07-03 17:37:12 +02:00
Moritz Zwerger
6a4771bd47
audio: don't play sound if muted 2024-07-03 17:37:11 +02:00
Moritz Zwerger
6f2153cba3
fix uploading? 2024-06-11 20:17:03 +02:00
Moritz Zwerger
c3a97a0fa1
remove some NON_PUBLIC_CALL_FROM_PUBLIC_INLINE 2024-06-11 19:39:42 +02:00
Moritz Zwerger
25ad7a1abb
gradle upload: list files on error 2024-06-11 19:36:57 +02:00
Moritz Zwerger
fa9981204b
entity flags: fix class cast exception
Flags are mostly in the protocol a byte, but we will just work with ints. Fine. But observers are registered on ints, but the actual type is a byte, hence it crashes.
2024-06-09 23:20:39 +02:00
Moritz Zwerger
6d0db5fae8
bump gradle 2024-06-09 17:50:58 +02:00
Moritz Zwerger
5da00dc829
bump dependencies 2024-06-09 17:48:01 +02:00
Moritz Zwerger
b036a1ecee
bump kotlin, kutil 2024-06-09 17:26:21 +02:00
Moritz Zwerger
472bad4cfa
fix test building 2024-05-10 22:42:32 +02:00
Moritz Zwerger
91c0e2b365
config: framebuffer scaling
This option allows setting a different resolution for the world or gui framebuffer than the actual screen has. This can improve performance if you don't need as much quality and the whole game is fragment shader bottlenecked
2024-05-10 21:50:30 +02:00
Moritz Zwerger
ae7a2890ab
command util: format clickable commands 2024-05-06 12:07:25 +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