Commit Graph

1666 Commits

Author SHA1 Message Date
James Seibel ff3949f353 Merge branch 'main' into 'main'
Fix wrong position being calculated and used for block colors (and possibly other things).

See merge request jeseibel/distant-horizons-core!14
2023-08-18 03:05:11 +00:00
James Seibel 8809fa88ce Fix incorrect vPos in curve.vert, thanks Null! 2023-08-17 21:21:49 -05:00
James Seibel 97d5429b34 Merge branch 'shader.cleanup' into 'main'
Shader Cleanup

See merge request jeseibel/distant-horizons-core!13
2023-08-18 01:59:07 +00:00
Builderb0y 3784458cba Fix wrong position being calculated and used for block colors (and possibly other things). 2023-08-18 01:58:11 +00:00
James Seibel 155648035b fix SSAO rendering 2023-08-17 20:56:35 -05:00
NULL511 c75c830ab2 revert cpu projection inverse fog 2023-08-17 13:06:37 -04:00
NULL511 ea5b19b4e7 cpu projection inverse fog 2023-08-17 12:35:16 -04:00
NULL511 be1d13e6ad cpu projection inverse 2023-08-17 12:08:45 -04:00
NULL511 4563e4872e shader syntax fix 2023-08-17 11:19:38 -04:00
NULL511 ceb0c215c5 shader cleanup initial 2023-08-17 10:34:54 -04:00
coolGi d239defb94 Merge remote-tracking branch 'origin/main' 2023-08-17 23:27:26 +09:30
coolGi ff7e945b07 Changed config file deletion error message, to info 2023-08-17 23:25:18 +09:30
coolGi 26b6e19753 Temporary "fix" for ant water 2023-08-17 23:21:55 +09:30
coolGi 4969d2362d Removed if statement for deleting config file 2023-08-17 23:16:51 +09:30
James Seibel 7dc054c1dd potentially reduce OpenGL errors when restoring GLStates 2023-08-17 07:23:08 -05:00
James Seibel e488cb8a4c Add some additional error checking to ConfigFileHandling 2023-08-17 07:12:07 -05:00
James Seibel 7aa432951c Add Javadoc "since API 1.0.0" to API methods and objects 2023-08-16 07:42:12 -05:00
James Seibel 468c8b134c Remove unused EDhApiWorldGenThreadMode 2023-08-16 07:42:01 -05:00
James Seibel 1139a6eec7 Disable cave culling for dimensions with a ceiling 2023-08-16 07:23:42 -05:00
James Seibel d4bc5bbc82 Fix default chunkLodConverter ratio config value 2023-08-15 22:04:26 -05:00
James Seibel e5ab12ef3e Create .editorconfig 2023-08-15 20:50:42 -05:00
James Seibel 55bf122bc1 Potentially fix lag when moving across chunk borders 2023-08-15 20:49:22 -05:00
coolGi 300834f582 Removed unused accessors 2023-08-15 13:00:41 +09:30
coolGi bde1c860b9 Merge remote-tracking branch 'origin/main' 2023-08-15 12:47:57 +09:30
coolGi 858bf3e99b Fix to sodium, now no longer requiring Mixins 2023-08-15 12:47:13 +09:30
James Seibel 8489003e0c Apply editorconfig auto formatting 2023-08-14 21:16:08 -05:00
James Seibel 56959094ae Fix ModGitInfo crashing on release MC
It won't show the commits or branches, but it won't crash either
2023-08-14 07:30:41 -05:00
James Seibel 2914ddd121 Cache the DhChunkPos hashCode to improve DhLightingEngine speed 2023-08-13 17:10:27 -05:00
James Seibel f67949dbc4 Fix DhLightingEngine for light positions outside the chunk(s) 2023-08-13 17:09:03 -05: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
James Seibel d3cf47ccd7 Fix FullDataPointIdMap (de)serialization duplicate Entries
Also increase DATA_FORMAT_VERSION 2 -> 3
2023-08-12 16:17:34 -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
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
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