summaryrefslogtreecommitdiff
path: root/scene
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-05-04 10:53:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-05-04 10:53:54 -0300
commitf4caddbc23983a48b14c1801bfb254976546b869 (patch)
tree1988f49c0c7c633f5c741095347636e34f7fa028 /scene
parenta76709d24038442880f3174e15e84d5317e61d9f (diff)
-corrected frac() and hyperbolic sin,cos,tan when running on PC (GLSL120), fixes #1775
Diffstat (limited to 'scene')
-rw-r--r--scene/resources/shader_graph.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/shader_graph.cpp b/scene/resources/shader_graph.cpp
index 58a402f006..24d5978856 100644
--- a/scene/resources/shader_graph.cpp
+++ b/scene/resources/shader_graph.cpp
@@ -2160,7 +2160,7 @@ void ShaderGraph::_add_node_code(ShaderType p_type,Node *p_node,const Vector<Str
"floor($)",
"round($)",
"ceil($)",
- "frac($)",
+ "fract($)",
"min(max($,0),1)",
"-($)",
};