c488ea6a90
When you flip the y coordinate of coord in getVelocity() function, the y of the velocity vector will also get flipped. If we let this on, the result of the motion blur will be weird, creating X pattern blur rather than O pattern blur, noticeable especially when looking down/up and rotating around camera front axis. To fix this, negative the y of velocity vector manually and problem solved. |
||
---|---|---|
.. | ||
motion_blur_pass.frag.glsl | ||
motion_blur_pass.json |