Commit Graph
5497 Commits
Author SHA1 Message Date
Moritz Zwerger 91dde25ea3 fix disabling of fullbright 2025-12-30 22:20:08 +01:00
Moritz Zwerger f7e6c71b5d fix fog color 2025-12-30 22:12:34 +01:00
Moritz Zwerger 29e9ca184b fix position assertions 2025-12-30 22:12:33 +01:00
Moritz Zwerger d39f191aec wip remove cloud rendering 2025-12-30 21:40:58 +01:00
Moritz Zwerger d511019cbd some renaming 2025-12-30 18:30:43 +01:00
Moritz Zwerger 86a2f5da12 remove dubious cloud height 2025-12-30 16:16:46 +01:00
Moritz Zwerger 4c55f9df63 position/vec util: use kotlin assert
Then they are disbaled when disabling assertions in the jvm (no `-ea` flag)
2025-12-30 16:10:43 +01:00
Moritz Zwerger ed814a0714 cloud generator
Cleans up the storage of the matrix, allows for dynamic size of the cloud texture
2025-12-30 16:09:29 +01:00
Moritz Zwerger ba53a7754b improved fog 2025-12-30 00:35:30 +01:00
Moritz Zwerger ec8c23e088 far improved skybox calculation 2025-12-30 00:35:30 +01:00
Moritz Zwerger 630992fbee debug: summon lightning 2025-12-30 00:35:30 +01:00
Moritz Zwerger 3ee42ce7de optimize lightning 2025-12-30 00:35:29 +01:00
Moritz Zwerger bf7fb87508 move sky color calculation to shader, skybox types
Cleanups a lot of stuff
2025-12-30 00:35:29 +01:00
Moritz Zwerger d1cead9658 heavily improved skybox coloring 2025-12-30 00:35:29 +01:00
Moritz Zwerger 0abf98b529 remove sun scatter
Great idea, will be replaced with proper ray light scattering
2025-12-30 00:35:29 +01:00
Moritz Zwerger 8facd27651 fix cherry pick errors
This will cause conflicts again, but they are minor. This commits belongs into master and not into the feature branch.
2025-12-30 00:34:28 +01:00
Moritz Zwerger 62043dda43 option to debug gpu memory leaks 2025-12-30 00:33:13 +01:00
Moritz Zwerger ff13526084 fallback registry test 2025-12-30 00:33:05 +01:00
Moritz Zwerger 9e2772e665 registries: rename dimension_type to dimension
The variable is called `dimension`
2025-12-30 00:33:02 +01:00
Moritz Zwerger ebc54854bf nether portal: only allow x/z rotation 2025-12-30 00:32:52 +01:00
Moritz Zwerger e51ec37595 pre flattening model fixer
This is temporary, but makes it possible to not implement blocks that implement pre flattening renamed. Fixing block model names is a matter of seconds instead of minutes.
2025-12-30 00:32:50 +01:00
Moritz Zwerger dfc8b11c46 registries: proper fixing from minosoft-meta/pixlyzer 2025-12-30 00:32:48 +01:00
Moritz Zwerger 7579be8430 nether portal block
fixes collisions and rendering of them in legacy versions
2025-12-30 00:32:45 +01:00
Moritz Zwerger 88837bba3b occlusion tracing: increase ray theshold
In some rare cases (but noticable) it was possible that too many chunks were culled (especially at the border of the frustum when walking around)
2025-12-30 00:32:43 +01:00
Moritz Zwerger 8f05d1b428 constant to disable gpu culling 2025-12-30 00:32:40 +01:00
Moritz Zwerger 9068be377c glsl: relative includes 2025-12-30 00:32:33 +01:00
Moritz Zwerger 900e9d209d awt desktop api: fix pasting 2025-12-30 00:32:27 +01:00
Moritz Zwerger 056c670096 fix cherrypick errors 2025-12-27 17:39:39 +01:00
Moritz Zwerger 747251e024 sprite animation fixes
The texture buffer was not copied correctly.
2025-12-27 17:39:09 +01:00
Moritz Zwerger 42d7e4caf9 optimize texture interpolation 2025-12-27 17:39:06 +01:00
Moritz Zwerger cd5e48e41e opengl: remove texture binding hell
Somehow breaks it though
2025-12-27 17:39:04 +01:00
Moritz Zwerger 7829edde23 fix interpolating, opengl: upload interpolated texture 2025-12-27 17:39:01 +01:00
Moritz Zwerger 38bb3bcbcd wip interpolate textures 2025-12-27 17:38:58 +01:00
Moritz Zwerger f92c630dc4 fix tests 2025-12-27 17:38:56 +01:00
Moritz Zwerger 8add183a08 wip split texture and texture loading
base for removing animation buffer
2025-12-27 17:38:52 +01:00
Moritz Zwerger ce73207cc2 particle: ignore if fully transparent 2025-12-27 17:38:50 +01:00
Moritz Zwerger 0611de79f0 render system: remove IntUniformBuffer
No need for it anymore
2025-12-27 17:38:46 +01:00
Moritz Zwerger 87a474ae44 remove animation uniform buffer
to be replaced
2025-12-27 17:38:34 +01:00
Moritz Zwerger 46280c3663 minor shader improvements
Makes it simpler, removes a couple of if statements and "should" improve performance
2025-12-27 17:38:31 +01:00
Moritz Zwerger ae9e3eae8a Revert "transparent layer"
This reverts commit bccc2858ff.

This is bad, it completely breaks fog.
2025-12-27 17:38:25 +01:00
Moritz Zwerger 83c591447a transparent layer 2025-12-27 17:38:22 +01:00
Moritz Zwerger ee5e306c6a minor improvements 2025-12-27 17:38:17 +01:00
Moritz Zwerger 9391188e39 remove unused render system functions 2025-12-27 17:38:12 +01:00
Moritz Zwerger 7ac8cb9627 split opengl render system utility functions 2025-12-27 17:38:06 +01:00
Moritz Zwerger 36bf93cd49 windowing: get application id from reflection 2025-12-27 17:37:55 +01:00
Moritz Zwerger 20b715b468 keycodes: rename KEY_UNKNOWN to UNKNOWN
not sure if it is a key, could also be a (mouse) button
2025-12-27 17:37:35 +01:00
Moritz Zwerger 6ef3df896d mouse events: use floats over doubles
They are converted to floats somewhere anyways, sdl does not support doubles
2025-12-27 17:37:27 +01:00
Moritz Zwerger 351d8b0376 Window::begin, Window::end 2025-12-27 17:37:23 +01:00
Moritz Zwerger 6f11047eff remove unused window functions 2025-12-27 17:37:17 +01:00
Moritz Zwerger 9fcf13f5ec clipboard system api
Not needed from glfw anymore
2025-12-27 17:37:14 +01:00