News for hackers. Stuff that matters.
Re:Breakdown of a Simple Ray Tracer by sheltron on Friday February 03, 2017 @05:40PM (#13563984)
Gamma correction is achieved by raising the color to a power, the power being the gamma value. So sqrt is the same as gamma correction with gamma = 2.0; On typical monitors, gamma is 2.2 , so this is close and maybe faster if the GPU has optimizations for fast square root.

More info : http://http.developer.nvidia.com/GPUGems3/gpugems3_ch24.html

There are no comments on this comment yet.