ppsspp/assets/shaders/5xBR.vsh
LunaMoo d6c2944aac Minor workaround for 5xBR,
Also screen scaling filter for upscaling filters that also happen to use postShaderAtOutputResolution_.
2017-02-23 22:54:50 +01:00

28 lines
1.0 KiB
GLSL

/*
Hyllian's 5xBR v3.5a Shader
Copyright (C) 2011 Hyllian/Jararaca - sergiogdb@gmail.com
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
as published by the Free Software Foundation; either version 2
of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*/
attribute vec4 a_position;
attribute vec2 a_texcoord0;
varying vec2 v_texcoord0;
void main() {
v_texcoord0 = a_texcoord0 + 0.000001; //precision workaround for HLSL translation
gl_Position = a_position;
}