mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-13 07:07:39 +02:00
26 lines
624 B
Text
26 lines
624 B
Text
<@include gpu/Config.slh@>
|
|
<$VERSION_HEADER$>
|
|
// Generated on <$_SCRIBE_DATE$>
|
|
//
|
|
// occlusion_blend.frag
|
|
// fragment shader
|
|
//
|
|
// Created by Niraj Venkat on 7/20/15.
|
|
// Copyright 2015 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 DeferredBufferWrite.slh@>
|
|
|
|
varying vec2 varTexcoord;
|
|
|
|
uniform sampler2D blurredOcclusionTexture;
|
|
|
|
void main(void) {
|
|
vec4 occlusionColor = texture2D(blurredOcclusionTexture, varTexcoord);
|
|
|
|
gl_FragColor = vec4(vec3(0.0), occlusionColor.r);
|
|
|
|
}
|