From bde6fc9c8217d59be0783dde8b404251e6239ea3 Mon Sep 17 00:00:00 2001 From: Hendrik Brucker Date: Tue, 19 Apr 2022 19:48:25 +0200 Subject: Restructure and refine the noise module --- modules/noise/doc_classes/FastNoiseLite.xml | 8 +------- modules/noise/doc_classes/Noise.xml | 18 ++++++++++-------- modules/noise/doc_classes/NoiseTexture.xml | 11 +++++++++++ 3 files changed, 22 insertions(+), 15 deletions(-) (limited to 'modules/noise/doc_classes') diff --git a/modules/noise/doc_classes/FastNoiseLite.xml b/modules/noise/doc_classes/FastNoiseLite.xml index b6d91850c4..6ca4ba2d46 100644 --- a/modules/noise/doc_classes/FastNoiseLite.xml +++ b/modules/noise/doc_classes/FastNoiseLite.xml @@ -16,12 +16,9 @@ Maximum distance a point can move off of its grid position. Set to [code]0[/code] for an even grid. - + Return type from cellular noise calculations. See [enum CellularReturnType]. - - A [Gradient] which is used to map the luminance of each pixel to a color value. - Sets the maximum warp distance from the origin. @@ -69,9 +66,6 @@ The frequency for all noise types. Low frequency results in smooth noise while high frequency results in rougher, more granular noise. - - Determines whether the noise image returned by [method Noise.get_image] is calculated in 3d space. May result in reduced contrast. - The noise algorithm used. See [enum NoiseType]. diff --git a/modules/noise/doc_classes/Noise.xml b/modules/noise/doc_classes/Noise.xml index db0dec18d2..5af204575c 100644 --- a/modules/noise/doc_classes/Noise.xml +++ b/modules/noise/doc_classes/Noise.xml @@ -11,23 +11,24 @@ - + + Returns a 2D [Image] noise image. - + Returns the 1D noise value at the given (x) coordinate. - + @@ -35,14 +36,14 @@ Returns the 2D noise value at the given position. - + Returns the 2D noise value at the given position. - + @@ -51,19 +52,20 @@ Returns the 3D noise value at the given position. - + Returns the 3D noise value at the given position. - + - + + Returns a seamless 2D [Image] noise image. diff --git a/modules/noise/doc_classes/NoiseTexture.xml b/modules/noise/doc_classes/NoiseTexture.xml index 63630eccde..62a223b387 100644 --- a/modules/noise/doc_classes/NoiseTexture.xml +++ b/modules/noise/doc_classes/NoiseTexture.xml @@ -24,9 +24,20 @@ Strength of the bump maps used in this texture. A higher value will make the bump maps appear larger while a lower value will make them appear softer. + + A [Gradient] which is used to map the luminance of each pixel to a color value. + + + Determines whether mipmaps are generated for this texture. + Enabling this results in less texture aliasing, but the noise texture generation may take longer. + Requires (anisotropic) mipmap filtering to be enabled for a material to have an effect. + Height of the generated texture. + + Determines whether the noise image is calculated in 3D space. May result in reduced contrast. + If [code]true[/code], inverts the noise texture. White becomes black, black becomes white. -- cgit v1.2.3