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
This folder contains files used by ctest testing system in Blender. The purpose of this files it to do automated render tests for Cycles, Workbench and EEVEE. If you want to extend this collection make sure the file is really small and uses as few samples as possible for reliable detection of render regressions. Each file is expected to be rendered in around one second.