Thread: velocity shader
View Single Post
  #1  
Old 11-24-2013, 06:56 AM
subbu subbu is offline
Member
 
Join Date: Aug 2013
Posts: 4
velocity shader

Hi,

I need to have velocity vectors (optical flow) for every pixel on screen and between current frame and previous frame. I am trying write a shader to do the same. But I am not sure how to access the previous frame's information (do I need to save it to another variable ?). Please give me some info or example code to do this.

Thanks in advance,
Subbu
Reply With Quote