Commit Graph

1673 Commits

Author SHA1 Message Date
Steveplays28 8dcec7a1bd refactor: Re-add old serialization method
This is used by some override methods that don't have access to the level.
These old serialization methods have `FIXME`s so they're easy to find in the future.
2023-08-13 23:18:55 +02:00
Steveplays28 d839b6e4bd Merge remote-tracking branch 'upstream-core/main'
# Conflicts:
#	core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/FullDataPointIdMap.java
#	core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/CompleteFullDataSource.java
#	core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/HighDetailIncompleteFullDataSource.java
#	core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/LowDetailIncompleteFullDataSource.java
#	core/src/main/java/com/seibel/distanthorizons/core/pos/DhSectionPos.java
2023-08-13 22:59:43 +02:00
James Seibel 8df8ed4a02 Request a garbage collection after closing the DH world 2023-08-13 13:36:47 -05:00
James Seibel 470c9ff5b5 Fix DhLightingEngine overwhelming the GC 2023-08-13 13:36:32 -05:00
s809 0c155ac8cd Generation task prioritization (loaded > unloaded > ungenerated) 2023-08-13 18:59:08 +05:00
James Seibel d3cf47ccd7 Fix FullDataPointIdMap (de)serialization duplicate Entries
Also increase DATA_FORMAT_VERSION 2 -> 3
2023-08-12 16:17:34 -05:00
s809 271b193543 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-08-13 01:53:06 +05:00
James Seibel 2b97fa639a Fix SSAO shading being applied to the sky 2023-08-11 21:04:47 -05:00
James Seibel 91a6f4468a improve fog shader depth culling logic 2023-08-11 21:00:58 -05:00
James Seibel 27c5f308a8 Remove the outer profiler to LOD rendering 2023-08-11 21:00:09 -05:00
James Seibel c56cbb20c4 Fix DH fog rendering over the sun and sky 2023-08-11 18:43:09 -05:00
James Seibel e6f673783b reformat LodRenderer 2023-08-11 18:32:02 -05:00
James Seibel fe05594d45 remove some unneeded fog code in the main shader program 2023-08-11 18:02:35 -05:00
James Seibel a97d8bb8ee Fix a crash after changing the DH render distance 2023-08-11 17:52:00 -05:00
James Seibel 766ee0975e Fix disabling fog crashing the renderer 2023-08-11 07:45:44 -05:00
James Seibel a3efc652dc Fix Fog shader corrupted rendering 2023-08-11 07:26:11 -05:00
James Seibel 4df9c1ca01 reformat GLState 2023-08-11 07:21:46 -05:00
James Seibel d1ecec9ee9 reformat AbstractShaderRenderer 2023-08-11 07:08:43 -05:00
James Seibel 857979b7f2 Remove fog code from the flat_shaded (LodRenderProgram) shader 2023-08-10 07:49:18 -05:00
James Seibel 72e1e29a0b Minor reformat to FogShader 2023-08-10 07:25:33 -05:00
James Seibel 59c62aa6f0 Fix DH fog not rendering, but also corrupt vanilla rendering 2023-08-10 07:24:20 -05:00
s809 e4ac25f4ce Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-08-08 20:57:30 +05:00
James Seibel 510dc47943 Renderer reformatting 2023-08-08 07:25:48 -05:00
coolGi c2f7ca8f38 Temporary fix for sodium 0.5's fog occlusion 2023-08-08 21:23:25 +09:30
s809 52f9e3e9e4 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-08-08 12:35:21 +05:00
coolGi dc88c46dc9 Added a warning if value doesn't have a way to display it 2023-08-07 22:05:04 +09:30
coolGi fc54e0f893 Fixed crashing with forge-config-api-port-fabric 2023-08-07 21:54:41 +09:30
coolGi 9f9c542a6c DH Jar now knows git version that it was built from 2023-08-07 21:10:45 +09:30
James Seibel 2930a899d8 Remove IMinecraftRenderWrapper.tryDisableVanillaFog()
They are now handled via mixins
2023-08-06 19:21:46 -05:00
James Seibel 38a7a837e7 Fix incorrect unloaded chunk lighting 2023-08-06 19:18:31 -05:00
James Seibel df63dd1370 Add a FullDataMetaFile TODO comment 2023-08-06 17:47:07 -05:00
James Seibel 4de8812861 update the seamless overdraw config to state it only works on fabric 2023-08-06 17:39:34 -05:00
coolGi f8f6c9f877 Added a ui button option + debug menu option 2023-08-06 18:59:39 +09:30
coolGi 260358be93 Added pop-up notification on update success 2023-08-06 18:57:38 +09:30
coolGi e5dcc4189d Fixed bug with updater giving invalid update checksum 2023-08-06 18:56:16 +09:30
coolGi 475e4da4a7 Removed config entries from checking their own types as its already done in the config base 2023-08-06 17:30:27 +09:30
coolGi 7ccb5c1806 Added white world option 2023-08-06 17:15:17 +09:30
James Seibel ba0de99948 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-08-05 22:35:42 -05:00
James Seibel b53739a112 Comment out a couple missed Netty lines 2023-08-05 22:33:30 -05:00
James Seibel 8bcfe3e35d Increment Full Data Source version 1 -> 2
Done due to serialization changes
2023-08-05 22:25:06 -05:00
James Seibel 1345982795 Comment out all Netty related files
Done to allow 1.16 to compile
2023-08-05 22:22:51 -05:00
James Seibel ff1a1d5164 minor FullDataToRenderDataTransformer refactor 2023-08-05 22:21:58 -05:00
s809 6bf32ff85c Add debug renderer for remote generation queue 2023-08-05 22:30:33 +05:00
coolGi 783ceeb633 Some general fixes 2023-08-05 16:53:41 +09:30
coolGi 42f45f05c3 Merge remote-tracking branch 'origin/main' 2023-08-05 15:04:37 +09:30
coolGi 5800029206 Reverted previous removing fog from main shader 2023-08-05 15:03:26 +09:30
coolGi 146c2e6f1c Final save commit for another attempt to fix fog, before revert. 2023-08-05 14:58:03 +09:30
s809 9bd432ad7f Fix memory leak related to requests 2023-08-04 22:12:09 +05:00
s809 04fc4aa676 Remove unnecessary logging 2023-08-04 21:51:53 +05:00
s809 8ee4b8b4c9 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-08-04 21:10:41 +05:00