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

Shader program. More...

Public Member Functions

float average (float3 c)
 
float3 clipToAABB (in float3 color, in float3 minimum, in float3 maximum)
 
void main ()
 
float3 slideTowardsAABB (in float3 oldColor, in float3 newColor, in float3 minimum, in float3 maximum, in float maxVel)
 
 uniform_Texture (sampler2D, historyTexture_)
 Same dimensions as the output. More...
 

Public Attributes

const bool deghost = true
 
in vec2 g3d_TexCoord
 
uniform float hysteresis
 
uniform bool invertY
 Is the history texture upside down? More...
 
out vec4 result
 
float sharpen = 0.01 * pow3(hysteresis)
 
uniform Texture2D sourceTexture
 May have nonzero trimBand around it relative to the output. More...
 
uniform ivec2 trimBand
 Pixels to crop from input. More...
 

Detailed Description

Shader program.

Member Function Documentation

◆ average()

float glsl::Film_temporalAA_pix::average ( float3  c)
inline

◆ clipToAABB()

float3 glsl::Film_temporalAA_pix::clipToAABB ( in float3  color,
in float3  minimum,
in float3  maximum 
)
inline

◆ main()

void glsl::Film_temporalAA_pix::main ( void  )
inline

◆ slideTowardsAABB()

float3 glsl::Film_temporalAA_pix::slideTowardsAABB ( in float3  oldColor,
in float3  newColor,
in float3  minimum,
in float3  maximum,
in float  maxVel 
)
inline

◆ uniform_Texture()

glsl::Film_temporalAA_pix::uniform_Texture ( sampler2D  ,
historyTexture_   
)

Same dimensions as the output.

Member Data Documentation

◆ deghost

const bool glsl::Film_temporalAA_pix::deghost = true

◆ g3d_TexCoord

in vec2 glsl::Film_temporalAA_pix::g3d_TexCoord

◆ hysteresis

uniform float glsl::Film_temporalAA_pix::hysteresis

◆ invertY

uniform bool glsl::Film_temporalAA_pix::invertY

Is the history texture upside down?

◆ result

out vec4 glsl::Film_temporalAA_pix::result

◆ sharpen

float glsl::Film_temporalAA_pix::sharpen = 0.01 * pow3(hysteresis)

◆ sourceTexture

uniform Texture2D glsl::Film_temporalAA_pix::sourceTexture

May have nonzero trimBand around it relative to the output.

◆ trimBand

uniform ivec2 glsl::Film_temporalAA_pix::trimBand

Pixels to crop from input.


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