Support Forum G3D Web Page |
Computes the largest-magnitude velocity in the tile with corner at gl_FragCoord.xy * maxBlurRadius.
More...
Public Member Functions | |
void | main () |
Public Attributes | |
uniform vec2 | inputShift |
Shift input pixel coordinates by this amount to compensate for the guard band. More... | |
uniform sampler2D | SS_POSITION_CHANGE_buffer |
uniform vec4 | SS_POSITION_CHANGE_readAddSecond |
uniform vec4 | SS_POSITION_CHANGE_readMultiplyFirst |
uniform vec4 | SS_POSITION_CHANGE_writeAddSecond |
uniform vec4 | SS_POSITION_CHANGE_writeMultiplyFirst |
out float4 | tileMinMax |
Computes the largest-magnitude velocity in the tile with corner at gl_FragCoord.xy * maxBlurRadius.
Invoked from MotionBlur::computeTileMax().
This is run twice, once in each dimension. It transposes the output from the input, so it doesn't need to know which pass number it is in.
|
inline |
uniform vec2 glsl::MotionBlur_tileMinMax_pix::inputShift |
Shift input pixel coordinates by this amount to compensate for the guard band.
uniform sampler2D glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_buffer |
uniform vec4 glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_readAddSecond |
uniform vec4 glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_readMultiplyFirst |
uniform vec4 glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_writeAddSecond |
uniform vec4 glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_writeMultiplyFirst |
out float4 glsl::MotionBlur_tileMinMax_pix::tileMinMax |