Skip to content

Commit

Permalink
Updated the readme, and improved the CopyDXC script
Browse files Browse the repository at this point in the history
  • Loading branch information
TheRealMJP committed May 1, 2017
1 parent 968c0f5 commit bf815e5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ See the full blog post for more info: [https://mynameismjp.wordpress.com/2016/03

The repository contains a Visual Studio 2015 project and solution file that's ready to build on Windows. All external dependencies are included in the repository, so there's no need to download additional libraries. Running the demo requires Windows 10, as well as a GPU that supports Feature Level 11_1.

# Using the Demo App
# Using The Demo App

To move the camera, press the W/S/A/D/Q/E keys. The camera can also be rotated by right-clicking on the window and dragging the mouse. To place new decals, click the middle mouse button. Everything else is controlled through the in-app settings UI.

# Notes About The Experimental Branch

This branch features a new, experimental version of the sample framework that uses full bindless descriptor access for all SRV's. It also supports using the new [open-source HLSL compiler](https://github.com/Microsoft/DirectXShaderCompiler) with support for Shader Model 6.0. Usage of the new compiler is controlled by the "EnableShaderModel6_" macro that's defined in AppConfig.h. The compiler itself isn't included in this repo, so you'll need to build it yourself. Once you've built it, run SampleFramework12\v1.01\Scripts\CopyDXC.bat from the HLSL compiler command prompt to copy the necessary files into the "Externals" directory referenced by this project.

To move the camera, press the W/S/A/D/Q/E keys. The camera can also be rotated by right-clicking on the window and dragging the mouse. To place new decals, click the middle mouse button. Everything else is controlled through the in-app settings UI.
6 changes: 3 additions & 3 deletions SampleFramework12/v1.01/Scripts/CopyDXC.bat
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@echo off

xcopy %~dp0..\..\..\..\DirectXShaderCompiler\Include\dxc\dxcapi.h %~dp0..\..\..\Externals\DXCompiler\Include\ /y
xcopy %~dp0..\..\..\..\DirectXShaderCompiler\build\Release\lib\dxcompiler.lib %~dp0..\..\..\Externals\DXCompiler\Lib\ /y
xcopy %~dp0..\..\..\..\DirectXShaderCompiler\build\Release\bin\dxcompiler.* %~dp0..\..\..\Externals\DXCompiler\Bin\ /y
xcopy %HLSL_SRC_DIR%\Include\dxc\dxcapi.h %~dp0..\..\..\Externals\DXCompiler\Include\ /y
xcopy %HLSL_BLD_DIR%\Release\lib\dxcompiler.lib %~dp0..\..\..\Externals\DXCompiler\Lib\ /y
xcopy %HLSL_BLD_DIR%\Release\bin\dxcompiler.* %~dp0..\..\..\Externals\DXCompiler\Bin\ /y

0 comments on commit bf815e5

Please sign in to comment.