Git Product home page Git Product logo

virtualvistavulkan's Introduction

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

virtualvistavulkan's People

Contributors

romanlarionov avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.