Some rt changes

This commit is contained in:
Dynamitos
2025-01-02 14:28:31 +01:00
parent 382e2d30f5
commit eef78e8aa5
3 changed files with 33 additions and 25 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ TopLevelAS::TopLevelAS(PGraphics graphics, const Gfx::TopLevelASCreateInfo& crea
.instanceCustomIndex = i,
.mask = 0xff,
.instanceShaderBindingTableRecordOffset = i,
.flags = VK_GEOMETRY_INSTANCE_TRIANGLE_FACING_CULL_DISABLE_BIT_KHR,
.flags = 0,
.accelerationStructureReference = blas->getDeviceAddress(),
};
}