• Stars
    star
    807
  • Rank 56,489 (Top 2 %)
  • Language
    C++
  • License
    MIT License
  • Created almost 5 years ago
  • Updated almost 3 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Vulkan sample that demonstrates a Rasterization and Ray Tracing Hybrid Rendering Pipeline.

Hybrid Rendering

A Vulkan sample that demonstrates an integration of Ray Traced Shadows, Ambient Occlusion, Reflections and Global Illumination into a Deferred Rendering Pipeline.

Screenshots

HybridRendering

HybridRendering

HybridRendering

HybridRendering

HybridRendering

Usage

  1. Download the latest release here.
  2. Extract archive contents.
  3. Run HybridRendering.exe.

Controls

  • W/A/S/D - camera movement.
  • RMB - hold to look around.
  • G - toggle UI.
  • ESC - close application.

Building

Windows

Tested on: Windows 10 version 21H1

Prerequisites

  • MSVC 19.00 or higher
  • CMake 3.8 or higher
  • Vulkan SDK 1.2.189.2 or higher
git clone --recursive https://github.com/diharaw/HybridRendering.git
cd HybridRendering
mkdir build
cd build
cmake -G "Visual Studio 16 2019" ..

Note: To obtain the assets please download the release and copy the meshes and textures into the folder containing the built executable.

System Requirements

A GPU that supports the following Vulkan Extensions:

  • VK_KHR_ray_tracing_pipeline
  • VK_KHR_acceleration_structure
  • VK_EXT_descriptor_indexing

Requires the latest NVIDIA/AMD drivers.

Dependencies

License

Copyright (c) 2021 Dihara Wijetunga

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and 
associated documentation files (the "Software"), to deal in the Software without restriction, 
including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense,
and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, 
subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial
portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT 
LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

More Repositories

1

helios

Real-time unidirectional GPU path tracer using the cross-vendor Vulkan ray-tracing extensions.
C++
284
star
2

dw-sample-framework

A simple C++ framework for implementing graphics technique samples using OpenGL and Vulkan.
C
205
star
3

volumetric-clouds

GLSL
127
star
4

volumetric-fog

An OpenGL sample that demonstrates Volumetric Fog using a frustum-aligned voxel grid and compute shaders.
GLSL
107
star
5

bruneton-sky-model

An OpenGL implementation of Eric Bruneton's Precomputed Atmospheric Scattering paper.
GLSL
82
star
6

sky-models

A collection of various Sky Model implementations in OpenGL suitable for real-time rendering.
C++
76
star
7

lightmap-baking

An OpenGL sample demonstrating path traced lightmap baking on the CPU with Embree.
C++
58
star
8

gpu-particle-system

An OpenGL GPU accelerated particle system using Compute shaders and Indirect rendering.
C++
49
star
9

sdf-baking

An OpenGL sample that demonstrates baking SDFs and using them to add Soft Shadows and Ambient Occlusion to a rasterized scene.
C++
48
star
10

animation-system

An experiment on creating an animation system similar to Unreal Engine 4 from scratch.
C++
46
star
11

dw-thread-pool

A simple, header-only, dependency-free, C++ 11 based ThreadPool library.
C++
33
star
12

rasterator

Real-time software rasterizer written in C++ with windowing and model loading support.
C++
31
star
13

deferred-decals

A sample implementation of Screen Space Deferred Decals using OpenGL.
C++
28
star
14

fft-ocean-waves

An OpenGL demo implementing the FFT ocean wave simulation from Jerry Tessendorf's famous paper.
C++
26
star
15

physx-ragdoll

A sample demonstrating ragdoll physics using Nvidia PhysX.
C++
24
star
16

cascaded-shadow-maps

Cascaded Shadow Mapping sample written with the dwSampleFramework.
C++
20
star
17

asset-core

A command line tool that converts game assets into a simple binary format for fast loading.
C++
19
star
18

texture-space-decals

A method for baking persistent decals to textures using UV-space rasterization.
C++
19
star
19

gpu-path-tracer

A real-time OpenGL Compute shader based Progressive Path Tracer.
GLSL
18
star
20

area-light-shadows

A simple OpenGL sample of Percentage Closer Soft Shadows with directional and spot lights.
GLSL
15
star
21

reflective-shadow-maps

An OpenGL sample implementation of Reflective Shadow Maps.
C++
14
star
22

runtime-ibl

Runtime environment map prefiltering and spherical harmonics computation with OpenGL.
GLSL
14
star
23

meltdown

A Ludum Dare 49 Game.
C#
2
star
24

emo-lib

Bi-model Convolutional Neural Network based Emotion Classification library with GPU acceleration support.
CMake
2
star
25

ld53

C++
1
star