Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/shader/nodes/node_shader_valToRgb.c
| Show All 15 Lines | |||||
| * The Original Code is Copyright (C) 2005 Blender Foundation. | * The Original Code is Copyright (C) 2005 Blender Foundation. | ||||
| * All rights reserved. | * All rights reserved. | ||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup shdnodes | * \ingroup shdnodes | ||||
| */ | */ | ||||
| #include "node_shader_util.h" | #include "node_shader_utils.h" | ||||
| #include "IMB_colormanagement.h" | #include "IMB_colormanagement.h" | ||||
| /* **************** VALTORGB ******************** */ | /* **************** VALTORGB ******************** */ | ||||
| static bNodeSocketTemplate sh_node_valtorgb_in[] = { | static bNodeSocketTemplate sh_node_valtorgb_in[] = { | ||||
| {SOCK_FLOAT, 1, N_("Fac"), 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR}, | {SOCK_FLOAT, 1, N_("Fac"), 0.5f, 0.0f, 0.0f, 0.0f, 0.0f, 1.0f, PROP_FACTOR}, | ||||
| {-1, 0, ""}, | {-1, 0, ""}, | ||||
| }; | }; | ||||
| static bNodeSocketTemplate sh_node_valtorgb_out[] = { | static bNodeSocketTemplate sh_node_valtorgb_out[] = { | ||||
| ▲ Show 20 Lines • Show All 136 Lines • Show Last 20 Lines | |||||