mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
24 lines
570 B
Text
24 lines
570 B
Text
<@include gpu/Config.slh@>
|
|
<$VERSION_HEADER$>
|
|
// Generated on <$_SCRIBE_DATE$>
|
|
//
|
|
// ssao_makeHorizontalBlur.frag
|
|
//
|
|
// Created by Sam Gateau on 1/1/16.
|
|
// Copyright 2016 High Fidelity, Inc.
|
|
//
|
|
// Distributed under the Apache License, Version 2.0.
|
|
// See the accompanying file LICENSE or http://www.apache.org/licenses/LICENSE-2.0.html
|
|
//
|
|
|
|
<@include ssao.slh@>
|
|
|
|
const ivec2 horizontal = ivec2(1,0);
|
|
<$declareBlurPass(horizontal)$>
|
|
|
|
|
|
layout(location=0) out vec4 outFragColor;
|
|
|
|
void main(void) {
|
|
outFragColor = vec4(getBlurredOcclusion(gl_FragCoord.xy), 1.0);
|
|
}
|