IntegratedQuantum
0008d7f1fa
Test how well a sparse 3d texture would work for storing and interpolating light data.
2023-11-20 13:03:28 +01:00
IntegratedQuantum
f6c2d17940
Make the parallax raymarching more efficient, by limiting the step-width to 1 and using some optimizations.
...
Also make the gpu code more resilient against infinite loops, allowing the removal of the iteration count.
2023-11-13 20:02:39 +01:00
IntegratedQuantum
fc70d99323
Prepare the meshing and shaders for light rendering, currently demonstrating just ambient occlusion.
...
Starts work on #61
2023-11-05 22:52:49 +01:00
IntegratedQuantum
c2a955f86c
Scale textures and models in LOD terrain to match their true scale.
...
This also adds some support for rendering larger volumes of voxel models at once. That might allow greeding meshing for voxel models.
Fixes #146
2023-10-22 19:34:03 +02:00
IntegratedQuantum
4a4af0964e
Fix shader compilation warning and work around weird shader miscompilation on my intel laptop.
2023-10-07 18:06:12 +02:00
IntegratedQuantum
c2a499183d
Apply dithering if opaque geometry gets partially transparent pixels from mipmapping.
2023-09-21 17:00:59 +02:00
IntegratedQuantum
f21231bc52
Fix LOD mesh borders by storing backfaces seperately from frontfaces (This increases the number of faces drawn, but in the future this can be optimized out).
2023-09-05 22:13:00 +02:00
IntegratedQuantum
1400141e94
Render item images for blocks.
2023-03-28 16:33:01 +02:00
IntegratedQuantum
929d296fdc
Rewrite mipmapping for the 10th time.
2023-01-21 19:05:02 +01:00
IntegratedQuantum
943d986e99
Mipmapping.
2023-01-14 20:22:57 +01:00
IntegratedQuantum
0ccc5ce428
Rotate the block selection for rotated blocks.
2022-12-20 13:37:16 +01:00
IntegratedQuantum
843d9645aa
Add more data to the voxel model that determines which of the side textures is used.
...
This allows to make voxel models more consistent in their texturing.
2022-12-19 17:16:10 +01:00
IntegratedQuantum
74589aa7e3
Move block texture data onto the gpu to fix texturing of rotated blocks.
2022-12-19 15:27:59 +01:00
IntegratedQuantum
a76fb8029e
Rotate voxel models in the vertex shader.
2022-12-17 12:03:43 +01:00
IntegratedQuantum
0d6303f7de
Move all chunk data into single SSBO.
...
Right now this doesn't change much, but in the future this will be helpful when(if?) I get started with multidraw and putting stuff like frustum culling onto the gpu.
2022-11-26 20:45:47 +01:00
IntegratedQuantum
28cb01353a
Optimize the hitbox of voxel models.
2022-11-10 16:28:30 +01:00
IntegratedQuantum
3415f36b05
Add support for voxel models using parallax raymarching.
2022-11-05 20:17:51 +01:00
IntegratedQuantum
7d70bca35c
Add bloom.
2022-10-18 18:56:02 +02:00
IntegratedQuantum
26f4dd2ff2
Fix chunk meshes at lod borders.
2022-10-01 16:46:58 +02:00
IntegratedQuantum
219957681d
Change the way how faces are handled (they are now stored in the chunk they are facing towards, instead of the chunk where the actual block is in).
2022-10-01 11:41:23 +02:00
IntegratedQuantum
e8e1fb401c
Forgot to commit shader changes.
2022-09-29 13:10:11 +02:00
IntegratedQuantum
95eb578719
Work on daylight and directional light.
2022-09-20 13:58:13 +02:00
IntegratedQuantum
e6659675b2
Add the chunk data structure for rendering and render chunks received from the network.
2022-09-14 22:09:26 +02:00
IntegratedQuantum
b12e61260c
image loading, chunks/chunk meshes, starting a bit on rendering.
2022-09-02 19:48:16 +02:00