Added all the in-use texture map types to the texture node type

Note that we now name 'occlusion' (as it's used in production) as
'ambient occlusion'. The database needs to be migrated for this.
This commit is contained in:
Sybren A. Stüvel 2018-02-01 14:13:50 +01:00
parent 1ca2f336c4
commit 06b2adf923

View File

@ -27,15 +27,19 @@ node_type_texture = {
'map_type': {
'type': 'string',
'allowed': [
'color',
'specular',
'bump',
'normal',
'translucency',
'emission',
'alpha',
'id',
'displacement'
"alpha",
"ambient occlusion"
"bump",
"color",
"displacement",
"emission",
"glossiness",
"id",
"mask",
"normal",
"roughness",
"specular",
"translucency",
]}
}
}