mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
This adds support for the Switch node that is already used in Geometry Nodes and the compositor. Implementation wise this is very similar to #162178. With this, the three node systems are unified when it comes to switch nodes. They all support the Switch, Index Switch and Menu Switch node. Like for the Index Switch node, when the condition is a constant, the switch is completely optimized away. Otherwise it is replaced by a math and mix node before being passed to the actual render engine. Pull Request: https://projects.blender.org/blender/blender/pulls/162417
3 lines
131 B
Text
3 lines
131 B
Text
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:04544c032733585c5f949f51f105ef948878af2315a5788ae725bcd0d62d8bc7
|
|
size 981401
|