mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-17 04:39:34 +00:00
Removed unnecessary vertex coords
This commit is contained in:
parent
6c2aa86225
commit
370d6ef62d
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user