Пример #1
0
        void Start()
        {
            _filter = new SegmentationFilter(_resources);

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