Skip to content

Commit 1f16592

Browse files
blend Material IR node was backwards
1 parent 5a5b608 commit 1f16592

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nbl/asset/material_compiler/CMaterialCompilerGLSLBackendCommon.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -679,7 +679,7 @@ std::pair<instr_t, const IR::INode*> CInterpreter::processSubtree(IR* ir, const
679679
auto* deltatrans = getDeltaTransmissionNode(ir, cache, opacity);
680680
assert(opacity->children.count == 1u);
681681
auto* bxdf = const_cast<IR::INode*>(opacity->children[0]);
682-
blend->children = IR::INode::createChildrenArray(bxdf, deltatrans);
682+
blend->children = IR::INode::createChildrenArray(deltatrans,bxdf);
683683
out_next = blend->children;
684684

685685
tree = blend;

0 commit comments

Comments
 (0)