Skip to content

Commit

Permalink
Update AntiGravityPool_Fragment.glsl
Browse files Browse the repository at this point in the history
  • Loading branch information
erichlof authored May 22, 2024
1 parent aac7e1e commit 609a453
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shaders/AntiGravityPool_Fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -696,7 +696,7 @@ void main( void )
seed = uvec2(uFrameCounter, uFrameCounter + 1.0) * uvec2(gl_FragCoord);
// initialize rand() variables
randNumber = 0.0; // the final randomly-generated number (range: 0.0 to 1.0)
blueNoise = texelFetch(tBlueNoiseTexture, ivec2(mod(floor(gl_FragCoord.xy), 256.0)), 0).r;
blueNoise = texelFetch(tBlueNoiseTexture, ivec2(mod(floor(gl_FragCoord.xy), 128.0)), 0).r;

vec2 pixelOffset = vec2( tentFilter(rand()), tentFilter(rand()) ) * 0.1;

Expand Down

0 comments on commit 609a453

Please sign in to comment.