Skip to content

romanlarionov/VirtualVistaVulkan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Virtual Vista Vulkan

This is my attempt at learning the Vulkan graphics API while writing a physically based rendering engine.

It currently supports:

  • analytic light sources
  • HDR image-based lighting
  • physically based material shading with a GGX Cook-Torrance BRDF
  • manual specification of models + lights to be loaded at initialization time
  • loading models with multiple submeshes
  • plug and play architecture

I mainly follow these course notes (by Epic) which details their method of calculating the reflectance equation through a split sum approximation.

A precomputation phase of generating convolved specular environment maps and cos(theta) x roughness BRDF LUT is left out to maintain engine design.

alt text

alt text

Installing

git clone --recursive https://github.com/romanlarionov/VirtualVistaVulkan.git

Build with CMake (It should just work)

any used shaders will have to be compiled prior to running executable

This has been tested and runs on Windows 10 with an Nvidia GTX 970

Dependencies

  • LunarG Vulkan SDK - all Vulkan API support
  • GLFW - surface and input
  • GLM - linear algebra
  • GLI - compressed HDR texture loading
  • SPIRV-Cross - runtime shader reflection
  • stb_image - uncompressed texture loading
  • tiny_obj_loader - OBJ + MTL loading

All of these are included with the repository when cloned recursively, with the exception of the LunarG Vulkan SDK. You would have to download and install that manually.

Assets

Referances