Merge pull request #295 from mitko0003/master
Minor fix to ATOC normalization.
This commit is contained in:
commit
662d223626
@ -1417,7 +1417,7 @@ float FloatImage::alphaTestCoverage(float alphaRef, int alphaChannel, float alph
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return coverage / float(w * h);
|
return coverage / float((w - 1) * (h - 1));
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user