I attempted to replicate the snow effect seen on the bottom page of this URL . Everything else is functioning correctly, but I am struggling to achieve the motion blur effect. Any suggestions?
The texture sprite used to create the motion blur effect
https://i.sstatic.net/33ZbC.png
Below is the code snippet:
(function(global) {
var img = 'https://i.imgur.com/hlmsgWA.png'
// Rest of the JavaScript code goes here...
})(window)
// Vertex and Fragment shader code snippets go here...
.