def make_pcf_state(self): state = SamplerState() state.set_minfilter(SamplerState.FT_shadow) state.set_magfilter(SamplerState.FT_shadow) return state