mirror of
https://github.com/blender/blender
synced 2026-09-26 16:15:47 +03:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue