1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-23 15:16:17 +00:00

Makes Texture and TextureUniform in visual shaders to use UV by default

This commit is contained in:
Yuri Roubinsky
2019-10-03 10:40:26 +03:00
parent c9781df316
commit b11d15d5c3
5 changed files with 57 additions and 15 deletions

View File

@@ -103,6 +103,10 @@ String VisualShaderNode::get_warning(Shader::Mode p_mode, VisualShader::Type p_t
return String();
}
String VisualShaderNode::get_input_port_default_hint(int p_port) const {
return "";
}
void VisualShaderNode::_bind_methods() {
ClassDB::bind_method(D_METHOD("set_output_port_for_preview", "port"), &VisualShaderNode::set_output_port_for_preview);