Commit Graph

1835 Commits

Author SHA1 Message Date
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
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
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
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
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
James Seibel e8dc6f12e0 Add LodQuadBuilder timing to the build log 2023-09-08 19:56:13 -05:00
James Seibel e8a7ec1cf8 Remove LodQuadBuilder transparent void fix
The fix was causing a lot of lag and I wasn't able to reproduce the problem after removal so it probably isn't worth it for the time being.
2023-09-08 19:54:28 -05:00
NULL511 c199cd60ec add blend-alpha to GLState 2023-09-08 18:36:07 -04:00
James Seibel 8c19fc60f8 Improve LodQuadBuilder speed and reduce GC pressure 2023-09-08 07:50:47 -05:00
James Seibel 3290ba3b34 minor refactors 2023-09-08 07:47:37 -05:00
James Seibel ea7f199c9b Clear the debug wireframes after leaving the current world. 2023-09-07 20:20:11 -05:00
James Seibel 36fc6aaea3 Reorganize SSAO config 2023-09-06 21:25:13 -05:00
James Seibel ea05ef3d3d Merge branch 'distant-horizons-core-ssao.improvements' 2023-09-06 17:54:20 -05:00
James Seibel 72ee854655 Overhaul FullDataMetaFile async completion stages and write queue application 2023-09-06 17:36:52 -05:00
James Seibel 65e6aa1aa0 Refactor AbstractFullDataSourceLoader phantom check/logging 2023-09-04 18:32:58 -05:00
James Seibel cc16e21352 Fix interface naming convention in MetaFileScanUtil 2023-09-04 18:12:09 -05:00
James Seibel 2cf798ed4c Remove CacheQueryResult from FullDataMetaFile 2023-09-04 18:11:02 -05:00
James Seibel 8c7d640f37 temp 2023-09-04 18:02:43 -05:00
James Seibel d98c052d0d RenderMetaDataFile null pointer fix 2023-09-04 17:55:57 -05:00
James Seibel 31faa9925a refactor AbstractMetaDataContainerFile and FullDataMetaFile 2023-09-04 17:17:44 -05:00
James Seibel ceda768f2b Fix allowUnsafeValues localization typo 2023-09-04 11:05:02 -05:00