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