Blender V5.3
eevee::motion_blur::gather Namespace Reference

Classes

struct  Accumulator
struct  Resources

Functions

void gather_comp (Resources &srt, const Sampling &sampling, const draw::View &views, const TileBuf &tiles, const uint3 global_id)

Function Documentation

◆ gather_comp()

void eevee::motion_blur::gather::gather_comp ( Resources & srt,
const Sampling & sampling,
const draw::View & views,
const TileBuf & tiles,
const uint3 global_id )

Perform two gather blur in the 2 motion blur directions Based on: A Fast and Stable Feature-Aware Motion Blur Filter by Jean-Philippe Guertin, Morgan McGuire, Derek Nowrouzezahrai

With modification from the presentation: Next Generation Post Processing in Call of Duty Advanced Warfare by Jorge Jimenez

TODO(fclem) Blue noise.

Definition at line 510 of file eevee_motion_blur.bsl.hh.

References eevee::motion_blur::gather::Accumulator::bg, clamp(), ViewMatrices::depth_screen_to_view(), eevee::motion_blur::gather::Accumulator::fg, float, gather_comp(), gather_sample_count, global_invocation_id, imageLoad(), imageSize(), imageStoreFast, in_texture_range, random::interleaved_gradient(), length(), MOTION_BLUR_TILE_SIZE, eevee::motion_blur::MOTION_NEXT, eevee::motion_blur::MOTION_PREV, reverse_z::read(), resource_table, saturate, texelFetch(), textureLod(), textureSize(), tile, tiles, w(), eevee::motion_blur::gather::Accumulator::weight, float2::x, float3::x, float2::y, float3::y, and float3::z.

Referenced by gather_comp().