Bulk update NvPro-Samples 03/18/21
This commit is contained in:
parent
a2b80ab819
commit
2da588b7e6
113 changed files with 3529 additions and 1508 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Ray Tracing Animation - Tutorial
|
||||
# Ray Tracing Animation - Tutorial
|
||||
|
||||

|
||||
|
||||
|
|
@ -122,7 +122,7 @@ This is absolutely needed, since otherwise the TLAS cannot be updated.
|
|||
void HelloVulkan::createTopLevelAS()
|
||||
{
|
||||
m_tlas.reserve(m_objInstance.size());
|
||||
for(int i = 0; i < static_cast<int>(m_objInstance.size()); i++)
|
||||
for(uint32_t i = 0; i < static_cast<uint32_t>(m_objInstance.size()); i++)
|
||||
{
|
||||
nvvk::RaytracingBuilder::Instance rayInst;
|
||||
rayInst.transform = m_objInstance[i].transform; // Position of the instance
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue