Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
Nelarius committed Jun 23, 2024
1 parent de57cfc commit a664308
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pt/deferred_renderer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ void DeferredRenderer::render(

const Extent2f framebufferSize = Extent2f(renderDesc.framebufferSize);
const std::uint32_t frameCount = mFrameCount++;
const glm::mat4 jitterMat = [this, framebufferSize, frameCount]() -> glm::mat4 {
const glm::mat4 jitterMat = [framebufferSize, frameCount]() -> glm::mat4 {
glm::mat4 jitterMat = glm::mat4(1.0f);
const glm::vec2 j = r2Sequence(frameCount, 1 << 20);
jitterMat[3][0] = (j.x - 0.5f) / framebufferSize.x;
Expand Down

0 comments on commit a664308

Please sign in to comment.