1809 Commits

Author SHA1 Message Date
Bixilon
ae63181159
render system: set blending=false by default 2021-11-02 12:16:42 +01:00
Bixilon
980492bc1b
improve render phases, fix block outline rendering 2021-11-02 12:09:35 +01:00
Bixilon
84feeefd9e
Merge branch 'master' into hud
# Conflicts:
#	src/main/java/de/bixilon/minosoft/gui/rendering/RenderWindow.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/Renderer.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/hud/HUDRenderer.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/particle/ParticleRenderer.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/particle/types/Particle.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/particle/types/norender/NoRenderParticle.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/particle/types/render/texture/TextureParticle.kt
#	src/main/java/de/bixilon/minosoft/gui/rendering/particle/types/render/texture/advanced/AdvancedTextureParticle.kt
2021-11-01 23:44:42 +01:00
Bixilon
b9d282b69c Merge branch 'mipmaps' into 'master'
Improved mipmaps

This MR improves performance of mipmap generation and quality.

It also uses limear mipmaps, they are far more bautiful. The mipmap code is taken from here: https://bugs.mojang.com/browse/MC-114265

I still need to clarify under what license it is.


![2021-11-01_16.25.59](/uploads/9bd70b9b017d68139222be8c4e98f8b5/2021-11-01_16.25.59.png)


ToDo:
 - [x] Mipmap usage in everything else except world renderer
 - [x] Use 3 meshes (and shaders) per renderer: Opaque, Transparent, Translucent
 - [ ] Test
 - [ ] Test mixing transparent and translucent
 - [x] Improve transparent rendering

See merge request bixilon/minosoft!24
2021-11-01 23:31:53 +01:00
Bixilon
98e1614260
rename some variables in SRGB and add source 2021-11-01 23:28:06 +01:00
Bixilon
8049135eab
improve mipmaps even more 2021-11-01 23:19:02 +01:00
Bixilon
c470f77eb3
render phases 2021-11-01 22:29:49 +01:00
Bixilon
f46f702920
improve particle render performance 2021-11-01 17:37:02 +01:00
Bixilon
3ab21830d6
fix freezing when exiting 2021-11-01 17:03:53 +01:00
Bixilon
c4d242228a
mipmaps: fix some bugs 2021-11-01 16:46:57 +01:00
Bixilon
fb540c5a53
far improved mipmap generation 2021-11-01 16:46:54 +01:00
Bixilon
d683669055
remove fallback assets manager
* Improves performance by decades
2021-11-01 14:22:10 +01:00
Bixilon
5b47a9c08d
hud: fix wrong text size, fix performance bug (forceSilentApply) 2021-11-01 14:14:26 +01:00
Bixilon
46ddcded65
hud: fix debug screen to small (y) 2021-11-01 12:42:59 +01:00
Bixilon
ca85ca017f
Fix item using when not able to use; hud: fix vehicle health not disappearing 2021-11-01 12:33:37 +01:00
Bixilon
397cfd916c
improved item interaction, fix entity meta data receiving 2021-10-31 19:43:12 +01:00
Bixilon
35733d907f
fix crash, remove schema property in atlas.json 2021-10-31 18:07:47 +01:00
Bixilon
77932eb707
wip: improved Interact handler; blocking, entity interaction, more 2021-10-31 17:30:29 +01:00
Bixilon
4a96741de0
save config on shutdown 2021-10-31 14:44:25 +01:00
Bixilon
b3da8b1185
fix nbt writing, item picking, ItemStack: fix enchantment nbt generation 2021-10-31 14:29:45 +01:00
Bixilon
0a9091b73b
fix bugs in offhand rendering, item swapping (offhand) 2021-10-31 12:31:35 +01:00
Bixilon
742aa36058
RateLimiter, rate limit hotbar slot selection packet 2021-10-31 12:05:26 +01:00
Bixilon
e23b4a9312
rename BlockBreak packet 2021-10-31 10:10:03 +01:00
Bixilon
a3468c084d
offhand rendering, code improvements 2021-10-31 01:11:57 +02:00
Bixilon
d24dcdf983
atlas.json json schema 2021-10-31 00:19:38 +02:00
Bixilon
218eeb08fc
eros: obfuscated monospace font fixes 2021-10-30 20:47:15 +02:00
Bixilon
2efe05d61b
fix microsoft account stay logged in, hud: title position fixes, bossbar center fixes 2021-10-30 20:41:34 +02:00
Bixilon
a03f63b874
hud: bossbar rendering 2021-10-30 20:26:52 +02:00
Bixilon
e9287bbb44
bossbar api 2021-10-30 16:46:55 +02:00
Bixilon
c148102a7a
fixes (hud: vehicle health), improvements 2021-10-29 18:15:31 +02:00
Bixilon
5aafc44d70
fix chat component api bug in Any?.format 2021-10-29 17:25:17 +02:00
Bixilon
df21b052a0
hud: fix subtitle scale 2021-10-29 17:10:25 +02:00
Bixilon
641d77f4fb
general: improvements, fixes 2021-10-29 16:39:38 +02:00
Bixilon
b568fa7f07
wip: health text replacing 2021-10-29 12:04:19 +02:00
Bixilon
0f0c887fa7
hud: title fixes, vehicle health element 2021-10-29 11:39:31 +02:00
Bixilon
8b6389b4c1
wip title 2021-10-25 11:12:52 +02:00
Bixilon
aca9ac44e5
title events, fix pipeline 2021-10-25 10:42:58 +02:00
Bixilon
9c5338335a
nbt writing 2021-10-25 10:31:34 +02:00
Bixilon
2408e2c49a
wip title 2021-10-24 23:38:07 +02:00
Bixilon
1dc2323073
restructure hud renderer 2021-10-24 19:58:02 +02:00
Bixilon
f1ca745c50
wip text scaling 2021-10-24 18:23:18 +02:00
Bixilon
fd7c55c750
hud: fix some z problems 2021-10-24 17:37:14 +02:00
Bixilon
2e9e20a5cf
fix parsing bug in chat component api 2021-10-24 17:12:57 +02:00
Bixilon
34f15d2baf
fix entity attribute stuff 2021-10-24 16:35:33 +02:00
Bixilon
2008dcba18
network: scoreboard fixes, hud fixes, hotbar fixes 2021-10-24 13:56:53 +02:00
Bixilon
14d7eb0d89
fixes, wip hotbar hover text, fix crash in TextElement with empty lines 2021-10-23 23:11:50 +02:00
Bixilon
565b5b1950
block placing: check if intersects with entity 2021-10-23 16:41:45 +02:00
Bixilon
c08d5936f8
fix multiple block placing packets when right-clicking once 2021-10-23 15:59:03 +02:00
Bixilon
7e6fc7c933
container revision fixes, item rendering: render material color quad 2021-10-23 15:48:36 +02:00
Bixilon
191c2e665e
rendering: reduce memory usage and peaks 2021-10-23 15:12:59 +02:00