office-gobmx/chart2/opengl/renderTextureFragmentShader.glsl
weigao a63ad6f274 add reverse image shader
Change-Id: Ibd3aff8aeb71626dada762b53cde8f50f7fbf812
2014-05-08 05:20:57 +02:00

18 lines
532 B
GLSL

/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/*
* This file is part of the LibreOffice project.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
uniform sampler2D RenderTex;
varying vec2 vTexCoord;
void main()
{
gl_FragColor = vec4(texture2D(RenderTex, vTexCoord).rgb, 1.0);
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */