Original Post
Hello! I want to implement this cool effect but there's some problems that my old brain can't solve by himself. After some digging I know that I should render velocity map and use it for blur. Also I know that all that staff is done as postprocess - i.e. in fragment shader. And this is the point I can't understand. Let's assume that I want to motion blur horizontaly moving box. Lets assume also that I have velocity map - it's the same box, but in red and green color (for example). And what next? How can I blur exactly box (and not background), how can I draw blurred tail?