Commit Graph
78 Commits
Author SHA1 Message Date
eliotbyte 2a1d2f9354 fix enable per-variant custom model caching 2025-10-28 23:09:28 +03:00
MihailRis fbde46afa7 feat: distance-based dense render optimization 2025-07-25 00:54:54 +03:00
MihailRis 799d712447 update ContentGfxCache 2025-07-24 22:51:53 +03:00
MihailRis 4a6ccf4847 feat: multiple index buffers per mesh support 2025-07-24 21:40:00 +03:00
MihailRis 6dfabe9ff3 fix variant indexing 2025-07-17 00:10:45 +03:00
MihailRis 5478d121f0 add variants (WIP) 2025-07-13 21:28:57 +03:00
MihailRis 3e59b186d3 fix custom models shading flag & add more properties to vcm 2025-07-13 18:51:53 +03:00
MihailRis 5ec9f14021 add emission gbuffer attachment 2025-07-12 21:09:23 +03:00
MihailRis ed5efd9c3a improve shadows 2025-05-21 21:41:01 +03:00
MihailRis ad0396b31e improve shadow map stability 2025-05-11 20:55:35 +03:00
MihailRis 8bb03a004f refactor & fix random deleting texture 2025-05-10 16:13:06 +03:00
MihailRis fc46b7c434 initial commit 2025-05-07 20:42:50 +03:00
MihailRis 3e2bf8a1d3 fix custom block models culling 2025-04-30 21:55:29 +03:00
MihailRis 87dc9ed167 minor refactor 2025-04-29 12:00:13 +03:00
MihailRis 9edff1b0f1 remove an extra check 2025-04-27 22:14:48 +03:00
MihailRis 9a68886cd5 feat: additional culling checks 2025-04-27 22:02:24 +03:00
MihailRis b72599e7ee feat: custom models simple culling 2025-04-27 21:17:24 +03:00
MihailRis 6bca93a1cd improve custom models AO 2025-04-27 21:02:49 +03:00
MihailRis 20e3a961f9 add BlockModel struct 2025-04-27 18:21:56 +03:00
MihailRis 718f5d1089 rename BlockModel to BlockModelType 2025-04-27 15:18:14 +03:00
MihailRis e357a4eb9f remove Mesh constructor 'attrs' argument & format Mesh.hpp 2025-04-27 01:13:44 +03:00
REDxEYE 1ffbeb8148 Refactor mesh handling to use templated vertex structures for improved type safety and flexibility 2025-04-13 17:14:28 +03:00
MihailRis 3d22de761f fix compiler warnings (GCC + Clang) 2025-03-20 22:04:29 +03:00
MihailRis 84f39dde39 update some blocks lighting params 2025-01-26 19:35:13 +03:00
MihailRis 9d7816a286 fix grass lighting 2025-01-03 13:00:25 +03:00
MihailRis ab5a62c3aa add new block.get_AXIS functions overloads & add rotation support to base:falling_block 2024-12-29 21:48:36 +03:00
MihailRis c1b311f3c4 refactor: change pointer parameters to references for Level and Content in various classes 2024-12-25 18:53:53 +03:00
MihailRis dc8f5e7873 add 'graphics.dense-render' setting 2024-12-21 08:13:05 +03:00
MihailRis 954724c837 add 'culling' property & optimize generated chunk meshes & fix faces culling when 'light-passing' is false 2024-12-21 06:41:03 +03:00
MihailRis 5f71522653 extend that one optimization 2024-11-17 04:31:07 +03:00
MihailRis bd4a5ef7fc optimize a bit 2024-11-17 03:19:55 +03:00
MihailRis 5240fe6226 rename vattr to VertexAttribute 2024-11-17 01:00:27 +03:00
MihailRis 65287b3273 move chunk vertex attributes info to commons.hpp 2024-11-17 00:54:10 +03:00
MihailRis 71788e4eb9 remove unnecessary shared_ptrs from ChunksRenderer and ChunkMesh 2024-11-16 16:04:00 +03:00
MihailRis 1ff89491e6 optimize (part 2) 2024-11-16 15:11:05 +03:00
MihailRis b28bcf052b optimize (part 1) 2024-11-16 09:18:14 +03:00
MihailRis 4400366719 feat: actually working slow prototype 2024-11-16 07:41:36 +03:00
MihailRis 5b6256e0fa introduce ChunkMesh 2024-11-16 04:13:00 +03:00
MihailRis c4170c07c5 refactor 2024-11-14 09:30:41 +03:00
MihailRis aadb04c41e minor optimize BlocksRenderer 2024-11-12 20:07:45 +03:00
MihailRis c5ca9128e9 move getVoxels from ChunksStorage to Chunks 2024-11-11 22:30:42 +03:00
MihailRis a333cadfca fix custom model lighting 2024-11-09 23:54:19 +03:00
MihailRis 53d75a975c implement custom models preview & BlocksRenderer cleanup 2024-11-05 20:39:56 +03:00
MihailRis 8a99c118f6 fix custom models render 2024-11-05 20:23:58 +03:00
MihailRis 5e0bcf8ec0 feat: new block custom models implementation (WIP) 2024-11-05 19:28:40 +03:00
MihailRis 9f70e14a13 update X sprites rendering randomization 2024-10-24 14:03:05 +03:00
MihailRis 3e1a82d137 make BlocksRenderer::createMesh return MeshData & make ChunksRenderer workers have standalone results 2024-10-24 10:54:07 +03:00
MihailRis cbbc04edcf fix rare grass-only chunk meshes 2024-10-24 09:19:58 +03:00
MihailRis e750d90ff4 add 'graphics.chunk-max-vertices', 'graphics.chunk-max-renderers' settings 2024-10-01 23:25:25 +03:00
MihailRis dc10dc60c0 refactor BlocksRenderer a bit 2024-08-10 04:29:06 +03:00