Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Minor fix to ATOC normalization. #295

Merged
merged 1 commit into from
Feb 15, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/nvimage/FloatImage.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down