
This sample shows how to combine AMD FidelityFX Stochastic Screen Space Reflections (SSSR) with ray tracing in order to create high quality reflections.
HelloD3D12 is a small, introductory Direct3D® 12 sample, which shows how to set up a window and render a textured quad complete with proper uploading handling, multiple frames queued and constant buffers.
View HelloD3D12 sample on GitHubThere are three samples with increasing complexity.
Common functionality, like window creation, present handling is part of hellod3d12\src\D3D12Sample.cpp
.
The rest is scaffolding of very minor interest; ImageIO
has some helper classes to load an image from disk using WIC, Window
contains a class to create a Win32 window.
The samples are:
D3D12Quad
: Renders a quad. This is the most basic sample.D3D12AnimatedQuad
: Animates the quad by using a constant buffer.D3D12TexturedQuad
: Adds a texture to the animated quad sample.upload
heap. Placing them in the upload heap is best if the buffers are read once.DEBUG
configuration will automatically enable the debug layers to validate the API usage. Check the source code for details, as this requires the graphics tools to be installed.This sample shows how to combine AMD FidelityFX Stochastic Screen Space Reflections (SSSR) with ray tracing in order to create high quality reflections.
This sample demonstrates how to combine ray traced shadows and rasterized shadow maps together to achieve high quality and performance.