DirectX11 Graphic Programming

DirectX11 rendering project with C++

Period: March 2, 2022 → June 21, 2022
Tools & Language: C++, DirectX11
State: Done
Description: A DirectX11 graphic rendering project
Participants: 1

Example screenshot illustrating Ray Tracing.

1. Overview

  • Platform: Windows
  • Technology Stack: DirectX 11, Visual Studio 2019, Git

2. Implemented Features

  • HLSL (High Level Shading Language) GPU Programming
    • Phong Lighting
    • Normal & Shadow Mapping
  • Model Loading & Animation
  • Cubemap Skybox

Demonstration Videos


3. Learning Points

  • Image-Based Lighting via Cubemaps
  • Ray Tracing & Shadow Rays
Simple illustration of Ray Tracing.
Ray Tracing with shadow rays.
  • Quality Increase, Not Performance
    • When adding Shadow Rays to the code compared to the original implementation, the image quality improves but requires more computation time.
    • In Ray Tracing, rendering involves determining visibility for each pixel and then shading it—two separate steps.
    • Because the process involves casting rays from the camera, tracking reflections, and performing multiple ray-geometry intersection tests, it’s more computationally expensive and time-consuming.