Skip to content

Commit

Permalink
initial work on ssao
Browse files Browse the repository at this point in the history
add fragment version and remove shader compilation errors

fine tune some settings

fine tune some settings v2

command options for mesh and use find uniforms on older glsl versions
  • Loading branch information
Janos95 committed Aug 22, 2020
1 parent 9db2614 commit b1dc723
Show file tree
Hide file tree
Showing 20 changed files with 693,110 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ option(WITH_PICKING_EXAMPLE "Build Picking example" OFF)
option(WITH_PRIMITIVES_EXAMPLE "Build Primitives example" OFF)
option(WITH_RAYTRACING_EXAMPLE "Build Ray Tracing example" OFF)
option(WITH_SHADOWS_EXAMPLE "Build Shadow Mapping example" OFF)
option(WITH_SSAO_EXAMPLE "Build Screen Space Ambient Occlusion Example" OFF)
option(WITH_TEXT_EXAMPLE "Build Text example (requires some TTF font plugin)" OFF)
cmake_dependent_option(WITH_TEXTUREDTRIANGLE_EXAMPLE "Build TexturedTriangle example (requires some TGA importer plugin)" OFF "NOT MAGNUM_TARGET_GLES" OFF)
option(WITH_TRIANGLE_EXAMPLE "Build Triangle example" ON)
Expand Down
4 changes: 4 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,10 @@ if(WITH_SHADOWS_EXAMPLE)
add_subdirectory(shadows)
endif()

if(WITH_SSAO_EXAMPLE)
add_subdirectory(ssao)
endif()

if(WITH_TEXT_EXAMPLE)
add_subdirectory(text)
endif()
Expand Down
1 change: 1 addition & 0 deletions src/ssao/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/cmake-*
Loading

0 comments on commit b1dc723

Please sign in to comment.