From 06b2adf923542740fcfa94e2f4509874ed886a08 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 1 Feb 2018 14:13:50 +0100 Subject: [PATCH] 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. --- pillar/api/node_types/texture.py | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/pillar/api/node_types/texture.py b/pillar/api/node_types/texture.py index 6c117343..ad606112 100644 --- a/pillar/api/node_types/texture.py +++ b/pillar/api/node_types/texture.py @@ -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", ]} } }