Jarrod Doyle
|
881de4e3b9
|
Fix errors with new versions
|
2024-03-22 11:59:32 +00:00 |
Jarrod Doyle
|
7731acfad2
|
Extracted raycast DDA setup and step to functions
|
2023-07-29 12:35:24 +01:00 |
Jarrod Doyle
|
0f668084d3
|
Fixed issue with incorrect raycasts by changing ray-box algorithm and applying normal offset
|
2023-07-28 17:04:48 +01:00 |
Jarrod Doyle
|
5824bea07e
|
Remove old commented code
|
2023-07-05 14:02:41 +01:00 |
Jarrod Doyle
|
ebe853c105
|
Add brickmap/grid unpack shader
|
2023-07-05 14:01:14 +01:00 |
Jarrod Doyle
|
460157acc2
|
Removed unused shader
|
2023-06-29 09:26:42 +01:00 |
Jarrod Doyle
|
8470507391
|
Rename world_state.brickmap_cache_dims
|
2023-06-27 20:35:22 +01:00 |
Jarrod Doyle
|
eb6b530080
|
Fix incorrect brickmap index in HitInfo result
|
2023-05-06 12:27:28 +01:00 |
Jarrod Doyle
|
2cfea8e440
|
Add comments to raycast shader
|
2023-05-04 11:44:55 +01:00 |
Jarrod Doyle
|
c09014e34e
|
Simplified ray stepping
|
2023-05-04 11:28:07 +01:00 |
Jarrod Doyle
|
a01848a7f7
|
Store brickmap index in HitInfo to avoid recalculating it later
|
2023-05-04 10:59:12 +01:00 |
Jarrod Doyle
|
5f0ea3fa03
|
Correctly index shading table in shader
|
2023-05-04 10:50:00 +01:00 |
Jarrod Doyle
|
0e1921d32d
|
Make max ray depth for grids and bricks more accurate
|
2023-05-03 15:57:31 +01:00 |
Jarrod Doyle
|
af0ab3bb66
|
Add basic CPU to GPU streaming system
|
2023-05-03 14:44:42 +01:00 |
Jarrod Doyle
|
b857b5a157
|
Rewrite raycast shader to take larger steps when encountering empty chunks
|
2023-04-29 14:48:24 +01:00 |
Jarrod Doyle
|
2555ec55b4
|
Start work on brickgrids
|
2023-04-25 13:54:33 +01:00 |
Jarrod Doyle
|
4091686b09
|
More shader cleanup
|
2023-04-25 13:18:19 +01:00 |
Jarrod Doyle
|
2117fbb938
|
Remove unused shader code
|
2023-04-25 12:58:25 +01:00 |
Jarrod Doyle
|
1823d8b52c
|
Add initial multi-brickmap support
|
2023-04-25 12:23:55 +01:00 |
Jarrod Doyle
|
1d126eba10
|
Shader now considers the brickmap base shading table offset
|
2023-04-24 20:20:38 +01:00 |
Jarrod Doyle
|
225c76b1a8
|
Add a basic brickmap shading table
|
2023-04-24 19:34:19 +01:00 |
Jarrod Doyle
|
6be2dd8054
|
Begin using basic brickmap. Doesn't include shading table
|
2023-04-24 17:17:56 +01:00 |
Jarrod Doyle
|
249ab27777
|
Make Renderer a trait and implement it for VoxelRenderer
|
2023-04-24 13:52:38 +01:00 |
Jarrod Doyle
|
9554f3ba7f
|
Integrate camera system
|
2023-04-18 17:06:59 +01:00 |
Jarrod Doyle
|
519111d744
|
Delete old shadertoy based branchless dda shader
|
2023-04-18 10:56:46 +01:00 |
Jarrod Doyle
|
c44f32bf8d
|
Add a voxel volume shader
|
2023-04-18 10:55:48 +01:00 |
Jarrod Doyle
|
33f3aae349
|
Add a simple voxel raycast compute shader
|
2023-04-08 21:54:20 +01:00 |
Jarrod Doyle
|
5ad6b4dc1c
|
Add a simple texture color change compute shader
|
2023-04-08 21:54:20 +01:00 |
Jarrod Doyle
|
9cf17a8066
|
Update shader and renderer to use a dummy render texture
|
2023-04-08 21:54:20 +01:00 |
Jarrod Doyle
|
1b0e1f4bce
|
Add basic vertex and fragment shader
|
2023-04-08 21:54:19 +01:00 |