Reworking tangent lighting

This commit is contained in:
Dynamitos committed 2024-12-21 20:47:57 +01:00
1 parent 57d90928bf
commit 5fae4f02e8
15 files changed
+121 -129

No files matched your search

@@ -178,9 +178,9 @@ void DepthCullingPass::render() {
command->bindDescriptor({viewParamsSet, vertexData->getVertexDataSet(), vertexData->getInstanceDataSet(), set});
VertexData::DrawCallOffsets offsets = {
.instanceOffset = 0,
.floatOffset = 0,
.samplerOffset = 0,
.textureOffset = 0,
.samplerOffset = 0,
.floatOffset = 0,
};
command->pushConstants(Gfx::SE_SHADER_STAGE_TASK_BIT_EXT | Gfx::SE_SHADER_STAGE_VERTEX_BIT, 0, sizeof(VertexData::DrawCallOffsets),
&offsets);