I just finished the DXR tutorial series, after which I decided to implement DXR on my current DX12 rendering engine. However I seemed to have run into a few issues. First, D3D12 keeps reporting an error that the StartAddressInBytes should be 64 bytes aligned, however whenever I implement the alignment, my closest hit shader gets ignored. Second, no matter what I enter as the world matrix for my entity in the top level acceleration structure instance, it always gets instantiated at (0,0,0). Third, no matter how many instances I add to the acceleration structure, only the first one gets instantiated. Any suggestions on what might be causing these problems?
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
DirectX 12 - ShapDX - Texture problem. | 1 | 1482 | December 5, 2019 | |
Dx12 Raytracing Tutorial - Runtime Warning | 2 | 1030 | October 12, 2021 | |
Enhanced Barriers Support | 1 | 161 | December 17, 2024 | |
Managing Memory for Acceleration Structures in DirectX Raytracing | 1 | 423 | February 1, 2021 | |
First time shader performance issue and Performance spikes in DirectCompute | 1 | 1448 | April 8, 2014 | |
DispatchRays not working. | 1 | 1134 | April 26, 2019 | |
DirectX 12 Nvidia driver crash | 1 | 2873 | December 28, 2016 | |
Directx12 texture layout support | 1 | 1918 | December 24, 2015 | |
GTX970M driver issues. | 1 | 1547 | April 13, 2016 | |
VXGI crash when used with DX12 | 0 | 1079 | March 9, 2017 |