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 | |
|---|---|---|---|---|
| Dx12 Raytracing Tutorial - Runtime Warning | 2 | 1094 | October 12, 2021 | |
| Why I always show up this error?? | 4 | 1148 | June 14, 2022 | |
| Index buffer alignment causes BLAS build crash | 0 | 63 | September 26, 2024 | |
| Managing Memory for Acceleration Structures in DirectX Raytracing | 1 | 456 | February 1, 2021 | |
| Driver fails when creating DXR state object with 16bit float in payload | 0 | 78 | August 21, 2024 | |
| cudaImportExternalMemory return cudaErrorIllegalAddress | 0 | 61 | February 5, 2025 | |
| How to debug "dxc validation failed" error in DXR? | 0 | 645 | April 22, 2019 | |
| DXR HLSL intrinsic functions not defined | 2 | 588 | August 16, 2023 | |
| DirectX 12 - ShapDX - Texture problem. | 1 | 1543 | December 5, 2019 | |
| How to fix and debug misalignment errors that pop up sporadically? | 7 | 2353 | March 6, 2023 |