Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::MotionBlur_tileMinMax_pix Class Reference


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
 

Detailed Description


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.

Member Function Documentation

◆ main()

void glsl::MotionBlur_tileMinMax_pix::main ( void  )
inline

Member Data Documentation

◆ inputShift

uniform vec2 glsl::MotionBlur_tileMinMax_pix::inputShift

Shift input pixel coordinates by this amount to compensate for the guard band.

◆ SS_POSITION_CHANGE_buffer

uniform sampler2D glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_buffer

◆ SS_POSITION_CHANGE_readAddSecond

uniform vec4 glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_readAddSecond

◆ SS_POSITION_CHANGE_readMultiplyFirst

uniform vec4 glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_readMultiplyFirst

◆ SS_POSITION_CHANGE_writeAddSecond

uniform vec4 glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_writeAddSecond

◆ SS_POSITION_CHANGE_writeMultiplyFirst

uniform vec4 glsl::MotionBlur_tileMinMax_pix::SS_POSITION_CHANGE_writeMultiplyFirst

◆ tileMinMax

out float4 glsl::MotionBlur_tileMinMax_pix::tileMinMax

documentation generated on Wed Nov 24 2021 08:02:04 using doxygen 1.8.15