Merge pull request #4200 from aws-lumberyard-dev/Atom/dmcdiar/ATOM-16437

Instance the ray tracing BLAS objects
This commit is contained in:
dmcdiarmid-ly
2021-09-20 13:42:47 -07:00
committed by GitHub
3 changed files with 71 additions and 9 deletions
@@ -951,7 +951,7 @@ namespace AZ
subMeshes.push_back(subMesh);
}
rayTracingFeatureProcessor->SetMesh(m_objectId, subMeshes);
rayTracingFeatureProcessor->SetMesh(m_objectId, m_model->GetModelAsset()->GetId(), subMeshes);
}
void MeshDataInstance::SetSortKey(RHI::DrawItemSortKey sortKey)