Skip to content

Commit

Permalink
sqeezing out some performance
Browse files Browse the repository at this point in the history
  • Loading branch information
DrDesten committed Jan 24, 2022
1 parent 30d5556 commit 5cd233a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/lib/math.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ float ign(vec2 co) { // Interlieved Gradient Noise, very noice noise ( ͡° ͜ʖ
}

float ditherColor(vec2 co) {
return Bayer8(floor(co)) * (1./256) - (0.5/256);
return ign(floor(co)) * (1./256) - (0.5/256);
}

float checkerboard(vec2 co) {
Expand Down

0 comments on commit 5cd233a

Please sign in to comment.