Beispiel #1
0
        void Start()
        {
            _filter = new SegmentationFilter(_resources);

            _tempRT = new RenderTexture(1920, 1080, 0);
            _tempRT.enableRandomWrite = true;
            _tempRT.Create();
        }
Beispiel #2
0
 void Start()
 {
     _filter   = new SegmentationFilter(_resources);
     _material = new Material(_shader);
 }