summaryrefslogtreecommitdiff
path: root/editor/import/resource_importer_texture.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2020-01-26 20:09:40 -0300
committerJuan Linietsky <reduzio@gmail.com>2020-02-11 12:16:01 +0100
commit2049dec79e0293f98d4c3f972f3a660ea5758983 (patch)
tree4562c4f50b5ca46ed4848d2915370d7cb7cb821b /editor/import/resource_importer_texture.h
parentbed8980ca50cb6a197f37e3decaff963d5cedce1 (diff)
Added normalmap guided roughness mipmap generator, and a global roughness limiter.
Diffstat (limited to 'editor/import/resource_importer_texture.h')
-rw-r--r--editor/import/resource_importer_texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/import/resource_importer_texture.h b/editor/import/resource_importer_texture.h
index bd10924950..19d5498b4a 100644
--- a/editor/import/resource_importer_texture.h
+++ b/editor/import/resource_importer_texture.h
@@ -79,7 +79,7 @@ protected:
static ResourceImporterTexture *singleton;
static const char *compression_formats[];
- void _save_stex(const Ref<Image> &p_image, const String &p_to_path, CompressMode p_compress_mode, float p_lossy_quality, Image::CompressMode p_vram_compression, bool p_mipmaps, bool p_streamable, bool p_detect_3d, bool p_detect_srgb, bool p_force_rgbe, bool p_detect_normal, bool p_force_normal, bool p_srgb_friendly, bool p_force_po2_for_compressed, uint32_t p_limit_mipmap);
+ void _save_stex(const Ref<Image> &p_image, const String &p_to_path, CompressMode p_compress_mode, float p_lossy_quality, Image::CompressMode p_vram_compression, bool p_mipmaps, bool p_streamable, bool p_detect_3d, bool p_detect_srgb, bool p_force_rgbe, bool p_detect_normal, bool p_force_normal, bool p_srgb_friendly, bool p_force_po2_for_compressed, uint32_t p_limit_mipmap, const Ref<Image> &p_normal, Image::RoughnessChannel p_roughness_channel);
public:
void save_to_stex_format(FileAccess *f, const Ref<Image> &p_image, CompressMode p_compress_mode, Image::UsedChannels p_channels, Image::CompressMode p_compress_format, float p_lossy_quality, bool p_force_rgbe);