|
Blender V5.3
|
#include <eevee_motion_blur.bsl.hh>
Public Member Functions | |
| float4 | motion_blur_sample_velocity (float2 uv) |
| float2 | spread_compare (float center_motion_length, float sample_motion_length, float offset_length) |
| float2 | depth_compare (float center_depth, float sample_depth) |
| float | dir_compare (float2 offset, float2 sample_motion, float sample_motion_length) |
| float2 | sample_weights (float center_depth, float sample_depth, float center_motion_length, float sample_motion_length, float offset_length) |
| void | gather_sample (ViewMatrices view, float2 screen_uv, float center_depth, float center_motion_len, float2 offset, float offset_len, const bool next, Accumulator &accum) |
| void | gather_blur (ViewMatrices view, float2 screen_uv, float2 center_motion, float center_depth, float2 max_motion, float ofs, const bool next, Accumulator &accum) |
Public Attributes | |
| const MotionBlurData & | motion_blur_buf |
| sampler2DDepth | depth_tx |
| sampler2D | velocity_tx |
| sampler2D | in_color_tx |
| const image2D | in_tiles_img |
| image2D | out_color_img |
Definition at line 354 of file eevee_motion_blur.bsl.hh.
|
inline |
Definition at line 379 of file eevee_motion_blur.bsl.hh.
References motion_blur_buf, and saturate.
Referenced by sample_weights().
|
inline |
Definition at line 386 of file eevee_motion_blur.bsl.hh.
References dot().
Referenced by gather_sample().
|
inline |
Definition at line 440 of file eevee_motion_blur.bsl.hh.
References eevee::motion_blur::clamp_motion_and_get_length(), float, gather_sample(), gather_sample_count, and motion_blur_buf.
|
inline |
Definition at line 409 of file eevee_motion_blur.bsl.hh.
References eevee::motion_blur::gather::Accumulator::bg, eevee::motion_blur::clamp_motion_and_get_length(), ViewMatrices::depth_screen_to_view(), depth_tx, dir_compare(), eevee::motion_blur::gather::Accumulator::fg, in_color_tx, motion_blur_buf, motion_blur_sample_velocity(), reverse_z::read(), sample_weights(), textureLod(), eevee::motion_blur::gather::Accumulator::weight, float3::x, float3::y, and float3::z.
Referenced by gather_blur().
Definition at line 364 of file eevee_motion_blur.bsl.hh.
References motion_blur_buf, texture(), textureSize(), eevee::velocity::unpack(), and velocity_tx.
Referenced by gather_sample().
|
inline |
Definition at line 395 of file eevee_motion_blur.bsl.hh.
References depth_compare(), and spread_compare().
Referenced by gather_sample().
|
inline |
Definition at line 372 of file eevee_motion_blur.bsl.hh.
References saturate.
Referenced by sample_weights().
| sampler2DDepth eevee::motion_blur::gather::Resources::depth_tx |
Definition at line 356 of file eevee_motion_blur.bsl.hh.
Referenced by gather_sample().
| sampler2D eevee::motion_blur::gather::Resources::in_color_tx |
Definition at line 358 of file eevee_motion_blur.bsl.hh.
Referenced by gather_sample().
| const image2D eevee::motion_blur::gather::Resources::in_tiles_img |
Definition at line 359 of file eevee_motion_blur.bsl.hh.
| const MotionBlurData& eevee::motion_blur::gather::Resources::motion_blur_buf |
Definition at line 355 of file eevee_motion_blur.bsl.hh.
Referenced by depth_compare(), gather_blur(), gather_sample(), and motion_blur_sample_velocity().
| image2D eevee::motion_blur::gather::Resources::out_color_img |
Definition at line 360 of file eevee_motion_blur.bsl.hh.
| sampler2D eevee::motion_blur::gather::Resources::velocity_tx |
Definition at line 357 of file eevee_motion_blur.bsl.hh.
Referenced by motion_blur_sample_velocity().