mirror of
https://github.com/blender/blender
synced 2026-10-25 03:07:01 +03:00
This adds the Boolean Math node to shader nodes. It's the same node that can already be used in Geometry Nodes and the Compositor. This also fixes the conversion from other types to boolean values so that it it consistent across different node tree types. Cycles doesn't have native support for booleans currently (it encodes them in integers), so for now this conversion is entirely handled in the inliner. The MaterialX implementation is omitted for now because it seems to need more work to properly integrate booleans (right now it appears to ignore all links going from a float to a boolean socket for example). Pull Request: https://projects.blender.org/blender/blender/pulls/162798
3 lines
131 B
Text
3 lines
131 B
Text
version https://git-lfs.github.com/spec/v1
|
|
oid sha256:016e5e35f5ff19425e1365191769d6c40ec345c95e26325baa4fc81cb6d2ddb1
|
|
size 966448
|