Skip to content

Commit

Permalink
fix SSAO error
Browse files Browse the repository at this point in the history
  • Loading branch information
ffreyer committed Jan 2, 2025
1 parent e8bf0fe commit d12c511
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GLMakie/src/postprocessing.jl
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ function ssao_postprocessor(framebuffer, shader_cache)
a = viewport(scene)[]
glScissor(ppu(minimum(a))..., ppu(widths(a))...)
# update uniforms
data1[:projection] = scene.camera.projection[]
data1[:projection] = Mat4f(scene.camera.projection[])
data1[:bias] = scene.ssao.bias[]
data1[:radius] = scene.ssao.radius[]
GLAbstraction.render(pass1)
Expand Down

0 comments on commit d12c511

Please sign in to comment.