diff options
author | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-01-04 03:58:34 +0300 |
---|---|---|
committer | Kévin Dietrich <kevin.dietrich@mailoo.org> | 2022-01-05 16:17:57 +0300 |
commit | 4c3f52e7dc868471393cab76619b1187a654bc43 (patch) | |
tree | c387d9db194a4632f0c5b23b9029f27c749a9ab2 /source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl | |
parent | b1bd0f8ffdaf5e5df3038ae688a7b4eb8d10ba6d (diff) |
Cycles: support rendering PointCloud motion blur from attribute
This adds support to render PointCloud motion blur from a standard
"velocity" attribute.
This implementation is similar to that of the Mesh geometry, and
perhaps some code could be deduplicated through a more generic API.
`mesh_need_motion_attribute` was renamed `object_need_motion_attribute`
as it does not really require a mesh and moved to `util.h` so that
it can be shared.
This fixes T94622.
Reviewed By: brecht
Maniphest Tasks: T94622
Differential Revision: https://developer.blender.org/D13719
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_uniform_color_frag.glsl')
0 files changed, 0 insertions, 0 deletions