R2 Core Shaders

Functions | Variables
R2FilterFogDepthQuadratic.frag File Reference

Quadratic fog filter based on depth. More...

`#include "R2Fog.h"`
`#include "R2LogDepth.h"`
`#include "R2Viewport.h"`
`#include "R2ViewRays.h"`
Include dependency graph for R2FilterFogDepthQuadratic.frag:

Go to the source code of this file.

## Functions
| layout (location=0) out vec4 out_rgba
void | main (void)

## Variables
in vec2 | R2_uv
uniform R2_fog_t | R2_fog
uniform sampler2D | R2_image_depth
uniform sampler2D | R2_image
uniform float | R2_depth_coefficient

## Detailed Description

Quadratic fog filter based on depth.

Definition in file R2FilterFogDepthQuadratic.frag.