254 Commits

Author SHA1 Message Date
MihailRis
e0b3425eff migrate blocks interaction (scripting) to global chunks storage (WIP) 2024-12-13 05:54:41 +03:00
MihailRis
863146cf6b move PlayerController to LevelScreen 2024-12-11 23:42:59 +03:00
MihailRis
ed3865964b add syntax highlighting (WIP) 2024-12-04 22:13:17 +03:00
MihailRis
ce1e9f76cf add FontStylesScheme 2024-12-04 18:04:19 +03:00
MihailRis
00cf6e39ef fix projected text frustum culling 2024-11-30 17:34:07 +03:00
MihailRis
af185a5a40 update cracks 2024-11-26 08:53:14 +03:00
MihailRis
d9277e1b31 mip-mapping related fixes 2024-11-25 15:39:34 +03:00
MihailRis
7ddf3f7537 minimize chunks overdraw 2024-11-25 13:12:47 +03:00
MihailRis
97cf597a01 update WorldRenderer::renderHands 2024-11-25 12:31:10 +03:00
MihailRis
ea295e3d43 reduce drop model sizes 2024-11-25 08:24:00 +03:00
MihailRis
bcf920a251 add xray_opacity support to projected 3d text 2024-11-23 14:16:58 +03:00
MihailRis
dc22fec584 fix msvc build 2024-11-23 08:10:18 +03:00
MihailRis
e1579f0c25 add player_name text3d preset 2024-11-23 08:00:35 +03:00
MihailRis
65e5063326 add player names display 2024-11-23 07:41:44 +03:00
@clasher113
212f4d3590 sorted meshes: check for frustum 2024-11-22 17:13:15 +02:00
MihailRis
61b1aa8e3d add gfx.blockwraps library & add on_player_tick world event 2024-11-21 06:48:23 +03:00
MihailRis
9e02f1122f add BlockWrapsRenderer (WIP) 2024-11-20 14:42:53 +03:00
MihailRis
0144709e03 add 'u_alphaClip' to entity shader 2024-11-19 14:33:14 +03:00
MihailRis
495e444d1f fix MainBatch::cube 2024-11-19 13:30:52 +03:00
MihailRis
b66fb87427 Merge branch 'main' into update-particles 2024-11-19 10:15:42 +03:00
MihailRis
71d18ae3a9 minor refactor 2024-11-17 04:58:15 +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
608eb60514 add 'u_alphaClip' to the blocks shader 2024-11-16 16:13:18 +03:00
MihailRis
71788e4eb9 remove unnecessary shared_ptrs from ChunksRenderer and ChunkMesh 2024-11-16 16:04:00 +03:00
MihailRis
ebc890bdd6 optimize (part 4) & format ChunkRenderer 2024-11-16 15:49:53 +03:00
MihailRis
399943b253 fix 2024-11-16 15:37:30 +03:00
MihailRis
7bdeba982b optimize (part 3) 2024-11-16 15:24:46 +03:00
MihailRis
1ff89491e6 optimize (part 2) 2024-11-16 15:11:05 +03:00
MihailRis
2327f0ddf8 fix msvc error C2466: cannot allocate an array of constant size 0 2024-11-16 09:31:33 +03:00
MihailRis
171cbb48d0 fix blocks selection with semi-transparent blocks 2024-11-16 09:30:02 +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
a8388a6243 add text3d.get_axis_x, .set_axis_x, .get_axis_y, .set_axis_y 2024-11-15 03:09:05 +03:00
MihailRis
525cf1ed4b add 'perspective' NotePreset property 2024-11-15 02:21:05 +03:00
MihailRis
2147f507a6 add 'projected' display mode support 2024-11-15 01:08:46 +03:00
MihailRis
ef644ca56d add 'xray_opacity' NotePreset property 2024-11-15 00:38:41 +03:00
MihailRis
4a74e56eda add update_settings 2024-11-14 21:18:36 +03:00
MihailRis
501f1b568d add get_text, set_text, get_pos, set_pos 2024-11-14 10:57:55 +03:00
MihailRis
d74b530a83 rename spawn to show & add gfx.text3d.hide(...) 2024-11-14 10:45:37 +03:00
MihailRis
eb5715eba9 add gfx.text3d.spawn(...) 2024-11-14 10:32:50 +03:00
MihailRis
c4170c07c5 refactor 2024-11-14 09:30:41 +03:00
MihailRis
f0b6521c76 refactor 2024-11-14 08:09:10 +03:00
MihailRis
e9163f4228 refactor WorldRenderer 2024-11-14 06:13:53 +03:00
MihailRis
f9f4d2037f refactor WorldRenderer 2024-11-14 06:04:26 +03:00
MihailRis
42b26707cb move 3d texts rendering code to TextsRenderer 2024-11-14 05:43:01 +03:00
MihailRis
5b6ada6e5d add more NotePreset properties 2024-11-14 02:21:15 +03:00