This implements the Menu Switch node in shader nodes. It's the same node that is used in Geometry Nodes and the Compositor. The Menu Switch node is purely handled during preprocessing and thus builds on top of #141936. Hence, it's input has to be a single value, just like the iteration count for repeat zones. This limitation can be lifted in the future, but currently there is no way to produce a non-single menu value in shader nodes. This will become possible if other Switch nodes are added though. Pull Request: https://projects.blender.org/blender/blender/pulls/146896
4 lines
131 B
Plaintext
4 lines
131 B
Plaintext
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:a80a6c5e1458bb95af42f3369d8b4c8b8d6934274e4e20c3fb6929a276d47842
|
|
size 949808
|