Leonardo
50ab424497
added regen for the lightmap
2021-09-17 15:57:01 +02:00
Leonardo
900467cef2
System uses lightmap now
2021-09-17 13:02:05 +02:00
cola98765
b008b70255
colors are better than it were... again
2021-09-17 00:05:29 +02:00
cola98765
6bc14fbb2d
brightness fix with real block colors TODO foliage
2021-09-16 18:12:22 +02:00
James Seibel
b5f32705e8
remove commented out code
2021-09-15 23:12:10 -05:00
James Seibel
8bc72af63f
Improve rendering performance and improve buffer building stability
...
Specifically improve the rendering speed so we can get over 100 fps again.
2021-09-15 22:01:52 -05:00
James Seibel
7f9c7d8722
Merge branch '1.16.5' of gitlab.com:jeseibel/minecraft-lod-mod into
...
1.16.5
# Conflicts:
# src/main/java/com/seibel/lod/builders/LodBufferBuilder.java
2021-09-14 23:46:01 -05:00
James Seibel
aebbeb6ade
Simplify the multi-context uploading, improve stability, and refactor
2021-09-14 22:49:08 -05:00
James Seibel
a945eb4579
Fully add multi-context uploading
2021-09-14 21:27:36 -05:00
James Seibel
8822e2d8a1
partially add different context rendering
2021-09-12 23:14:43 -05:00
James Seibel
6ec146ba60
re-add depreciation warning suppressions
2021-09-09 19:06:09 -05:00
Leonardo
21140593e2
Started convertion for vertical data
2021-09-10 01:05:12 +02:00
Leonardo
878714dae3
Fixed the lod not showing at screen corner bug
2021-09-09 15:51:14 +02:00
Leonardo
e876d7bec6
Fixed the lod not showing at screen corner bug
2021-09-09 14:43:04 +02:00
James Seibel
18b8359f0d
rename the wrapper package to wrappers
2021-09-07 21:12:58 -05:00
James Seibel
7de4c7c72a
Make the reflection handler a singleton
2021-09-07 21:12:16 -05:00
James Seibel
40321d6e21
Remove unused variables, imports, etc.
2021-09-07 19:52:06 -05:00
James Seibel
7eed472029
Fix stuttering caused by a merge
2021-09-07 19:09:50 -05:00
Leonardo
b096cc53aa
Working version
2021-09-07 19:02:51 +02:00
Leonardo
94d994e761
re-added the commit
2021-09-07 18:52:58 +02:00
Leonardo
f76fa17e25
Removed level pos and data arrays
2021-09-07 17:23:22 +02:00
James Seibel
53a66268cb
Close issue #37 (z-fighting far from the origin)
...
I'm not certain why in LodRenderer swapBuffers has to be called after the frame has been rendered, but otherwise it causes stuttering / rubber banding.
2021-09-06 22:51:46 -05:00
James Seibel
139867d4b8
auto-indent
2021-09-06 12:17:49 -05:00
James Seibel
13a1e7ed56
Add the MinecraftWrapper
2021-09-06 11:20:32 -05:00
Leonardo
69ba83d34f
small change to far Fog
2021-09-05 16:15:14 +02:00
James Seibel
2219da4050
revert the fog changes
2021-09-01 21:47:31 -05:00
James Seibel
a1aa90cccb
Split up the configs to make it easier to understand
2021-09-01 21:39:02 -05:00
Leonardo
d19abaef7b
small fix to a bug that was causing crash if the player went over y 256
2021-09-01 18:20:51 +02:00
Leonardo
91ba48ad4a
Max draw detail now works correctly and node bigger than a chunk do not disappear if you touch a border
2021-09-01 18:11:01 +02:00
Leonardo
32e587d536
Small fix to the index of vanillaRenderedChunks
2021-09-01 17:27:37 +02:00
Leonardo
e3dfe658f5
Fixed chunkPos being created multiple time in the buffer
2021-09-01 17:20:52 +02:00
Leonardo
4e249e943a
Revert "Added LevelPosUtil, now the node are added using it and not with the LevelPos object"
...
LevelPos are useful and the small stutter in the buffer builder is probably caused by the creation of ChunkPos
2021-09-01 16:33:34 +02:00
Leonardo
1360edb459
Added LevelPosUtil, now the node are added using it and not with the LevelPos object
2021-09-01 15:15:23 +02:00
James Seibel
a1c720d588
Fix a issue where the projection matrix was given a depth of 0
...
This caused the depth buffer to stop working.
2021-08-31 21:05:53 -05:00
James Seibel
2c2c6d6785
Add configs for buffer building timeouts and small refactors
2021-08-30 23:16:27 -05:00
Leonardo
d5d48f2448
now the vanillaRenderedChunk is reset if the player goes to high
2021-08-30 23:41:56 +02:00
Leonardo
536de1a22d
fixed a small error with the timer
2021-08-30 23:25:37 +02:00
Leonardo
193c579712
changed the generation. Added re-use of levelPos
2021-08-30 23:03:22 +02:00
Leonardo
5467d007b8
preparing the mod for future buffer caching
2021-08-30 12:36:07 +02:00
James Seibel
d8b4730ee0
Remove a unneeded depreciation suppression warning
2021-08-29 14:20:18 -05:00
Leonardo
812fa65054
divided the time checker for the regen
2021-08-29 17:18:21 +02:00
Leonardo
ba63b44288
small change
2021-08-29 16:44:36 +02:00
Leonardo
b19a80f411
Optimized the regen
2021-08-29 16:42:44 +02:00
Leonardo
450f15ad36
Finally fixed the regen problem
2021-08-29 10:56:14 +02:00
James Seibel
d4ada067c5
auto-indent
2021-08-28 11:05:33 -05:00
James Seibel
9277b3ad38
Add different debug modes (off, detail, detail_wireframe)
2021-08-28 11:04:59 -05:00
Leonardo
26fbdfc92c
fixed memory use method and put F4 as debug key
2021-08-28 12:41:54 +02:00
Leonardo
822a088096
fixed loading
2021-08-28 00:36:45 +02:00
Leonardo
36079e1624
fix to the Rendering holes
2021-08-28 00:16:44 +02:00
Leonardo
8db782a406
Now nodeToRender is fully automatic
2021-08-27 23:05:37 +02:00