DoF ported to new shader management
This commit is contained in:
parent
61d6027a42
commit
2bd15c41ab
7 changed files with 40 additions and 45 deletions
|
@ -1,5 +1,4 @@
|
|||
#version 450 core
|
||||
|
||||
//! type chunk
|
||||
//#define USE_RANDOM
|
||||
|
||||
layout( location = 0 ) uniform sampler2D u_Input;
|
|
@ -1,3 +1,8 @@
|
|||
#version 450 core
|
||||
|
||||
//! type fragment
|
||||
//! include dof-common.l.glsl
|
||||
|
||||
void main()
|
||||
{
|
||||
vec2 uv = gl_FragCoord.xy / uResolution;
|
|
@ -1,3 +1,8 @@
|
|||
#version 450 core
|
||||
|
||||
//! type fragment
|
||||
//! include dof-common.l.glsl
|
||||
|
||||
void main()
|
||||
{
|
||||
vec2 uv = gl_FragCoord.xy / uResolution;
|
Loading…
Add table
Add a link
Reference in a new issue