3596 Commits

Author SHA1 Message Date
Bixilon
ff2272f11b
recalculate skylight on block break 2022-09-27 14:18:54 +02:00
Bixilon
4f379aed27
light: propagate form neighbours on block break 2022-09-27 13:03:23 +02:00
Bixilon
6985006537
section light: also propagate skylight from neighbours 2022-09-27 08:38:18 +02:00
Bixilon
663ca98dfb
fix skylight propagation through neighbours 2022-09-27 08:38:00 +02:00
Bixilon
ca7973017d
workaround light for non opaque blocks 2022-09-27 08:37:39 +02:00
Bixilon
1d134f3bb2
chunk: clear blocks section data if only null elements 2022-09-26 21:30:27 +02:00
Bixilon
39d952a6d5
blocks: set cave_air and void_air to null too 2022-09-26 21:20:04 +02:00
Bixilon
be8319d962
replace String::lines with String::lineSequence
small memory and performance improvement
2022-09-26 19:43:56 +02:00
Bixilon
6ebd3db125
bump dependencies 2022-09-26 19:40:40 +02:00
Bixilon
61e4b4534d
minor general performance improvements 2022-09-26 18:35:19 +02:00
Bixilon
2c76371578
make render system safer, detect gpu memory leaks 2022-09-26 13:52:09 +02:00
Bixilon
0eee704cdf
load skeletal models async 2022-09-26 13:38:53 +02:00
Bixilon
f253c71f7a
fix fluid height calculation
* (and improve performance minimal)
 * handle waterlogged properly if block is not implemented
2022-09-25 23:06:57 +02:00
Bixilon
47ccaa0613
light engine: micro optimisations… 2022-09-25 22:44:32 +02:00
Bixilon
211dcf84f4
skylight: remove Chunk::traceSkylightDown 2022-09-25 22:33:39 +02:00
Bixilon
bab6e3787f
improve grass biome tint calculation performance 2022-09-25 22:33:11 +02:00
Bixilon
ae82436b2d
fix some skylight tracing bugs 2022-09-25 22:22:15 +02:00
Bixilon
e0635f2d9e
skylight: don't trace above heightmap
* yep, there was a bug :)
2022-09-25 20:57:11 +02:00
Bixilon
e00a32bb41
minor light calculation performance improvements 2022-09-25 20:42:41 +02:00
Bixilon
4f1add582d
skylight: create section if not present, fix locking bugs 2022-09-25 19:47:30 +02:00
Bixilon
68af0e1f0f
fix skylight tracing through neighbours 2022-09-25 17:00:14 +02:00
Bixilon
0901ac07c7
debug hud: show entity visible and model count 2022-09-25 15:11:01 +02:00
Bixilon
3d4372ffe7
skylight: flood fill through neighbours 2022-09-19 08:45:48 +02:00
Bixilon
b196992d0e
skylight: also start flood fill for neighbours 2022-09-19 08:36:25 +02:00
Bixilon
99977061ef
DirectArrayFloatList: don't synchronize while ensuring size
* This list does not work multithreaded. No need to synchronize it. Just slows it down
2022-09-19 08:35:47 +02:00
Bixilon
c7e31c9698
entity: fix resetting of submerged fluid 2022-09-18 20:54:06 +02:00
Bixilon
0e2df28bd3
fix crash when calculating world brightness
* Happens when you go under water
2022-09-18 20:53:45 +02:00
Bixilon
05a0e335b0
fix light update not getting properly set 2022-09-18 19:56:17 +02:00
Bixilon
8f8a6dc1f9
skylight: only start tracing from maxHeight (+ neighbours) 2022-09-18 19:34:44 +02:00
Bixilon
1ea2378473
improve skylight performance 2022-09-18 19:20:43 +02:00
Bixilon
692ede9439
improve skylight performance, fix chunk deadlock 2022-09-18 18:43:45 +02:00
Bixilon
c537e674a0
fix heightmap calculation, calculate skylight 2022-09-18 16:53:00 +02:00
Bixilon
958c19b4d2
glfw: print proper error message if window creation fails 2022-09-18 15:11:45 +02:00
Bixilon
a705456763
github: rename macOS build with architecture 2022-09-18 12:56:41 +02:00
Bixilon
ae873cec5d
eros: properly clear favicon when server does not send it 2022-09-18 11:48:45 +02:00
Bixilon
b40e465555
remove some unused statements 2022-09-18 00:11:12 +02:00
Bixilon
5879f10856
fix printing of help arguments 2022-09-17 22:29:14 +02:00
Bixilon
3a413352d9
maven: bump slf4j-api 2022-09-17 21:38:40 +02:00
Bixilon
f26ea9849f
migrate other profile: rename AUDIO_LOADING log level to AUDIO
Did not want to do this, but now I got bored after switching branches on a ton of devices ;)
2022-09-17 21:24:27 +02:00
Bixilon
dce8c7e9e7
github: don't build on macos-build branch anymore 2022-09-17 21:14:30 +02:00
Bixilon
ab9f5ee199
readme: macOS is now supported 2022-09-17 21:13:43 +02:00
Bixilon
42bd715cd3
macOS: remove RenderPolling (start opengl on first thread) 2022-09-17 21:13:27 +02:00
Bixilon
1360ceb866
fix uncompressed (DIRECTORY) texture packs 2022-09-17 20:44:51 +02:00
Bixilon
facc400ee2
lwjgl: stick to specific version 2022-09-17 17:25:46 +02:00
Bixilon
f00a9a9341
glfw: add platform specific window hints 2022-09-17 17:11:52 +02:00
Bixilon
4ce521cdbc
macOS: crash if -XstartOnFirstThread is set
* This flag is now not needed anymore and even crashes minosoft if set
2022-09-17 16:26:36 +02:00
Bixilon
77361abdc4
bump lwjgl
* This fixes the issue when calling `glfwPollEvents` on macOS
2022-09-17 16:18:11 +02:00
Bixilon
6265767e42
replace exitProcess calls with shutdown manager 2022-09-17 15:33:08 +02:00
Bixilon
2a0165cba6
macOS: fix -XstartOnFirstThread check 2022-09-17 15:30:21 +02:00
Bixilon
b42406ee1d
fix some skylight bugs 2022-09-17 15:29:09 +02:00