diff options
Diffstat (limited to 'assets/shaders/glsl330/postprocessing.fs')
| -rw-r--r-- | assets/shaders/glsl330/postprocessing.fs | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/assets/shaders/glsl330/postprocessing.fs b/assets/shaders/glsl330/postprocessing.fs index 7afd3cb..ce1f3bd 100644 --- a/assets/shaders/glsl330/postprocessing.fs +++ b/assets/shaders/glsl330/postprocessing.fs @@ -8,13 +8,13 @@ uniform vec4 colDiffuse; out vec4 finalColor; -// Edge dection. -uniform vec2 resolution = vec2(596, 447); -uniform float edgeFactor = 0.15; +// Edge detection. +uniform vec2 resolution; +uniform float edgeFactor; // Color depth. -uniform float gamma = 0.6; -uniform float colorCount = 11.0; +uniform float gamma; +uniform float colorCount; void main() { |
