IntegratedQuantum
49596020aa
Fix model caching.
2024-07-06 16:21:12 +02:00
IntegratedQuantum
7e3694f1c6
Display light and texture buffer sizes.
2024-07-06 15:01:36 +02:00
IntegratedQuantum
8616289b47
Add a depth prepass and fix occlusion culling boxes.
...
more progress for #133
2024-07-06 14:13:04 +02:00
IntegratedQuantum
62320b293f
Upload light data for greedy meshing.
...
more progress towards #133
2024-07-06 10:53:45 +02:00
IntegratedQuantum
90ed078945
Fix LOD borders by splitting the quads inside lod chunks when they cross a higher resolution chunk border.
2024-07-06 08:41:02 +02:00
IntegratedQuantum
d35bffc250
Store textures in a seperate buffer
...
progress towards #133
2024-07-05 22:24:51 +02:00
IntegratedQuantum
7d03067796
Implement the actual greedy meshing algorithm.
...
This is done by first sorting the quads by quad type and then merging them using a bitmask approach.
more progress towards #133
2024-07-05 15:41:03 +02:00
IntegratedQuantum
111179979d
Determine in which direction a given quad could be greedy-meshed.
2024-07-04 22:24:00 +02:00
IntegratedQuantum
b1bd04f1bc
Make it possible to draw larger quads (although all of them are drawn at a 1×1 size at the moment).
...
more progress towards #133
2024-07-04 21:14:11 +02:00
IntegratedQuantum
0cc05368cc
Read light in the fragment shader in preparation for greedy meshing.
...
A step towards #133
2024-07-04 20:24:08 +02:00
IntegratedQuantum
fbb5d133a9
Move light data into a separate buffer.
...
progress towards #133
2024-07-04 17:28:40 +02:00
IntegratedQuantum
117a1d7f71
Adjust structure chance in LOD.
...
follow-up to 2bc1292fc3ec50168dedfae94f01e2fcf3adc8e9
2024-07-04 11:27:32 +02:00
IntegratedQuantum
212b2f5b53
Filter degenerate quads, reducing total quad count in the base game from 266 to 250.
...
Degenerate quads were mainly created from the fence models.
Also fixed a bug with connections between fences.
fixes #280
2024-07-04 11:12:31 +02:00
IntegratedQuantum
be0406df09
Hotbar shortcut keys
...
fixes #343
2024-07-04 10:47:46 +02:00
IntegratedQuantum
45fed30069
Allow overwriting the block item texture.
...
fixes #345
2024-07-04 10:38:30 +02:00
IntegratedQuantum
337e014d88
Store settings and gui layout whenever it gets changed.
...
fixes #469
2024-07-04 10:24:57 +02:00
IntegratedQuantum
ac3847db79
Fix order of faces when drawing item textures.
...
This was working fine before due to a bug in the depth calculation that gave it negative depth values.
fixes #488
2024-07-03 22:11:46 +02:00
IntegratedQuantum
9d0f2fe681
Fix how fences/torches check neighboring blocks.
...
fixes #517
2024-07-03 21:21:28 +02:00
IntegratedQuantum
2bc1292fc3
Normalize structure chances if their sum is larger than one.
...
fixes #544
2024-07-03 21:09:23 +02:00
IntegratedQuantum
1f61ea0c37
Load music by ID from the assets folder and improve error handling when the file isn't found.
...
fixes #535
fixes #543
2024-07-03 17:22:07 +02:00
IntegratedQuantum
2e06b9d4af
Add a button to hide the GUI (F1)
...
fixes #470
2024-07-02 22:18:05 +02:00
IntegratedQuantum
78db8f0839
Interpolate the biome interpolation based on some weights, instead of choosing the closest one.
...
This allows making plateaus without having a ramp (from the other biome interpolation) leading up to it.
2024-07-02 20:06:26 +02:00
IntegratedQuantum
4343f6eb18
Fix flat terrain bug.
...
fixes #183
2024-07-02 11:38:16 +02:00
IntegratedQuantum
12eae52f99
Normalize movement direction to make diagonal movement as fast as straight movement.
...
fixes #523
2024-07-02 10:48:56 +02:00
IntegratedQuantum
732b4d4836
Replace grass_vegetation with air in LOD.
...
fixes #542
2024-07-02 10:31:59 +02:00
IntegratedQuantum
d2bc6e6428
Allow configuring leaf radius and tree height independently.
...
fixes #519
2024-07-02 10:23:31 +02:00
IntegratedQuantum
02fff0fd4c
Entity positions are now stored in their center instead of their bottom.
2024-07-01 23:54:34 +02:00
IntegratedQuantum
27d7b0c627
Prevent players from placing blocks inside of their own hitbox.
...
progress towards #90
To test other entities, their hitbox information would be needed.
2024-07-01 23:35:28 +02:00
IntegratedQuantum
36b56e9734
Sync client time more aggressively with server time.
2024-07-01 23:02:32 +02:00
IntegratedQuantum
07ede27823
Fix missing block warnings from the glass forest. Also make their stems opaque.
2024-07-01 17:07:44 +02:00
IntegratedQuantum
5f192f224f
Decrease the compression ratio of stored maps to improve their generation time.
...
helps with #513
2024-07-01 16:36:54 +02:00
archbirdplus
ad9cad6270
Settings: add FPS cap ( #532 )
...
* settings: add fpsCap
* fpsCap: convert to nanos correctly
* main.zig: use specific names for lastBeginRendering and frameTime
* physics/fps window: use real time between frames
* graphics menu: add fps slider
* fpsCap: round slider + fix formatter
* fpsCap: prevent overflow
* fpsCap: remove debug spam
* fpsCap setting: add 'Limit'
* debug menu: note fps limit
* fpsCap formatter: dupe constant string to prevent free failure
* debug menu: remove contradictory (vsync) (unlimited)
* debug menu: fix mem leak in fps format
* debug manu: simplify fps limit text allocation
2024-07-01 11:59:51 +02:00
careeoki
3956f07556
Marble caves + bricks ( #538 )
...
* Lower contrast of bricks + add marble and limestone bricks
* Add files via upload
* Add marble cabve
2024-07-01 10:22:11 +02:00
OneAvargeCoder193
87ccca5399
Added stalagmiteBlock to json to choose what stalagmites are made of ( #537 )
...
* Added stalagmiteBlock to json to choose what stalagmites are made of per biome
* Added stalagmiteBlock to json to choose what stalagmites are made of per biome
* Remove goofy ahh github stuff
2024-06-30 20:09:41 +02:00
IntegratedQuantum
25a7cf6764
Add ghost(no clip) and hyperspeed modes to movements.
...
Also makes default fly slower.
fixes #522
2024-06-30 11:21:36 +02:00
IntegratedQuantum
669ab890cc
Title bars can now be revealed by pressing a button in the pause menu.
...
This removes the ugly triangle from the top left of all windows and makes it harder to accidentally move around windows.
fixes #536
2024-06-30 11:00:25 +02:00
IntegratedQuantum
4d7192c2fe
Fix inconsistency in collision response.
...
Should fix #531
2024-06-28 22:35:20 +02:00
IntegratedQuantum
1a4576b937
Increase CaveMap cache size to match the comment. This also makes world generation more efficient by doing less duplicate work.
2024-06-28 10:41:32 +02:00
IntegratedQuantum
ff80474943
Consider the emissive light of blocks during destructive light updates.
...
fixes #530
2024-06-28 10:06:24 +02:00
careeoki
e0d2645f29
Mahogany trees, updated jungle (somewhat) ( #527 )
...
* Add mahogany textures
* Add mahogany blocsk
* Add mahogany to jungles
* Tweak mahogany textures
2024-06-28 09:56:53 +02:00
IntegratedQuantum
04f9bae91c
Remove redundant light refreshes.
...
helps with #277
2024-06-27 22:49:22 +02:00
IntegratedQuantum
d40da846a0
Fix synchronization issue.
...
fixes #528
2024-06-27 17:42:27 +02:00
IntegratedQuantum
9d47204ceb
Resample audio when the sample rate doesn't match.
...
a better solution than #529
2024-06-27 12:31:42 +02:00
IntegratedQuantum
6e241b9258
Use a read-write lock with read-priority for light data.
...
fixes #331
helps with #277
2024-06-26 15:53:14 +02:00
IntegratedQuantum
ae45b93a6c
Implement Raster Occlusion culling.
...
fixes #174
fixes #209
2024-06-26 09:45:53 +02:00
IntegratedQuantum
bb92b324c3
Improve opaque oak leaves to better match the color of the transparent variant.
2024-06-25 10:06:38 +02:00
IntegratedQuantum
85130a9233
Increase eye height to 1.7
...
Makes #514 less severe.
2024-06-24 23:30:49 +02:00
IntegratedQuantum
a80a9f90e8
Fix some fog parameters.
...
fixes #515
2024-06-24 23:08:53 +02:00
IntegratedQuantum
03b5ffcf3a
Fix the menu background at small resolution scale.
...
fixes #508
2024-06-24 22:55:54 +02:00
IntegratedQuantum
2bf01b73f3
Increase wavelength of mountain noise and remove clamping of mountain noise, to avoid flattening of peaks.
...
fixes #424
2024-06-24 22:41:39 +02:00