![]() |
Path Tracing
|
Screen Display Fragment Shader. More...
#include "globals.glsl"
Functions | |
| vec3 | uncharted2TonemapPartial (vec3 x) |
| Filmic is the Hable/Uncharted2 curves (John Hable, GDC 2010). | |
| vec3 | uncharted2Filmic (vec3 color) |
| vec3 | toneMap (vec3 color) |
| void | main () |
Variables | |
| in vec2 | vUV |
| out vec4 | frag_color |
| uniform sampler2D | tex |
| uniform vec2 | render_resolution |
| uniform vec2 | display_resolution |
Screen Display Fragment Shader.
| vec3 toneMap | ( | vec3 | color | ) |
| vec3 uncharted2Filmic | ( | vec3 | color | ) |
| vec3 uncharted2TonemapPartial | ( | vec3 | x | ) |
Filmic is the Hable/Uncharted2 curves (John Hable, GDC 2010).
| uniform vec2 display_resolution |
| out vec4 frag_color |
| uniform vec2 render_resolution |
| uniform sampler2D tex |
| in vec2 vUV |