Merge pull request #26294 from WindyDarian/fix_saturate_in_visual_shader
Fix saturate ScalarFunc in Visual Shader
This commit is contained in:
commit
22ee7ba4f0
|
@ -1136,7 +1136,7 @@ String VisualShaderNodeScalarFunc::generate_code(Shader::Mode p_mode, VisualShad
|
|||
"round($)",
|
||||
"ceil($)",
|
||||
"fract($)",
|
||||
"min(max($,0),1)",
|
||||
"min(max($,0.0),1.0)",
|
||||
"-($)",
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue