Support Forum G3D Web Page |
This is designed to read from a G3D-style velocity (optical flow) buffer. More...
Classes | |
class | glsl::MotionBlur_gather_pix |
This is designed to read from a G3D-style velocity (optical flow) buffer. More... | |
Namespaces | |
glsl | |
Macros | |
#define | COMPUTE_RADIUS_SAMPLE() |
#define | COMPUTE_RADIUS_SAMPLE() { float2 velocity_sample = readAdjustedVelocity(other, radius_sample).xy; } |
#define | SMOOTHER 1 |
#define | varianceThreshold 1.5 |
This is designed to read from a G3D-style velocity (optical flow) buffer.
For performance, you could just write out velocity in the desired format rather than adjusting it per texture fetch.
G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License
#define COMPUTE_RADIUS_SAMPLE | ( | ) |
#define COMPUTE_RADIUS_SAMPLE | ( | ) | { float2 velocity_sample = readAdjustedVelocity(other, radius_sample).xy; } |
#define SMOOTHER 1 |
#define varianceThreshold 1.5 |