def reload_shaders(self):
        """ Sets all required shaders on the filter. """

        # Set diffuse filter shaders
        self._diffuse_target.shader = self._stage.load_shader("ibl/cubemap_diffuse.frag.glsl")
        self._diff_filter_target.shader = self._stage.load_shader("ibl/cubemap_diffuse_filter.frag.glsl")

        # Set specular prefilter shaders
        mip_shader = self._stage.load_shader("ibl/cubemap_specular_prefilter.frag.glsl")
        for target in self._targets_spec:
            target.shader = mip_shader

        # Special shader for the first prefilter target
        self._targets_spec[0].shader = self._stage.load_shader("ibl/cubemap_specular_prefilter_first.frag.glsl")

        # Set specular filter sampling shaders
        mip_filter_shader = self._stage.load_shader("ibl/cubemap_specular_filter.frag.glsl")
        for target in self._targets_spec_filter:
            target.shader = mip_filter_shader

        # Special shader for the first filter target
        self._targets_spec_filter[0].shader = self._stage.load_shader("ibl/cubemap_specular_filter_first.frag.glsl")
 Sets all required shaders on the filter. 
metadrive/render_pipeline/rpcore/util/cubemap_filter.py