diff --git a/source/gfx/shader/gfx-shader-param.cpp b/source/gfx/shader/gfx-shader-param.cpp index d75dc369..4bceb752 100644 --- a/source/gfx/shader/gfx-shader-param.cpp +++ b/source/gfx/shader/gfx-shader-param.cpp @@ -202,7 +202,7 @@ const std::string& gfx::shader::parameter::get_key() bool gfx::shader::parameter::is_visible() { - return true; + return _visible && !is_automatic(); } bool gfx::shader::parameter::is_automatic()