Eevee: Add Velocity pass.
authorClément Foucault <foucault.clem@gmail.com>
Fri, 20 Apr 2018 16:18:33 +0000 (18:18 +0200)
committerClément Foucault <foucault.clem@gmail.com>
Fri, 20 Apr 2018 16:29:33 +0000 (18:29 +0200)
commite2613e4051d501c8b553d781cb63d06735968f91
treebed7313216d92c4c3093bf2b0ef6d8740705253c
parent358dfe6ac9f22eb59302f5a04b14b75beadf064c
Eevee: Add Velocity pass.

This pass create a velocity buffer which is basically a 2D motion vector
texture. This is not yet used for rendering but will be usefull for motion
blur and temporal reprojection.
source/blender/draw/CMakeLists.txt
source/blender/draw/engines/eevee/eevee_effects.c
source/blender/draw/engines/eevee/eevee_engine.c
source/blender/draw/engines/eevee/eevee_private.h
source/blender/draw/engines/eevee/shaders/effect_velocity_resolve_frag.glsl [new file with mode: 0644]