Skip to content

Commit

Permalink
fix: jfa glsl shader issue
Browse files Browse the repository at this point in the history
  • Loading branch information
hoffstadt committed Jun 4, 2024
1 parent 562037b commit 8eea0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/glsl/jumpfloodalgo.comp
Original file line number Diff line number Diff line change
Expand Up @@ -75,5 +75,5 @@ void main()
curr = jump(curr, tMin, jumpDist * ivec2(-1, +1)); // nw
outColor = vec2(curr.x, curr.y);

imageStore(outputImage, tMin, outColor);
imageStore(outputImage, tMin, vec4(outColor, 0, 0));
}

0 comments on commit 8eea0d0

Please sign in to comment.