def set_render_shadows(self, enabled):
        """ Toggle whether to render shadows or whether to just pass through
        the scene color """
        self.target_shadows.active = enabled
        if enabled != self.enabled:
            self.target_shadows.color_tex.clear_image()
            self.enabled = enabled
 Toggle whether to render shadows or whether to just pass through
        the scene color 
metadrive/render_pipeline/rpplugins/pssm/pssm_stage.py