summaryrefslogtreecommitdiff
path: root/modules/noise/noise.h
diff options
context:
space:
mode:
authorHendrik Brucker <hendrik.brucker@mail.de>2023-01-29 14:56:10 +0100
committerHendrik Brucker <hendrik.brucker@mail.de>2023-01-29 14:59:10 +0100
commitd44eb95e93d239e79477ad1fd882dbbe0cdebb92 (patch)
tree57272b0fcedd1ddca9ee2bc7a9fb44e1802262d1 /modules/noise/noise.h
parentd01ac9c73686fdf86f083f4d3ee1301bb54d855f (diff)
[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