summaryrefslogtreecommitdiff
path: root/modules/noise/noise.h
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2023-01-30 10:00:58 +0100
committerRémi Verschelde <rverschelde@gmail.com>2023-01-30 10:00:58 +0100
commit3c0daf06cf1b9b3c781d48362b223d50f7da9094 (patch)
treea6aacffd3ace4d8c4cecd1e4f72a89b8889586d1 /modules/noise/noise.h
parenta2817eca03797c0f9fdb76bc0bb954befe856095 (diff)
parentd44eb95e93d239e79477ad1fd882dbbe0cdebb92 (diff)
Merge pull request #72310 from Geometror/allow-disabling-noise-normalization
[Noise/NoiseTexture2D] Allow disabling normalization
Diffstat (limited to 'modules/noise/noise.h')
-rw-r--r--modules/noise/noise.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/noise/noise.h b/modules/noise/noise.h
index 8f8ecf29a5..f7e615c2aa 100644
--- a/modules/noise/noise.h
+++ b/modules/noise/noise.h
@@ -233,8 +233,8 @@ public:
virtual real_t get_noise_3dv(Vector3 p_v) const = 0;
virtual real_t get_noise_3d(real_t p_x, real_t p_y, real_t p_z) const = 0;
- virtual Ref<Image> get_image(int p_width, int p_height, bool p_invert = false, bool p_in_3d_space = false) const;
- virtual Ref<Image> get_seamless_image(int p_width, int p_height, bool p_invert = false, bool p_in_3d_space = false, real_t p_blend_skirt = 0.1) const;
+ virtual Ref<Image> get_image(int p_width, int p_height, bool p_invert = false, bool p_in_3d_space = false, bool p_normalize = true) const;
+ virtual Ref<Image> get_seamless_image(int p_width, int p_height, bool p_invert = false, bool p_in_3d_space = false, real_t p_blend_skirt = 0.1, bool p_normalize = true) const;
};
#endif // NOISE_H