Support Forum       G3D Web Page     
Classes | Namespaces | Macros
MotionBlur_gather.pix File Reference

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
 

Detailed Description

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

Macro Definition Documentation

◆ COMPUTE_RADIUS_SAMPLE [1/2]

#define COMPUTE_RADIUS_SAMPLE ( )

◆ COMPUTE_RADIUS_SAMPLE [2/2]

#define COMPUTE_RADIUS_SAMPLE ( )    { float2 velocity_sample = readAdjustedVelocity(other, radius_sample).xy; }

◆ SMOOTHER

#define SMOOTHER   1

◆ varianceThreshold

#define varianceThreshold   1.5

documentation generated on Wed Nov 24 2021 08:01:50 using doxygen 1.8.15