R2 Shaders
R2FilterBilateralBlurDepthAwareVertical4f.frag
Go to the documentation of this file.
1 /// \file R2FilterBilateralBlurDepthAwareVertical4f.frag
2 /// \brief Vertical RGBA bilateral depth-aware blur filter
3 
4 #include "R2BilateralBlur.h"
5 
6 in vec2 R2_uv;
7 
8 uniform sampler2D R2_texture_image;
9 uniform sampler2D R2_texture_depth;
10 uniform R2_bilateral_blur_depth_aware_t R2_blur;
11 
12 out vec4 R2_out_rgba;
13 
14 void
15 main (void)
16 {
18  R2_texture_image,
19  R2_texture_depth,
20  R2_blur,
21  R2_uv);
22 }
Parameters for the blur effect.
vec4 R2_bilateralBlurDepthAwareVertical4f(const sampler2D t, const sampler2D d, const R2_bilateral_blur_depth_aware_t blur, const vec2 uv)
Functions for performing bilateral blurs.