diff --git a/assets/shaders/naturalA.fsh b/assets/shaders/naturalA.fsh index 8e396464ca..201f8e7ea9 100644 --- a/assets/shaders/naturalA.fsh +++ b/assets/shaders/naturalA.fsh @@ -1,6 +1,6 @@ -// Natural Vision Shader with removed blur. +// Natural Vision Shader, modified to use in PPSSPP. -// by ShadX (Modded by SimoneT and Leopard20) +// by ShadX (Modded by SimoneT) // http://forums.ngemu.com/showthread.php?t=76098 #ifdef GL_ES @@ -9,10 +9,7 @@ precision mediump int; #endif uniform sampler2D sampler0; -varying vec4 v_texcoord0; -varying vec4 v_texcoord1; -varying vec4 v_texcoord2; -varying vec4 v_texcoord3; +varying vec2 v_texcoord0; const mat3 RGBtoYIQ = mat3(0.299, 0.596, 0.212, 0.587,-0.275,-0.523, @@ -28,7 +25,7 @@ void main() { vec3 c0,c1; -c0 = texture2D(sampler0,v_texcoord0.xy).xyz; +c0 = texture2D(sampler0,v_texcoord0).xyz; c1=RGBtoYIQ*c0;