734 Commits

Author SHA1 Message Date
careeoki
e83f574481
New soil texture (#463)
* New soil texture

* Tweak soil palette
2024-06-16 11:24:06 +02:00
IntegratedQuantum
df0e809845 Pressing escape now unselects the selected text input.
fixes #436
fixes #404
2024-06-11 15:45:12 +02:00
IntegratedQuantum
129682821f Biomes that weren't found should have a chance of zero. 2024-06-11 12:46:06 +02:00
careeoki
68edf31ea9
Add Brick blocks (#459)
* Add brick textures

* Add brick blocks
2024-06-11 12:36:24 +02:00
IntegratedQuantum
020a811a9a Add a biome palette.
A step towards #350
2024-06-10 14:37:38 +02:00
IntegratedQuantum
5f9d740843 Optimize meshing using bitmasks to reduce the number of blocks that need to be sampled from the chunk.
Improves meshing time from 30s to just 8s at render distance 12
2024-06-09 15:45:00 +02:00
IntegratedQuantum
fffb94046d Add a FOV slider.
fixees #226
2024-06-08 17:58:06 +02:00
IntegratedQuantum
d179868243 Improve anisotropic filtering setting. 2024-06-08 15:34:21 +02:00
IntegratedQuantum
01e4184387 Revert "Optimize canBeSeenThroughOtherBlock" since it caused visual bugs.
This reverts commit c405f336ddc7ecd0ab3bd0821d4dd10fccbcd4de.
2024-06-08 14:58:58 +02:00
Weltspear
1df04351de
Made middle mouse click give player selected block (#458)
* Made middle mouse click give player selected block

* Implement suggested changes

* Removed releaseAcquireSelectedBlock

---------

Co-authored-by: Weltspear <>
2024-06-08 14:16:17 +02:00
IntegratedQuantum
afb16fdc30 Rename colorado stone to ferrock 2024-06-08 10:44:40 +02:00
careeoki
7e437ac868
Glacite and updated Peaks biome (#455)
* Add glacite texture

* Add glacite block

* Update peak biome with glacite

* Tweak peaks meekly

* Brighten Glacite by like 5
2024-06-08 10:13:41 +02:00
IntegratedQuantum
d579262b38 Make some more stone types chiselable. 2024-06-07 21:24:09 +02:00
careeoki
848b3d5526
Redesign Colorado (#454)
* Overhaul colorado_mountains

* Update colorado stone
2024-06-07 21:20:28 +02:00
IntegratedQuantum
6604c9282b Fix block selection when the resolution scale has changed.
Fixes #450
2024-06-07 14:43:00 +02:00
IntegratedQuantum
dfbad3f596 Fix backface culling for negative coordinates.
fixes #451
2024-06-07 13:43:35 +02:00
IntegratedQuantum
9caf51953d Update zig version to 0.13.0 2024-06-07 13:40:22 +02:00
IntegratedQuantum
c225efa1de Implement pre-vertex-shader backface culling on the GPU.
Decreases frametime by ~16% on my hardware.
Not as much as I hoped, but still worth a lot.
2024-06-06 16:44:51 +02:00
careeoki
50076d172d
Brighten stone for less contrast against other blocks (#448)
Only a little bit. I wouldn't do this again for no reason, i swear.
2024-06-06 09:23:38 +02:00
IntegratedQuantum
ab9c52b1b7 Properly initialize the fields of ChunkMeshNode.
Should fix #449
2024-06-06 09:12:48 +02:00
IntegratedQuantum
53730fff25 Store surrounding 3×3×3 chunks on edit.
Should make the world more resilient to terrain generation changes.
fixes #349
2024-06-05 20:14:27 +02:00
Archbirdplus
81112188d9 settings: don't overwrite cpuThreads 2024-06-05 17:20:01 +02:00
Archbirdplus
678a5c1d6c move cpuThreads inference to main.zig 2024-06-05 17:20:01 +02:00
Archbirdplus
11df21d2d2 settings: add cpuThreads option 2024-06-05 17:20:01 +02:00
IntegratedQuantum
503768b791 Draw the air fog when a block doesn't have its own fog.
fixes #403
fixes #335
2024-06-05 17:05:42 +02:00
IntegratedQuantum
cf60599c5f Optimize the chunkRequest protocol.
fixes #417
2024-06-05 16:43:25 +02:00
IntegratedQuantum
35ec0acdf2 Insert missing mutex.unlock();
Fixes #447
2024-06-05 16:20:33 +02:00
OneAvargeCoder193
da5a1c492e
Upgraded the trees and added falling trees (#441)
* Upgraded the trees and added falling trees

* Fix formatting

* Fixing some stuff i guess

* Changes
2024-06-05 15:25:49 +02:00
OneAvargeCoder193
7da56d5a68
Added stalagmite caves (#440)
* Added stalagmite caves

* Updated stalagmite texture

* Rename stalagmite to limestone and get rid of emissions

* Tweaks

* Changes
2024-06-05 15:23:47 +02:00
IntegratedQuantum
b6a69308ba Use one Mutex per node instead of locking a global mutex whenever a mesh is requested.
This reduces contention, causing a speedup in mesh generation and lighting.
2024-06-05 12:33:03 +02:00
IntegratedQuantum
c405f336dd Optimize canBeSeenThroughOtherBlock
It went from 11s down to just 3s at render distance 12.
2024-06-04 17:41:42 +02:00
IntegratedQuantum
cb2c7f07c3 Add a fast-path for sunlight propagation in uniform air chunks.
fixes #320, terrain generation in single-player is now ~30% faster.
2024-06-04 14:20:25 +02:00
IntegratedQuantum
9cacd64c4d Allow downscaling the resolution of the framebuffer.
fixes #99
2024-06-03 21:45:18 +02:00
IntegratedQuantum
6293db0ff8 Add mouse sensitivity setting (Till++ will be happy)
fixes #376
2024-06-03 19:53:06 +02:00
IntegratedQuantum
638de5e1df Regenerate all LODs whenever a biome was changed.
fixes #360
2024-06-03 19:18:50 +02:00
IntegratedQuantum
35f8060fd2 The StructureGenerator now generates structures in LOD2 more precisely and it also now considers structures from the chunk above it. 2024-06-02 20:40:11 +02:00
IntegratedQuantum
3a74300a43 JsonElement.get and .put can now handle Vector attributes.
fixes #430
2024-06-02 20:09:34 +02:00
OneAvargeCoder193
f339db4e69
Add ability to add stripes to biomes in the .json format (#432)
* terrain stripes

* fix

* Fixing up the code
2024-06-02 17:37:38 +02:00
IntegratedQuantum
13340d2956 Only show the invite button on the local client.
fixes #423
2024-06-02 12:24:47 +02:00
IntegratedQuantum
e8ad0a55db Transition to glMultiDrawElementsIndirect for chunk and transparent rendering.
Progress towards #429
2024-06-02 12:18:40 +02:00
IntegratedQuantum
c721169e31 Fix deadlock between server update and receive function 2024-06-01 20:42:32 +02:00
IntegratedQuantum
46fce9bd35 Fix maxImportantPacketSize to account for parts of the Ethernet header.
It was too high, causing fragmented packets and subsequent problems.

Fixes #405
2024-05-31 23:18:44 +02:00
IntegratedQuantum
8e94291f04 Add information about the client connection to the F7 menu. 2024-05-29 21:07:38 +02:00
IntegratedQuantum
ae0972c587 Prevent inviting an IP address twice, which may cause some issues.
Also fixes a memory leak of unconnected connections.
2024-05-28 19:57:13 +02:00
IntegratedQuantum
9d432fbb7b Add the invite command and allow starting/stopping time.
fixes #327
2024-05-28 16:34:31 +02:00
IntegratedQuantum
647cd924c5 Make the hotbar item slots transparent.
fixes #414
2024-05-28 15:59:51 +02:00
careeoki
b7f701caca
UI Texture Update (#406)
* Update UI textures

* Update Inventory UI textures

* Update heart textures

* New X texture

* Make Scrollbar thicker

* Revert previous commit

* Thicken creative inventory scrollbar again

* Change X again

---------

Co-authored-by: Archbirdplus <archbirdplus@gmail.com>
2024-05-28 11:21:59 +02:00
IntegratedQuantum
e696ce1185 Add time and tp command.
More progress for #327
2024-05-28 11:10:12 +02:00
IntegratedQuantum
e084709d9b Add the Command system with a simple help command.
Progress towards #327
2024-05-28 10:38:55 +02:00
IntegratedQuantum
36be82b7e8 fixes #337 2024-05-27 16:31:01 +02:00