void Start() { _filter = new SegmentationFilter(_resources); _composited = new RenderTexture(1920, 1080, 0); _material = new Material(_shader); }
void Start() { _filter = new SegmentationFilter(_resources); _filter.ProcessImage(_sourceImage); _imageUI.texture = _filter.MaskTexture; }