Quantcast
Channel: Questions in topic: "post processing"
Viewing all articles
Browse latest Browse all 713

Is it possible to track how many pixels have changed in a rendered frame?

$
0
0
In Unity, I would like to simulate what is known as an 'event camera'. An event camera is a vision sensor in which changes in pixel intensities, when they are above a certain threshold, are recorded as events (+ if increase, - if decrease). So this is a bit like subtracting the previous image from the latest and doing a thresholding operation on it (in reality it is not, because event cameras are asynchronous as opposed to frame-based). I was wondering if it's possible to perform such an operation in Unity during the render pipeline directly, as opposed to rendering an image, reading the pixels again and then doing a pixel-wise subtraction. Is there any way to perform an image subtraction as a post-processing effect, perhaps?

Viewing all articles
Browse latest Browse all 713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>