Skip to content

MeadowsJoe/DirectX12-Renderer-Game

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirectX 12 Renderer & Survival Game

C++ DirectX 12 HLSL

A 3D first-person survival game built directly against the DirectX 12 API in C++, with a custom render pipeline and hand-written HLSL shaders. No game engine.

Gameplay

🎥 Gameplay video

Highlights

  • Renders directly on the DirectX 12 API: command lists, descriptor heaps, resource barriers, and a custom render loop with no engine underneath.
  • Texture streaming with mip-mapping, plus first-person movement and a collision system.
  • Hand-written HLSL shaders: world-aligned vegetation billboarding, animated wind, atmospheric fog, and a day/night sky cycle.
  • Save and load of game state.

Tech stack

C++ · DirectX 12 · HLSL · Windows

Build & run

Requires: Windows and a DirectX 12 capable GPU.
git clone https://github.com/MeadowsJoe/<repo>.git
# open the Visual Studio solution and build (x64), or your build steps here

Full technical write-up

A detailed write-up of the rendering approach and shaders is in docs/technical-writeup.pdf.

Future work

  • Deferred or clustered shading for more dynamic lights.
  • Shadow mapping.
  • Frustum culling for larger scenes.

About

3D first-person survival game built directly against the DirectX 12 API, with custom HLSL shaders for wind, fog, and a day/night cycle.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors