Search Issue Tracker

Fixed in 2019.2

Votes

0

Found in

2018.2.7f1

Issue ID

1089547

Regression

No

Scripting docs for BlendOp.Subtract and ReverseSubtract have operations swapped

Shaders

-

Scripting docs for https://docs.unity3d.com/ScriptReference/Rendering.BlendOp.Subtract.html and https://docs.unity3d.com/ScriptReference/Rendering.BlendOp.ReverseSubtract.html have the order of operations swapped.

Shader reference page (https://docs.unity3d.com/Manual/SL-Blend.html) has the correct order:
Subtract: does a "destination - source"
ReverseSubtract: does a "source - destination"

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.