diff --git a/Assets/raytrace/build.md b/Assets/raytrace/build.md new file mode 100644 index 00000000..bd00308f --- /dev/null +++ b/Assets/raytrace/build.md @@ -0,0 +1,5 @@ +Build: +`node Kinc/make -g direct3d12 --raytrace dxr` + +Compile shader: +`.\dxc.exe -Zpr -Fo ..\..\Bundled\raytrace\raytrace.cso -T lib_6_3 .\raytrace.hlsl` diff --git a/Assets/raytrace/dxc.exe b/Assets/raytrace/dxc.exe new file mode 100644 index 00000000..0eaed52e Binary files /dev/null and b/Assets/raytrace/dxc.exe differ diff --git a/Assets/raytrace/dxcompiler.dll b/Assets/raytrace/dxcompiler.dll new file mode 100644 index 00000000..96255722 Binary files /dev/null and b/Assets/raytrace/dxcompiler.dll differ diff --git a/Assets/raytrace/dxil.dll b/Assets/raytrace/dxil.dll new file mode 100644 index 00000000..64e2916e Binary files /dev/null and b/Assets/raytrace/dxil.dll differ diff --git a/Assets/raytrace/license.md b/Assets/raytrace/license.md new file mode 100644 index 00000000..bc95e924 --- /dev/null +++ b/Assets/raytrace/license.md @@ -0,0 +1,8 @@ +Based on: https://github.com/microsoft/DirectX-Graphics-Samples/tree/master/Samples/Desktop/D3D12Raytracing + +Copyright (c) Microsoft. All rights reserved. +This code is licensed under the MIT License (MIT). +THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF +ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY +IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR +PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.