Skip to content

Commit

Permalink
Implement GPU frustum culling
Browse files Browse the repository at this point in the history
Add frustum culling in compute shaders to the material system. This will use sphere<>frustum culling and output the correct draw commands into the buffer for each viewframe (one view in any given frame buffered by the material system). Id 0 is reserved for no-command and will result in early return in the shader.
  • Loading branch information
VReaperV committed Jul 27, 2024
1 parent f960177 commit 37b6118
Show file tree
Hide file tree
Showing 20 changed files with 1,204 additions and 71 deletions.
3 changes: 3 additions & 0 deletions src.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,9 @@ set(RENDERERLIST
set(GLSLSOURCELIST
${ENGINE_DIR}/renderer/glsl_source/material_vp.glsl
${ENGINE_DIR}/renderer/glsl_source/material_fp.glsl
${ENGINE_DIR}/renderer/glsl_source/cull_cp.glsl
${ENGINE_DIR}/renderer/glsl_source/clearSurfaces_cp.glsl
${ENGINE_DIR}/renderer/glsl_source/processSurfaces_cp.glsl
${ENGINE_DIR}/renderer/glsl_source/skybox_vp.glsl
${ENGINE_DIR}/renderer/glsl_source/ssao_fp.glsl
${ENGINE_DIR}/renderer/glsl_source/ssao_vp.glsl
Expand Down
Loading

0 comments on commit 37b6118

Please sign in to comment.