Lighting still looks horrible, but whatever for now

This commit is contained in:
Dynamitos committed 2024-05-04 09:25:13 +02:00
1 parent 247d6a54fb
commit f0fd9a7ae7
24 files changed
+563 -386

No files matched your search

+1
View File
@@ -123,6 +123,7 @@ void* Buffer::mapRegion(uint64 regionOffset, uint64 regionSize, bool writeOnly)
.sharingMode = VK_SHARING_MODE_EXCLUSIVE,
};
VmaAllocationCreateInfo allocInfo = {
.flags = VMA_ALLOCATION_CREATE_HOST_ACCESS_RANDOM_BIT | VMA_ALLOCATION_CREATE_MAPPED_BIT,
.usage = VMA_MEMORY_USAGE_AUTO,
.requiredFlags = VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT,
};