3030 Commits

Author SHA1 Message Date
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
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
b42406ee1d
fix some skylight bugs 2022-09-17 15:29:09 +02:00
Bixilon
de324c6e25
macOS: fix -XstartOnFirstThread check 2022-09-17 15:22:10 +02:00
Bixilon
1035885ef2
notice about IntelliJ IDEA 2022-09-17 14:43:02 +02:00
Bixilon
1d89404d20
fix bad visibility graph 2022-09-17 00:11:06 +02:00
Bixilon
e47e60191d
inline chunk section index functions
* Performance improvement
2022-09-16 20:43:57 +02:00
Bixilon
440c00d29a
wip skylight tracing 2022-09-16 20:43:38 +02:00
Bixilon
8e3c24e834
CreditsScreen: explain why it is not yet implemented 2022-09-16 20:16:05 +02:00
Bixilon
8a74d0c351
jar assets: save expected tar bytes 2022-09-16 15:46:48 +02:00
Bixilon
908e67b415
remove some todos 2022-09-16 15:38:44 +02:00
Bixilon
d4779f0f89
Kutil: improve Any to Int converting 2022-09-16 15:30:28 +02:00
Bixilon
6553f8ad2b
world position data types 2022-09-16 14:55:58 +02:00
Bixilon
3a21bbfa2f
add VoxelShape::equals
* This should fix some lighting bugs, because light properties are not determinant as expected
2022-09-16 14:37:28 +02:00
Bixilon
91b306ce8a
propagate block light through null sections 2022-09-16 14:31:08 +02:00
Bixilon
99c8011065
fix eventual crash in gui manager 2022-09-16 09:21:26 +02:00
Bixilon
4aee5d15ae
opengl: print out current state on error (buffers) 2022-09-14 10:50:19 +02:00