Support Forum G3D Web Page |
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 |
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/
glsl::DefaultRenderer_upsampleOIT_pix::layout | ( | location | = 0 | ) |
glsl::DefaultRenderer_upsampleOIT_pix::layout | ( | location | = 1 | ) |
glsl::DefaultRenderer_upsampleOIT_pix::layout | ( | location | = 2 | ) |
|
inline |
uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::accumTexture |
sum(rgb * a, a)
uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::backgroundModulationAndDiffusionTexture |
(beta_r, beta_g, beta_b, diffusion)
uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::deltaTexture |
(delta_x, delat_y)
uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::destDepth |
Full resolution.
uniform int glsl::DefaultRenderer_upsampleOIT_pix::downsampleFactor |
in Point2 glsl::DefaultRenderer_upsampleOIT_pix::g3d_TexCoord |
uniform sampler2D glsl::DefaultRenderer_upsampleOIT_pix::sourceDepth |
Low resolution.
uniform vec2 glsl::DefaultRenderer_upsampleOIT_pix::sourceSize |