Commit graph

103 commits

Author SHA1 Message Date
MihailRis
d9a7afad05 Merge branch 'main' into volume-renderer 2026-01-29 22:35:02 +03:00
MihailRis
89485dc592 fix extra faces when dense mode is off 2026-01-22 22:27:30 +03:00
MihailRis
305f44d1c6 Merge branch 'main' into volume-renderer 2026-01-10 23:28:28 +03:00
MihailRis
a586fe5e92 feat: custom model full culling case 2026-01-08 23:46:52 +03:00
MihailRis
19836bfde3 remove unused is_aligned 2026-01-08 23:37:47 +03:00
MihailRis
a95afd777d update Block::cloneTo 2026-01-08 23:24:38 +03:00
MihailRis
e451a4f3a3 add explicit 'solid' block property 2026-01-08 22:43:20 +03:00
MihailRis
336ae09f66 fix unchecked indices buffer overflow 2026-01-08 20:06:23 +03:00
MihailRis
88544183d0 stabilize delays of chunks meshes building 2025-12-29 20:41:47 +03:00
MihailRis
79eb185530 reduce copies in ThreadPool 2025-12-25 23:39:11 +03:00
MihailRis
54d1398d1b add Lightmap::extractNormalized 2025-12-20 23:26:50 +03:00
MihailRis
48105d086b disable custom model extended blocks culling until splitting it 2025-12-18 20:44:04 +03:00
MihailRis
78062e2197 fix: 'shadeless' block property ignored if custom model is used 2025-12-18 20:32:26 +03:00
MihailRis
1de669092c improve soft lights calculation for blocks with custom model 2025-12-18 20:30:22 +03:00
MihailRis
17ff87e458 Merge branch 'main' into visuals-restoration 2025-12-18 20:27:18 +03:00
MihailRis
0ff0d4c29f update custom models soft-lights calculation strategy too keep old behaviour in some cases 2025-12-18 20:17:50 +03:00
MihailRis
7cd2b2a404 Merge branch 'main' into visuals-restoration 2025-12-18 19:25:40 +03:00
MihailRis
36f7fb759a fix custom model blocks lighting 2025-12-18 19:24:12 +03:00
MihailRis
33b8aabc7a Merge branch 'main' into visuals-restoration 2025-12-18 18:25:28 +03:00
MihailRis
d8bbbc3cfb fix custom model blocks lighting 2025-12-18 18:23:47 +03:00
MihailRis
c46a6ad3bd move BlocksRenderer voxels buffer fill to main thread 2025-12-18 00:30:33 +03:00
MihailRis
c017273374 Merge branch 'main' into visuals-restoration 2025-12-16 01:12:00 +03:00
MihailRis
ea8e1301ea fix shadeless blocks with soft lights disabled 2025-12-13 17:16:00 +03:00
MihailRis
9286d48365 feat: blocks renderer optimization 2025-12-12 19:36:12 +03:00
MihailRis
0a45277f96 add 'graphics.soft-lighting' setting 2025-11-10 18:28:24 +03:00
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