28 Nov
2022
28 Nov
'22
5:54 p.m.
On Sun Nov 27 04:45:37 2022 +0000, Zebediah Figura wrote:
What you have here is instead "p^2 (3 - 2p), where p = saturate((x - a)/(b - a))". I haven't checked the math, but the discrepancy should probably be fixed. Thanks for catching that. The comment is wrong.
-- https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/53#note_17699