DirectX Graphics Samples
Basic 3D Rendering
A foundational sample demonstrating how to set up a DirectX 12 device, create a swap chain, and render a simple triangle.
View SamplePhong Shading
Implement advanced lighting techniques with the Phong reflection model. This sample covers shaders, materials, and light sources.
View SampleCompute Shader Example
Explore the power of compute shaders for general-purpose GPU programming, such as image processing or physics simulations.
View SampleRay Tracing Introduction
A starting point for DirectX Raytracing (DXR). Learn to build basic raytracing pipelines and generate realistic reflections.
View SampleMesh Shaders Demo
Showcases the new mesh shader pipeline introduced in recent hardware, offering greater flexibility and performance for complex geometry.
View SampleTexture Mapping
Demonstrates various texture mapping techniques, including diffuse, specular, and normal mapping, for realistic surface appearances.
View Sample