← All ideas
  • Published 17 Jul 2025

Shader Nodes Control Flow

Geometry Nodes has recently gotten some nice control flow features:

  • Repeat Zone
  • Closures (available in daily builds)
  • Bundles (available in daily builds)
  • Menu Switch

It would open up some amazing possibilities for reusable node groups if these kinds of features were also usable in shader nodes.

I recognize that some of these features may be somewhat more limited than their geometry nodes implementation though. Specifically, repeat zones may have to have a fixed (maximum) length in order to be usable in some (mostly older) graphics APIs.

An example use case is a reusable parallax mapping node group, where you can input the depth map as a closure.

100%

Development Status: Open

Upvote 1 Downvote 0
camplowell
17 Jul 2025

2 Comments

costa

I mean it's all planned if you would do a small research :)

camplowell Author

Good to hear that! I try to stay pretty up to date with the NPR branch, but have kind of lapsed since the threads all moved