mirror of
https://github.com/bevyengine/bevy
synced 2024-12-04 02:19:15 +00:00
Grow amount of taps slightly faster with intensity
This commit is contained in:
parent
cc22775658
commit
16c3d04635
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ fn fetch_transmissive_background(offset_position: vec2<f32>, frag_coord: vec3<f3
|
|||
let blur_intensity = (perceptual_roughness * perceptual_roughness) / distance;
|
||||
|
||||
// Number of taps scale with blur intensity
|
||||
let num_taps = i32(max(min(sqrt(blur_intensity) * 5.0, 1.0) * f32(MAX_TRANSMISSIVE_TAPS), 1.0));
|
||||
let num_taps = i32(max(min(sqrt(blur_intensity) * 7.0, 1.0) * f32(MAX_TRANSMISSIVE_TAPS), 1.0));
|
||||
let num_spirals = (num_taps >> 3u) + 1;
|
||||
let random_angle = interleaved_gradient_noise(frag_coord.xy);
|
||||
#ifdef TAA
|
||||
|
|
Loading…
Reference in a new issue