summaryrefslogtreecommitdiff
path: root/scene/resources
diff options
context:
space:
mode:
authorYuri Roubinsky <chaosus89@gmail.com>2020-10-04 10:34:58 +0300
committerYuri Roubinsky <chaosus89@gmail.com>2020-10-04 10:34:58 +0300
commit2d45f7ac879c984f48e8fb45e027a6d35e146ad2 (patch)
treef5b674fcd564f7135c1a9ddb23f4b7a79a6854e9 /scene/resources
parentb5eea37fb04755e71c541727c1edf3a51e8fe30f (diff)
Fix typo in VisualShaderNodeSample3D::generate_code
Diffstat (limited to 'scene/resources')
-rw-r--r--scene/resources/visual_shader_nodes.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/visual_shader_nodes.cpp b/scene/resources/visual_shader_nodes.cpp
index ee66d85fec..085c0d0112 100644
--- a/scene/resources/visual_shader_nodes.cpp
+++ b/scene/resources/visual_shader_nodes.cpp
@@ -853,7 +853,7 @@ String VisualShaderNodeSample3D::generate_code(Shader::Mode p_mode, VisualShader
if (p_input_vars[1] == String()) {
code += "\t\tvec4 " + id + "_tex_read = texture(" + id + ", " + default_uv + ");\n";
} else {
- code += "\t\tvec4 " + id + "_tex_read = textureLod(" + id + ", " + default_uv = ", " + p_input_vars[1] + ");\n";
+ code += "\t\tvec4 " + id + "_tex_read = textureLod(" + id + ", " + default_uv + ", " + p_input_vars[1] + ");\n";
}
} else if (p_input_vars[1] == String()) {
//no lod