forked from Dynamitos/Seele
Ray Tracing doesnt look like shit anymore
This commit is contained in:
1 parent
5fae4f02e8
commit
7f4d7c7f71
21 files changed
+360
-87
No files matched your search
@@ -149,6 +149,7 @@ void StaticMeshVertexData::updateBuffers() {
|
||||
.size = verticesAllocated * sizeof(Vector),
|
||||
.data = (uint8*)posData.data(),
|
||||
},
|
||||
.usage = Gfx::SE_BUFFER_USAGE_ACCELERATION_STRUCTURE_BUILD_INPUT_READ_ONLY_BIT_KHR,
|
||||
.name = "Positions",
|
||||
});
|
||||
normals = graphics->createShaderBuffer(ShaderBufferCreateInfo{
|
||||
|
||||
Reference in new issue
Block a user