Fix: Anti-Aliasing node contrast limit has no effect
The Anti-Aliasing node contrast limit has no effect. This is due to a typo in the code, where the threshold was used internally as the contrast limit instead.
This commit is contained in:
parent
61dd7cc117
commit
a3587ee078
|
@ -77,7 +77,7 @@ class AntiAliasingOperation : public NodeOperation {
|
|||
* algorithm expects it in the [0, 10] range. */
|
||||
float get_local_contrast_adaptation_factor()
|
||||
{
|
||||
return node_storage(bnode()).threshold * 10.0f;
|
||||
return node_storage(bnode()).contrast_limit * 10.0f;
|
||||
}
|
||||
|
||||
/* Blender encodes the corner rounding factor in the float [0, 1] range, while the SMAA algorithm
|
||||
|
|
Loading…
Reference in New Issue