diff options
Diffstat (limited to 'game/addons/zylann.hterrain/tools/util/resource_importer_texture.gd')
-rw-r--r-- | game/addons/zylann.hterrain/tools/util/resource_importer_texture.gd | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/game/addons/zylann.hterrain/tools/util/resource_importer_texture.gd b/game/addons/zylann.hterrain/tools/util/resource_importer_texture.gd new file mode 100644 index 0000000..b24f0e2 --- /dev/null +++ b/game/addons/zylann.hterrain/tools/util/resource_importer_texture.gd @@ -0,0 +1,19 @@ +@tool + +# Stuff not exposed by Godot for making .import files + +const COMPRESS_LOSSLESS = 0 +const COMPRESS_LOSSY = 1 +const COMPRESS_VRAM_COMPRESSED = 2 +const COMPRESS_VRAM_UNCOMPRESSED = 3 +const COMPRESS_BASIS_UNIVERSAL = 4 + +const ROUGHNESS_DETECT = 0 +const ROUGHNESS_DISABLED = 1 +# Godot internally subtracts 2 to magically obtain a `Image.RoughnessChannel` enum +# (also not exposed) +const ROUGHNESS_RED = 2 +const ROUGHNESS_GREEN = 3 +const ROUGHNESS_BLUE = 4 +const ROUGHNESS_ALPHA = 5 +const ROUGHNESS_GRAY = 6 |