Bloom ported to new shader stuff

This commit is contained in:
Emmanuel BENOîT 2017-10-04 17:48:25 +02:00
parent 2bd15c41ab
commit 7e6b558f27
5 changed files with 45 additions and 38 deletions

View file

@ -1,5 +1,7 @@
#version 450 core
//! type fragment
layout( location = 0 ) uniform sampler2D u_Input;
layout( location = 1 ) uniform int u_LOD;
layout( location = 2 ) uniform vec2 u_InputSize;

View file

@ -1,5 +1,7 @@
#version 450 core
//! type fragment
layout( location = 0 ) uniform sampler2D u_InputTexture;
layout( location = 1 ) uniform vec2 u_OutputSize;
layout( location = 2 ) uniform int u_SourceLOD;

View file

@ -1,5 +1,7 @@
#version 450 core
//! type fragment
layout( location = 0 ) uniform sampler2D u_InputTexture;
layout( location = 1 ) uniform vec2 u_OutputSize;
layout( location = 2 ) uniform int u_SourceLOD;