State:New|TargetRelease:No Target|icon_bug|icon_nuke|database:public|Resolution:Fixed|BugID:155482|
Problem summary
The tooltip for the overlay operation in the Merge node says "multiply if B<.5, screen if B>.5" and for the hard-light operation "multiply if A<.5, screen if A>.5". The tooltip for the screen operation says "A+B-AB if A and B between 0-1, else A if A>B else B".
The results when using the overlay or hard-light operations however don't do the same as the screen operation for colours outside 0-1 and instead just clamp.
Customer reported version
nuke.10.5v4
Customer reported platform
Steps to reproduce
1) open attached script. This contains 2 Constants, one with colour values above 1 used as input B, fed into a Merge node using the overlay operation. Similarly, a second node tree illustrates the use of the hard-light operation.
2) in the Viewer see the colour value results of the Merge nodes.
Result: the values are clamped to 1.
Workaround
Unknown.
Reproduced
Reproduced in Nuke 9.1v1 and above.
Expected behaviour
The overlay and hard-light Merge operations clamp the colour values between 0 and 1.
Actual behaviour
The overlay and hard-light Merge operations should not clamp values, similar to how the screen operation works.
We're sorry to hear that
Please tell us why