From 649ec32e4747c2f3cb3c3ce6f84888f34f9fd2cb Mon Sep 17 00:00:00 2001 From: catboxanon <122327233+catboxanon@users.noreply.github.com> Date: Sun, 20 Aug 2023 07:47:37 -0400 Subject: [PATCH] extra noise dev note --- Features.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Features.md b/Features.md index b67eb8c..377211d 100644 --- a/Features.md +++ b/Features.md @@ -780,4 +780,6 @@ Extra noise = 0 | Extra noise = 0.2 :-------------------------:|:-------------------------: [![without](https://user-images.githubusercontent.com/122327233/260556373-9257aa18-dfc8-49f6-9984-a0a1f430c029.png)](https://user-images.githubusercontent.com/122327233/260556373-9257aa18-dfc8-49f6-9984-a0a1f430c029.png) | [![with](https://user-images.githubusercontent.com/122327233/260556387-0c6df12c-7412-43d5-84d2-2a69ad6152c4.png)](https://user-images.githubusercontent.com/122327233/260556387-0c6df12c-7412-43d5-84d2-2a69ad6152c4.png) -Note that the previous setting implemented at the time (`Noise multiplier for img2img`) technically achieves the same effect, but as noted in the name *only* applies to img2img (not hires fix), and due to how that parameter functions it is very sensitive, realisticly only useful in a range of `1` to `1.1`. For almost all operations it would be suggested to use the new `Extra noise` parameter instead. \ No newline at end of file +Note that the previous setting implemented at the time (`Noise multiplier for img2img`) technically achieves the same effect, but as noted in the name *only* applies to img2img (not hires fix), and due to how that parameter functions it is very sensitive, realisticly only useful in a range of `1` to `1.1`. For almost all operations it would be suggested to use the new `Extra noise` parameter instead. + +For developers, a callback also exists (`on_extra_noise`). Here is an example of use that makes the region to add noise to maskable. https://gist.github.com/catboxanon/69ce64e0389fa803d26dc59bb444af53 \ No newline at end of file