Lut, Shader, Programming, Blender3d, Unreal Engine.
LUT_Dimension ) + 0.5/LUT_Dimension ; Before the code above, your green channel was going from 0 to 1. This was sampling from pixels 0 to 16. After the transformation above, your 0 to 1 code has been remapped to 0–15/16. You add the half a pixel offset of 0.5/16, which means now you are sampling