Skip to content

Commit 74d87f6

Browse files
author
nekocode
committed
Modify voronoi filter's some args
1 parent eb2c257 commit 74d87f6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/res/raw/voronoi_buf_a.fsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ vec4 GenerateSeed (in vec2 fragCoord)
2525
float dR = grayScale(texture2D( iChannel0, uv + dataStep.xz ));
2626
float dU = grayScale(texture2D( iChannel0, uv - dataStep.zy ));
2727
float dD = grayScale(texture2D( iChannel0, uv + dataStep.zy ));
28-
float w = float( d*0.999 > max(max(dL, dR), max(dU, dD)) );
28+
float w = float( d*0.99 > max(max(dL, dR), max(dU, dD)) );
2929

3030
w = max(w, texture2D( iChannel1, uv ).w*.9); // get some from previous frame
3131

0 commit comments

Comments
 (0)