def _createShadowPass(self): """ Creates the shadow pass, where the shadow atlas is generated into """ self.shadowPass = ShadowScenePass() self.shadowPass.setMaxRegions(self.maxShadowUpdatesPerFrame) self.shadowPass.setSize(self.shadowAtlas.getSize()) self.pipeline.getRenderPassManager().registerPass(self.shadowPass)