Skip to content

Commit

Permalink
Remove unused shader function
Browse files Browse the repository at this point in the history
  • Loading branch information
davepagurek authored Oct 12, 2023
1 parent cab0eae commit 96ffdb7
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/webgl/shaders/filters/blur.frag
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@ uniform vec2 direction;
uniform vec2 canvasSize;
uniform float radius;

float random2 (vec2 st) {
return fract(sin(dot(st.xy, vec2(12.9898,78.233))) *
43758.5453123);
}

float random(vec2 p) {
vec3 p3 = fract(vec3(p.xyx) * .1031);
p3 += dot(p3, p3.yzx + 33.33);
Expand Down

0 comments on commit 96ffdb7

Please sign in to comment.