Jarrod Doyle
|
6d9fc9b0b8
|
Use cache index to place shader table values
|
2023-05-04 16:16:04 +01:00 |
Jarrod Doyle
|
0625d2e264
|
Correctly calculate chunk index when processing the load queue
|
2023-05-04 16:14:54 +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
|
53ccebf4a6
|
Add brickmaps to the cache sequentially
|
2023-05-04 10:51:47 +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
|
66dfffd78b
|
Only upload modified parts of brickmap buffers
|
2023-05-03 15:10:18 +01:00 |
Jarrod Doyle
|
af0ab3bb66
|
Add basic CPU to GPU streaming system
|
2023-05-03 14:44:42 +01:00 |
Jarrod Doyle
|
3fb089d392
|
Remove unnecessary New function from Brickmap uniform struct
|
2023-04-29 14:51:35 +01:00 |
Jarrod Doyle
|
b51f0b42e2
|
Revert brickmap sphere colour changes
|
2023-04-29 14:50:59 +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
|
63e1fd94bd
|
Simple framerate logging
|
2023-04-29 10:30:49 +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
|
5914efaea8
|
Remove unused code
|
2023-04-24 14:01:36 +01:00 |
Jarrod Doyle
|
249ab27777
|
Make Renderer a trait and implement it for VoxelRenderer
|
2023-04-24 13:52:38 +01:00 |
Jarrod Doyle
|
a0df8d2bfc
|
Implement Debug for Texture and TextureBuilder
|
2023-04-24 13:50:22 +01:00 |
Jarrod Doyle
|
057d849e24
|
Make CameraController public
|
2023-04-24 13:47:59 +01:00 |
Jarrod Doyle
|
55b79f0b39
|
Fix voxel sphere offset
|
2023-04-24 09:49:07 +01:00 |
Jarrod Doyle
|
230024ac63
|
Move app and camera to core module
|
2023-04-24 09:28:33 +01:00 |
Jarrod Doyle
|
a94932836f
|
Moved renderer to render module
|
2023-04-24 09:24:22 +01:00 |
Jarrod Doyle
|
40cdd5766d
|
Merge branch 'renderer-refactor'
|
2023-04-23 10:26:45 +01:00 |
Jarrod Doyle
|
bbc43b53fd
|
Remove unused imports
|
2023-04-23 09:56:48 +01:00 |
Jarrod Doyle
|
4f8602c48e
|
Move camera out of renderer
|
2023-04-21 12:53:42 +01:00 |
Jarrod Doyle
|
c6932e6646
|
Use bind group and bind group layout builders
|
2023-04-21 12:29:46 +01:00 |
Jarrod Doyle
|
20aeaa304d
|
Add bind group and bind group layout builders
|
2023-04-21 12:29:45 +01:00 |
Jarrod Doyle
|
b73d9b8f2b
|
Clamp camera pitch between -85 and 85 degrees
|
2023-04-21 12:29:45 +01:00 |
Jarrod Doyle
|
4f4f3bced1
|
Clamp camera pitch between -85 and 85 degrees
|
2023-04-21 10:14:05 +01:00 |
Jarrod Doyle
|
fddb07d51e
|
Move texture and context structures to new Render module
|
2023-04-18 21:57:28 +01:00 |
Jarrod Doyle
|
9554f3ba7f
|
Integrate camera system
|
2023-04-18 17:06:59 +01:00 |
Jarrod Doyle
|
1d26c78b3e
|
Add simple camera system
|
2023-04-18 17:06:33 +01:00 |
Jarrod Doyle
|
64b0c9d308
|
Added frame delta time calculation
|
2023-04-18 17:04:55 +01:00 |
Jarrod Doyle
|
528f866311
|
Add vscode debug launch configurations
|
2023-04-18 11:04:40 +01:00 |
Jarrod Doyle
|
519111d744
|
Delete old shadertoy based branchless dda shader
|
2023-04-18 10:56:46 +01:00 |
Jarrod Doyle
|
892747d6c4
|
Begin using the voxel volume shader
|
2023-04-18 10:56:17 +01:00 |
Jarrod Doyle
|
c44f32bf8d
|
Add a voxel volume shader
|
2023-04-18 10:55:48 +01:00 |
Jarrod Doyle
|
900f9f0cea
|
Add glam to project
|
2023-04-18 10:54:22 +01:00 |
Jarrod Doyle
|
7d29cdf86a
|
Texture views take dimension from texture dimension
|
2023-04-18 10:42:11 +01:00 |
Jarrod Doyle
|
e13aab1808
|
Use the voxel raycast shader
|
2023-04-08 21:54:20 +01:00 |
Jarrod Doyle
|
33f3aae349
|
Add a simple voxel raycast compute shader
|
2023-04-08 21:54:20 +01:00 |
Jarrod Doyle
|
2887a0a0af
|
Use compute shader to change texture
|
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
|
94ade95743
|
Add shader stage visibility and texture usage to TextureBuilder
|
2023-04-08 21:54:20 +01:00 |