Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/shader/nodes/node_shader_vertex_color.c
| Show All 11 Lines | |||||
| * You should have received a copy of the GNU General Public License | * You should have received a copy of the GNU General Public License | ||||
| * along with this program; if not, write to the Free Software Foundation, | * along with this program; if not, write to the Free Software Foundation, | ||||
| * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | ||||
| * | * | ||||
| * The Original Code is Copyright (C) 2005 Blender Foundation. | * The Original Code is Copyright (C) 2005 Blender Foundation. | ||||
| * All rights reserved. | * All rights reserved. | ||||
| */ | */ | ||||
| #include "../node_shader_util.h" | #include "../node_shader_utils.h" | ||||
| static bNodeSocketTemplate sh_node_vertex_color_out[] = { | static bNodeSocketTemplate sh_node_vertex_color_out[] = { | ||||
| {SOCK_RGBA, 0, N_("Color")}, | {SOCK_RGBA, 0, N_("Color")}, | ||||
| {SOCK_FLOAT, 0, N_("Alpha")}, | {SOCK_FLOAT, 0, N_("Alpha")}, | ||||
| {-1, 0, ""}, | {-1, 0, ""}, | ||||
| }; | }; | ||||
| static void node_shader_init_vertex_color(bNodeTree *UNUSED(ntree), bNode *node) | static void node_shader_init_vertex_color(bNodeTree *UNUSED(ntree), bNode *node) | ||||
| Show All 30 Lines | |||||