← All ideas
  • Published 16 Jun 2023

Integer and Boolean inputs for Shader Node Groups

We have Integers and Booleans in Geometry Nodes but sadly they are still missing from shader nodes.

There are many times when I want to use a boolean to switch between two values, or use an integer to select a discrete value.

Working around this using floats is very inconvenient, as you can't have a checkbox for booleans or easily increment/decrement whole integer values in the node group input.

Compositor nodes, texture nodes, and all other node editors should have them as well.

100%

Development Status: Open

Upvote 15 Downvote 0
unizen
16 Jun 2023

3 Comments

tolkfan

Looks like this was implemented recently. 4.3 shader node groups can have Int and Bool sockets.

AgentA1cr

Having Booleans could also allow for a switch node that could potentially be faster than the mix node.

Hide-Ori

It's not a big improvement, but it will allow us to make shader nodes even more organized. I'd like it.