63
63
/* node type definition */
68
node_type_base(ttype, &ntype, SH_NODE_TEX_GRADIENT, "Gradient Texture", NODE_CLASS_TEXTURE, NODE_OPTIONS);
68
sh_node_type_base(&ntype, SH_NODE_TEX_GRADIENT, "Gradient Texture", NODE_CLASS_TEXTURE, 0);
69
69
node_type_compatibility(&ntype, NODE_NEW_SHADING);
70
70
node_type_socket_templates(&ntype, sh_node_tex_gradient_in, sh_node_tex_gradient_out);
71
node_type_size(&ntype, 150, 60, 200);
72
71
node_type_init(&ntype, node_shader_init_tex_gradient);
73
72
node_type_storage(&ntype, "NodeTexGradient", node_free_standard_storage, node_copy_standard_storage);
75
73
node_type_gpu(&ntype, node_shader_gpu_tex_gradient);