godot
godot copied to clipboard
GDShader: Add `hint_flags` for `uniform int`
This adds a new shader uniform hint for int named hint_flags. A port of the @export_flags feature from GDScript.
uniform int outline_features : hint_flags("Anti-alias", "Depth Limit", "Grazing Angle Fix") = 3;