Lut, Shader, Programming, Blender3d, Unreal Engine.
this normalized so it will be 0/4, 1/4, 2/4 etc. There is still a problem with the implementation. In the case of 4x4x4 LUT, we never want to have an offset of 4, because there are only 4 Cuts. Remember we are going to still add the contribution of the red channel and when Blue is 1, we shouldnt