Removed unnecessary vertex coords

This commit is contained in:
Leo 2020-10-15 18:56:04 +03:30 committed by GitHub
parent 6c2aa86225
commit 370d6ef62d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;