DoF ported to new shader management

This commit is contained in:
Emmanuel BENOîT 2017-10-04 17:37:55 +02:00
parent 61d6027a42
commit 2bd15c41ab
7 changed files with 40 additions and 45 deletions

View file

@ -1,5 +1,4 @@
#version 450 core
//! type chunk
//#define USE_RANDOM
layout( location = 0 ) uniform sampler2D u_Input;

View file

@ -1,3 +1,8 @@
#version 450 core
//! type fragment
//! include dof-common.l.glsl
void main()
{
vec2 uv = gl_FragCoord.xy / uResolution;

View file

@ -1,3 +1,8 @@
#version 450 core
//! type fragment
//! include dof-common.l.glsl
void main()
{
vec2 uv = gl_FragCoord.xy / uResolution;