

def load_lut(self):
    ' Loads the color correction lookup table (LUT) '
    lut_path = self.get_resource(lut_path.get_setting('color_lut'))
    lut = RPLoader.load_sliced_3d_texture(lut_path, 64)
    lut.set_wrap_u(SamplerState.WM_clamp)
    lut.set_wrap_v(SamplerState.WM_clamp)
    lut.set_wrap_w(SamplerState.WM_clamp)
    lut.set_minfilter(SamplerState.FT_linear)
    lut.set_magfilter(SamplerState.FT_linear)
    lut.set_anisotropic_degree(0)
    self.tonemapping_stage.set_shader_input('ColorLUT', lut)

dataset/ETHPy150Open tobspr/RenderPipeline/rpplugins/color_correction/plugin.py Plugin.load_lut/VarMisuse@18/43 `self`->`lut_path`