aboutsummaryrefslogtreecommitdiff
path: root/game/addons/zylann.hterrain/tools/util/resource_importer_texture.gd
blob: b24f0e2cd0b1ee25ac35e9c5b8a4a7ac4ad37fb2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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