Refactor sh_lut.cpp
Slightly closer to awesome