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