top of page

Render Graph rasterizer

Features

  • Shadow mapped shadows
  • Postprocessing effects
  • Render graph
  • GLTF model loading and rendering

Team

  • 1 programmer

Tech

  • DirectX 12
  • C++
This render graph rasterizer is a personal DirectX 12 rendering project I started developing in 2022 to learn more about shadow mapping and the render graph. the project was also my first introduction to the GLTF model format

download

github.png

The render graph

setting up resources and passes

In the project I made it easy to create render target resources and setup render passes with them.
Each pass has some default connection points that resources can get bound to, like "input" and "output".
renderPassGraph.cpp line 22 - 83.

Other than render target resources, there are also constant buffer resources that act like global buffers, like the camera buffer, which can get used by any render job in the graph.
The implementation of this is not ideal, since I only added it to the project later, so I will have to improve this in a new project at some point.
renderer.cpp line 49
 
cameraBuffer.PNG

setting up Jobs

To use the passes to render stuff I have setup a job system, which allows you to easily create rendering jobs and add them to specific render passes.

From drawables you can create jobs for a render pass or shadow projection pass. You can also set a buffer update for a constant buffer specific to that job, like an MVP matrix.
passesSetup.PNG
job1.PNG

Bart van Dongen

©2022 by Bart van Dongen. Created with Wix.com

bottom of page