mirror of
https://github.com/rt64/rt64.git
synced 2025-04-17 08:44:21 +00:00
Fix edge case of blender passthrough for second cycle not picking the correct input color.
This commit is contained in:
parent
6ba9d9dd0b
commit
9d2f11e515
@ -406,7 +406,8 @@ namespace interop {
|
||||
finalAlpha = 0.0f;
|
||||
}
|
||||
else {
|
||||
blenderColor = fromInputPM((A == A_ZERO) ? M : P, inputs, combinerColor.rgb);
|
||||
const float3 inputColor = replaceCcWithBlender ? blenderColor : combinerColor.rgb;
|
||||
blenderColor = fromInputPM((A == A_ZERO) ? M : P, inputs, inputColor.rgb);
|
||||
finalAlpha = 1.0f;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user