Skip to content

JuanDiegoMontoya/Frogfood

Repository files navigation

Frogfood

A froggylicious renderer.

Features

  • Vulkan 1.3
  • Virtual shadow mapping (henceforth VSM shall stand for it and absolutely nothing else)
  • Meshlet rendering without mesh shaders
  • Visibility buffer deferred rendering (the scene is drawn to a 32-bit-per-pixel visibility buffer, then a standard G-buffer is generated)
  • Super basic physically-based shading
  • Granular culling:
    • Meshlets: hi-z and frustum culling
    • Triangles: frustum, back-facing, and small primitive culling
  • Bloom based on the implementation in Call of Duty: Advanced Warfare
  • Auto exposure based on vibes
  • Mediocre but not too terrible color handling and image formation
  • Epically fast glTF loading powered by fastgltf (on compilers that support std::execution::par (MSVC))
  • HDR display support and wide gamut rendering

OpenGL

This renderer was previously written in OpenGL 4.6. The last commit using OpenGL is 439be52. As of writing, all the mentioned features were supported in the OpenGL version (including mesh shader-less meshlet rendering and VSMs).

Building

Get a modern version of CMake and do the mkdir build && cd build && cmake .. thing after cloning this repo. All dependencies are vendored or fetched with FetchContent. Should work on any sufficiently modern desktop GPU on Windows and Linux (I only test on Windows however).

Pictures That Will Become Outdated Almost Immediately

A scene featuring the exterior of the namesake bistro from the famous Lumberyard Bistro model A showcase of basic editing features within the application's GUI. In the center is a viewport showing a large tree from the Lumberyard Bistro model. The tree and its surroundings are tinted by colored square tiles that increase in size with distance from the viewer. These square tiles are rendered when the debug toggle "Show Page Address" is enabled in the GUI.

Dependencies

Fetched

Vendored

Acknowledgements

Meshlet and visibility buffer rendering wouldn't have been possible without the early contributions by LVSTRI.

About

It's like dogfooding, but with frogs

Topics

Resources

License

Stars

Watchers

Forks

Languages