Commit Graph

1913 Commits

Author SHA1 Message Date
s809 6f4e105542 Fix compiling 2023-09-18 13:44:19 +05:00
s809 633b3f2033 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-09-18 13:24:43 +05:00
James Seibel 8a0e3a710c Add GL Context creation debug configs
In an attempt to fix Steam Deck crashing due to being unable to create the GL Context
2023-09-16 08:03:39 -05:00
James Seibel 1ae1f1f36f Add a mutable DhSectionPos 2023-09-15 07:34:37 -05:00
James Seibel 2cee805645 Optimize some DhSectionPos via mutating the pos and removing duplicate DhLodPos allocations 2023-09-14 22:04:52 -05:00
James Seibel db58aa117a Minor QuadTree refactor 2023-09-14 20:19:02 -05:00
James Seibel 1c247e0da2 Rename DhSectionPos.getMinCornerLodPos() 2023-09-14 20:11:09 -05:00
James Seibel 4d863adac5 replace DhSectionPos getCenter() with getCenterBlockPos() 2023-09-14 20:07:25 -05:00
James Seibel 96a39bce69 reformat DhBlockPos2D 2023-09-14 19:56:48 -05:00
James Seibel 9a89731a59 Add DhSectionPos getBlockWidth() and getWidthCountForLowerDetailedSection() 2023-09-14 19:16:05 -05:00
James Seibel 269b763b73 Add DhSectionPos.getNumberOfLodSectionsWide() 2023-09-14 07:52:04 -05:00
James Seibel 00806933e0 Optimize DhSectionPos constructors and add convertSelfToDetailLevel() 2023-09-14 07:21:01 -05:00
James Seibel 84236e7a31 Add additional DhSectionPos unit tests 2023-09-13 21:52:56 -05:00
James Seibel 5ee1bea7c0 reformat DhSectionPos 2023-09-13 21:37:31 -05:00
James Seibel a5178cecea Rename RenderMetaDataFile -> RenderDataMetaFile 2023-09-13 18:29:56 -05:00
James Seibel cc933b6bd0 comment out DataSourceReferenceTracker GC logic 2023-09-13 07:45:01 -05:00
James Seibel 03f50b168d Add DataSourceReferenceTracker to automatically free unused data sources 2023-09-12 20:16:32 -05:00
Steveplays28 f0a62c813a Merge remote-tracking branch 'upstream-core/main' 2023-09-12 17:35:29 +02:00
James Seibel 13b7a20ff6 DhLightingEngine reformat 2023-09-11 20:35:33 -05:00
Builderb0y 62e8bea246 I forgot a line of code. 2023-09-12 01:05:27 +00:00
Builderb0y a51bb760d0 inline LightPos, effectively preventing tens of thousands of them from being allocated. 2023-09-11 17:04:17 +00:00
Builderb0y a28eddc1d5 remove iteration over chunkArray, calculate index directly instead. 2023-09-11 16:55:52 +00:00
James Seibel 61564d8914 Merge branch 'distant-horizons-core-iris.shadow.fix' 2023-09-11 07:36:24 -05:00
James Seibel 378ea5599b Merge branch 'distant-horizons-core-abstract.shader.refactor' 2023-09-11 07:29:43 -05:00
James Seibel 5ec874d4a0 Improve LOD Building and Lighting speed for BigGlobe worlds
Thanks Builderb0y!
2023-09-11 07:25:58 -05:00
James Seibel d3865551a5 Minor Lighting Engine GC optimizations 2023-09-10 17:09:33 -05:00
NULL511 8f42acbd65 simplify matrix usage; uniform cleanup 2023-09-10 04:15:35 -04:00
NULL511 25f4ef3224 default viewport 2023-09-10 03:38:47 -04:00
NULL511 a37b0abd18 use init render events 2023-09-10 03:14:03 -04:00
s809 21f03526f8 Merge branch 'main' of https://gitlab.com/jeseibel/distant-horizons-core 2023-09-10 12:03:29 +05:00
NULL511 22281d477c fix shader init; remove GL11 2023-09-10 01:37:55 -04:00
NULL511 0b2284e258 refactor abstract shader base class and ssao renderer 2023-09-10 00:47:04 -04:00
James Seibel 7d84e05b1f Move framebuffer unbinding to GLState 2023-09-09 18:26:00 -05:00
James Seibel 2d1729d325 Revert "Use MC's projection matrix in SSAO instead of creating a new one"
This reverts commit 5735599569.
2023-09-09 18:22:33 -05:00
James Seibel e415d1cb72 Fix shadow static rendering 2023-09-09 17:03:33 -05:00
James Seibel 5735599569 Use MC's projection matrix in SSAO instead of creating a new one 2023-09-09 16:45:20 -05:00
NULL511 d73c0b9531 cleanup 2023-09-09 16:33:27 -04:00
NULL511 faf51a57e7 fix ssao frame buffer binding 2023-09-09 16:33:27 -04:00
NULL511 d6d94804a0 cleanup 2023-09-09 16:33:27 -04:00
NULL511 a21edfeed6 remove unused frame buffer 2023-09-09 16:33:27 -04:00
NULL511 36092008ef fix fog texture bind + shaders 2023-09-09 16:33:27 -04:00
Steveplays28 0e7a96d308 fix: Fix missing IServerKeyedClientLevel import 2023-09-09 21:03:17 +02:00
Steveplays28 87572246a6 Merge remote-tracking branch 'upstream-core/main' 2023-09-09 20:53:44 +02:00
James Seibel ae8c95250c Reduce duplicate Client Chunk update calls 2023-09-09 13:36:59 -05:00
James Seibel e484926f62 Temporarily disable clientApi neighbor chunk updating 2023-09-09 12:47:23 -05:00
James Seibel 8ae78dbf60 Fix inconsistent QuadTree detail level variable names 2023-09-09 10:45:17 -05:00
James Seibel ac1beb732d Fix LodQuadTree corner sections rendering outside the square render distance 2023-09-09 10:43:23 -05:00
Steveplays28 025484d5b4 Merge remote-tracking branch 'upstream-core/main' 2023-09-09 14:47:07 +02:00
James Seibel 1e7b459b6a Add debug options to skip some full data update events 2023-09-08 22:32:19 -05:00
James Seibel b234c3e57e Merge branch 'distant-horizons-core-alpha.blend.state' 2023-09-08 19:57:08 -05:00