diff --git a/Cargo.lock b/Cargo.lock index 718a167..4a245ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4220,7 +4220,7 @@ dependencies = [ [[package]] name = "simdnoise" version = "3.1.7" -source = "git+https://github.com/valadaptive/rust-simd-noise?rev=e5d6174#e5d617498dee5bfce5488e88929a0c9104b0b158" +source = "git+https://github.com/valadaptive/rust-simd-noise?rev=8308fd4#8308fd4f6ce6c128b288d360284c14cbed5c9069" dependencies = [ "simdeez", ] diff --git a/crates/ntscrs/Cargo.toml b/crates/ntscrs/Cargo.toml index 70677ca..e0cc775 100644 --- a/crates/ntscrs/Cargo.toml +++ b/crates/ntscrs/Cargo.toml @@ -9,7 +9,7 @@ repository = "https://github.com/valadaptive/ntsc-rs/tree/main/crates/ntscrs" glam = "0.29.2" rand = { version = "0.8.5", default-features = false } rand_xoshiro = "0.6.0" -simdnoise = { git = "https://github.com/valadaptive/rust-simd-noise", rev = "e5d6174" } +simdnoise = { git = "https://github.com/valadaptive/rust-simd-noise", rev = "8308fd4" } num-traits = "0.2" macros = {path = "../macros"} siphasher = "1.0.0" diff --git a/crates/ntscrs/src/ntsc.rs b/crates/ntscrs/src/ntsc.rs index b5dab39..fe866ee 100644 --- a/crates/ntscrs/src/ntsc.rs +++ b/crates/ntscrs/src/ntsc.rs @@ -532,6 +532,7 @@ fn video_noise_line( // Yes, they got the lacunarity backwards by making it apply to frequency instead of scale. // 2.0 *halves* the scale each time because it doubles the frequency. .with_lacunarity(2.0) + .with_gain(1.0) .generate_into(scratch); row.iter_mut().enumerate().for_each(|(x, pixel)| {