diff options
author | Robert Holcomb <bob_holcomb@hotmail.com> | 2007-03-26 03:54:39 +0400 |
---|---|---|
committer | Robert Holcomb <bob_holcomb@hotmail.com> | 2007-03-26 03:54:39 +0400 |
commit | c1e901811811f10c90789784667ed9c0f708010f (patch) | |
tree | 8f25ece1d7cd18f13e6b962821b618703b4adcb6 /source/blender/blenkernel/BKE_node.h | |
parent | 8d4f2f9fe1e6cd4e162741e7dc879c8e2dc5b235 (diff) |
All UI code reverted to drawnode.c
Diffstat (limited to 'source/blender/blenkernel/BKE_node.h')
-rw-r--r-- | source/blender/blenkernel/BKE_node.h | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_node.h b/source/blender/blenkernel/BKE_node.h index d06e8625bf9..616bca078f5 100644 --- a/source/blender/blenkernel/BKE_node.h +++ b/source/blender/blenkernel/BKE_node.h @@ -190,7 +190,10 @@ struct ShadeResult; #define SH_NODE_SQUEEZE 117 - +/* custom defines options for Material node */ +#define SH_NODE_MAT_DIFF 1 +#define SH_NODE_MAT_SPEC 2 +#define SH_NODE_MAT_NEG 4 /* the type definitions array */ static bNodeType *node_all_shaders[]; @@ -275,6 +278,19 @@ void set_node_shader_lamp_loop(void (*lamp_loop_func)(struct ShadeInput *, str #define CMP_NODE_MATH 247 #define CMP_NODE_LUMA_MATTE 248 +/* filter types */ +#define CMP_FILT_SOFT 0 +#define CMP_FILT_SHARP 1 +#define CMP_FILT_LAPLACE 2 +#define CMP_FILT_SOBEL 3 +#define CMP_FILT_PREWITT 4 +#define CMP_FILT_KIRSCH 5 +#define CMP_FILT_SHADOW 6 + +/* scale node type, in custom1 */ +#define CMP_SCALE_RELATIVE 0 +#define CMP_SCALE_ABSOLUTE 1 + /* the type definitions array */ static bNodeType* node_all_composit[]; |