The tone mapping article is great and very informative and helpful. However, I think there is an error there in the mul function code used for ACES. The error is replicated also in this repository in tonemap.cpp. In the article it reads:
This had me headdesking for a good while because I couldn't get my scene to render as expected, until I noticed the two v[1]s near the start of the float y and float z lines.
Hi
The tone mapping article is great and very informative and helpful. However, I think there is an error there in the mul function code used for ACES. The error is replicated also in this repository in tonemap.cpp. In the article it reads:
but I think the correct way to multiply the matrix with the vector would be:
This had me headdesking for a good while because I couldn't get my scene to render as expected, until I noticed the two v[1]s near the start of the float y and float z lines.