From b12151eceb76cab4a49f9df661ce6156bbeaaa21 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Sun, 8 Jun 2014 12:46:12 +0200 Subject: Cycles: glossy and anisotropic BSDF changes * Anisotropic BSDF now supports GGX and Beckmann distributions, Ward has been removed because other distributions are superior. * GGX is now the default distribution for all glossy and anisotropic nodes, since it looks good, has low noise and is fast to evaluate. * Ashikhmin-Shirley is now available in the Glossy BSDF. --- source/blender/makesdna/DNA_node_types.h | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'source/blender/makesdna') diff --git a/source/blender/makesdna/DNA_node_types.h b/source/blender/makesdna/DNA_node_types.h index 2241803610c..b13353609c6 100644 --- a/source/blender/makesdna/DNA_node_types.h +++ b/source/blender/makesdna/DNA_node_types.h @@ -873,14 +873,11 @@ typedef struct NodeShaderUVMap { #define CMP_NODE_CHANNEL_MATTE_CS_YUV 3 #define CMP_NODE_CHANNEL_MATTE_CS_YCC 4 -/* anisotropic distributions */ -#define SHD_ANISOTROPIC_WARD 0 -#define SHD_ANISOTROPIC_ASHIKHMIN_SHIRLEY 1 - /* glossy distributions */ -#define SHD_GLOSSY_BECKMANN 0 -#define SHD_GLOSSY_SHARP 1 -#define SHD_GLOSSY_GGX 2 +#define SHD_GLOSSY_BECKMANN 0 +#define SHD_GLOSSY_SHARP 1 +#define SHD_GLOSSY_GGX 2 +#define SHD_GLOSSY_ASHIKHMIN_SHIRLEY 3 /* vector transform */ #define SHD_VECT_TRANSFORM_TYPE_VECTOR 0 -- cgit v1.2.3