DirectX 12 Simple Animation Sample

twitterlinkedin

Purpose of the Sample:

This sample builds off of the DirectX 12 “Hello World” sample. It is based heavily on Frank Luna’s implementation from his book “3D Game Programming with DirectX 12”.
This sample demonstrates how to animate an object by uploading the elapsed time to the GPU for use in the vertex and fragment shaders.

CGame.h

CGame.cpp

UploadBuffer.h

VertexShader.hlsl

PixelShader.hlsl

Download Sample App

twitterlinkedin
Share It!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.