5
$\begingroup$

I have created a couple of node groups with some "group-inputs-sliders" (The one called "Roughness" in the bottom picture). I would like it to have the blue-bar slider like the blender native ones. Thanks (:

Custom Node with group-input selected (controller)

Desire Result

$\endgroup$
0

1 Answer 1

7
$\begingroup$

Blender 3.6+

Since Version 3.6 and this patch it is now possible to dynamically change the subtype of a field. Expand the right hand side panel with N and go into the Inputs tab. Select the input or output and change the subtype using the dropdown menu.

enter image description here

Image Source

Previous versions

You cannot change a field to display a slider once it has been initialized as a non slider. But it works both ways, if you initialize a field with a slider (Such as a factor input in a mix RGB), and then change the input to something else, the input will keep its slider.

Explanation :

enter image description here

CTRL + G to group several nodes.

You can get rid of the Mix RGB afterwards.

To remap the min and max values of the slider, when inside the node group, open the "N" panel with N or click on the left facing arrow in the top right of the screen and select your slider input. You can then change the min and max values.

enter image description here

Note : It also works for colors for instance. In this case the RGB channels will get replaced by the factor value.

enter image description here

$\endgroup$
1
  • $\begingroup$ Good to know about the initialization not getting overwritten. Sure a simple solution i did not expect. $\endgroup$
    – Xylvier
    Commented Apr 29, 2020 at 12:35

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .