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


Upsample low-resolution A, B+D^2, and delta buffers to full resolution using joint-bilateral upsampling based on a depth key. More...

Public Member Functions

 layout (location=0) out float4 accum
 
 layout (location=1) out float4 backgroundModulationAndDiffusion
 
 layout (location=2) out float2 delta
 
void main ()
 

Public Attributes

uniform sampler2D accumTexture
 sum(rgb * a, a) More...
 
uniform sampler2D backgroundModulationAndDiffusionTexture
 (beta_r, beta_g, beta_b, diffusion) More...
 
uniform sampler2D deltaTexture
 (delta_x, delat_y) More...
 
uniform sampler2D destDepth
 Full resolution. More...
 
uniform int downsampleFactor
 
in Point2 g3d_TexCoord
 
uniform sampler2D sourceDepth
 Low resolution. More...
 
uniform vec2 sourceSize
 

Detailed Description


Upsample low-resolution A, B+D^2, and delta buffers to full resolution using joint-bilateral upsampling based on a depth key.

From:

McGuire and Mara, A Phenomenological Scattering Model for Order-Independent Transparency, Proceedings of the ACM Symposium on Interactive 3D Graphics and Games (I3D), Feburary 28, 2016 http://graphics.cs.williams.edu/papers/TransparencyI3D16/

Member Function Documentation

◆ layout() [1/3]

glsl::DefaultRenderer_upsampleOIT_pix::layout ( location  = 0)

◆ layout() [2/3]

glsl::DefaultRenderer_upsampleOIT_pix::layout ( location  = 1)

◆ layout() [3/3]

glsl::DefaultRenderer_upsampleOIT_pix::layout ( location  = 2)

◆ main()

void glsl::DefaultRenderer_upsampleOIT_pix::main ( void  )
inline

Member Data Documentation

◆ accumTexture

uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::accumTexture

sum(rgb * a, a)

◆ backgroundModulationAndDiffusionTexture

uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::backgroundModulationAndDiffusionTexture

(beta_r, beta_g, beta_b, diffusion)

◆ deltaTexture

uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::deltaTexture

(delta_x, delat_y)

◆ destDepth

uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::destDepth

Full resolution.

◆ downsampleFactor

uniform int glsl::DefaultRenderer_upsampleOIT_pix::downsampleFactor

◆ g3d_TexCoord

in Point2 glsl::DefaultRenderer_upsampleOIT_pix::g3d_TexCoord

◆ sourceDepth

uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::sourceDepth

Low resolution.

◆ sourceSize

uniform vec2 glsl::DefaultRenderer_upsampleOIT_pix::sourceSize

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