summaryrefslogtreecommitdiffstats
path: root/scene/resources/shader_graph.h
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-01-18 09:51:11 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-01-18 09:51:11 -0300
commit6f3c09047ecea651a219c36dd9fa9f96b5f06be4 (patch)
treececa1f8e62a253addd66cc7388bbbbc591913e30 /scene/resources/shader_graph.h
parent91faf8e21810c8995e4f6e3b6ba47a6482ab877e (diff)
downloadredot-engine-6f3c09047ecea651a219c36dd9fa9f96b5f06be4.tar.gz
-intentional breakage of shader graph to fix issues, existing graphs will be broken, sorry :(
Diffstat (limited to 'scene/resources/shader_graph.h')
-rw-r--r--scene/resources/shader_graph.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/scene/resources/shader_graph.h b/scene/resources/shader_graph.h
index 55d09b4c38..88818f5615 100644
--- a/scene/resources/shader_graph.h
+++ b/scene/resources/shader_graph.h
@@ -66,12 +66,15 @@ public:
NODE_VEC_TO_XFORM, // 3 vec input, 1 xform output
NODE_SCALAR_INTERP, // scalar interpolation (with optional curve)
NODE_VEC_INTERP, // vec3 interpolation (with optional curve)
- NODE_SCALAR_INPUT, // scalar uniform (assignable in material)
+ NODE_COLOR_RAMP, //take scalar, output vec3
+ NODE_CURVE_MAP, //take scalar, otput scalar
+ NODE_SCALAR_INPUT, // scalar uniform (assignable in material)
NODE_VEC_INPUT, // vec3 uniform (assignable in material)
NODE_RGB_INPUT, // color uniform (assignable in material)
NODE_XFORM_INPUT, // mat4 uniform (assignable in material)
NODE_TEXTURE_INPUT, // texture input (assignable in material)
NODE_CUBEMAP_INPUT, // cubemap input (assignable in material)
+ NODE_DEFAULT_TEXTURE,
NODE_OUTPUT, // output (shader type dependent)
NODE_COMMENT, // comment
NODE_TYPE_MAX