Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/shader/nodes/node_shader_brightness.c
| Show All 13 Lines | |||||
| * 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) 2006 Blender Foundation. | * The Original Code is Copyright (C) 2006 Blender Foundation. | ||||
| * All rights reserved. | * All rights reserved. | ||||
| */ | */ | ||||
| #include "node_shader_util.h" | #include "node_shader_util.h" | ||||
| /* **************** Brigh and contrsast ******************** */ | /* **************** Bright and contrast ******************** */ | ||||
| static bNodeSocketTemplate sh_node_brightcontrast_in[] = { | static bNodeSocketTemplate sh_node_brightcontrast_in[] = { | ||||
| {SOCK_RGBA, N_("Color"), 1.0f, 1.0f, 1.0f, 1.0f}, | {SOCK_RGBA, N_("Color"), 1.0f, 1.0f, 1.0f, 1.0f}, | ||||
| {SOCK_FLOAT, N_("Bright"), 0.0f, 0.0f, 0.0f, 0.0f, -100.0f, 100.0f, PROP_NONE}, | {SOCK_FLOAT, N_("Bright"), 0.0f, 0.0f, 0.0f, 0.0f, -100.0f, 100.0f, PROP_NONE}, | ||||
| {SOCK_FLOAT, N_("Contrast"), 0.0f, 0.0f, 0.0f, 0.0f, -100.0f, 100.0f, PROP_NONE}, | {SOCK_FLOAT, N_("Contrast"), 0.0f, 0.0f, 0.0f, 0.0f, -100.0f, 100.0f, PROP_NONE}, | ||||
| {-1, ""}, | {-1, ""}, | ||||
| }; | }; | ||||
| Show All 26 Lines | |||||