blender/tests/files/render/shader/boolean_math_cases.blend
Jacques Lucke 6c74e82ecb Shader Nodes: support Boolean Math node in EEVEE and Cycles
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
2026-09-12 14:43:16 +02:00

3 lines
131 B
Text

version https://git-lfs.github.com/spec/v1
oid sha256:016e5e35f5ff19425e1365191769d6c40ec345c95e26325baa4fc81cb6d2ddb1
size 966448