+2 votes

I need a clamp function in my shader, but I can't find it in any shader graph node. I know, that I can replicate the clamp function with min and max operators, but it would be good to have standalone clamp function...
enter image description here

in Engine by (85 points)

If this is a feature request, please submit an issue: https://github.com/godotengine/godot/issues

I will implement it when i'll fix my compiller issues... I'm just surprised that it isn't already there...

Please log in or register to answer this question.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read Frequently asked questions and How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to [email protected] with your username.