Minor fix to ATOC normalization.
This commit is contained in:
parent
84595a62f2
commit
d891d044e7
@ -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