diff options
| author | Neil Graham | 2018-02-21 11:43:58 +1300 |
|---|---|---|
| committer | Neil Graham | 2018-02-21 11:43:58 +1300 |
| commit | bc7db7a08dd2e645fbe3f6fda4771fb8f3b8bedf (patch) | |
| tree | ff2b4e4c54ed941abd500aa19b13d73e4fd9074f /core/image.h | |
| parent | e3be5bb61d7f8850c1d7a43dbc18f37107c2e317 (diff) | |
| download | godot-bc7db7a08dd2e645fbe3f6fda4771fb8f3b8bedf.tar.gz godot-bc7db7a08dd2e645fbe3f6fda4771fb8f3b8bedf.tar.zst godot-bc7db7a08dd2e645fbe3f6fda4771fb8f3b8bedf.zip | |
Diffstat (limited to 'core/image.h')
| -rw-r--r-- | core/image.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/image.h b/core/image.h index e962787ae..69f7bb2ff 100644 --- a/core/image.h +++ b/core/image.h @@ -284,6 +284,7 @@ public: void premultiply_alpha(); void srgb_to_linear(); void normalmap_to_xy(); + void bumpmap_to_normalmap(float bump_scale=1.0); void blit_rect(const Ref<Image> &p_src, const Rect2 &p_src_rect, const Point2 &p_dest); void blit_rect_mask(const Ref<Image> &p_src, const Ref<Image> &p_mask, const Rect2 &p_src_rect, const Point2 &p_dest); |
