Recent logs - Error in shader program link: info: %s fs: %s %s vs: %s %s

To see your stuff show here, enable Compatibility Server Reports in PPSSPP.

Click on a version, game, or report message to show similar entries. Hover over version to see platform info, and hover over a game title to see region and version info.

Game title Version Latest Report Message
eFootball PES 2020 "C19" v1.6.3 2021-05-17 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:0001d022 Tex TexAlpha TFuncMod AlphaTest0 > #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; if (v.a < 0.002) discard; fragColor0 = v; } vs: 00000000:00000918 HWX C T Tex #version 300 es precision highp float; in vec3 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; out highp vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
God of War®: Ghost of Sparta v1.11.3 2021-05-17 Error in shader program link: info: Link failed because of missing fragment shader. fs: thin3d vs: thin3d #version 320 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
(homebrew) v1.11.3 2021-05-16 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: <tp (null) vs: <tp (null)
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.6.3 2021-05-16 Error in shader program link: info: Link Error: Vertex shader is missing. fs: 00000000:0021d002 Tex Fog TFuncMod AlphaTest0 > #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; uniform vec3 u_fogcolor; in highp float v_fogdepth; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); if (v.a < 0.002) discard; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 00000000:00000914 HWX T Fog Tex #version 300 es precision highp float; in vec3 position; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out highp vec3 v_texcoord; out highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.6.3 2021-05-16 Error in shader program link: info: Link Error: Vertex shader is missing. fs: 00000000:0021d000 Fog AlphaTest0 > #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D testtex; in vec4 v_color0; uniform vec3 u_fogcolor; in highp float v_fogdepth; inout vec4 fragColor0; void main() { vec4 v = v_color0 ; if (v.a < 0.002) discard; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 00000000:00000104 HWX Fog #version 300 es precision highp float; in vec3 position; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
eFootball PES 2021 T. Bendezu "C19" v1.6.3 2021-05-16 Error in shader program link: info: fs: 00000000:0001d000 AlphaTest0 > #version 300 es precision lowp float; uniform sampler2D testtex; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; if (v.a < 0.002) discard; fragColor0 = v; } vs: 00000000:0000000a THR C #version 300 es precision highp float; in vec4 position; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; void main() { v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.6.3 2021-05-15 Error in shader program link: info: Link Error: Vertex shader is missing. Link Error: Fragment shader is missing. fs: 00000000:00000000 #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; inout vec4 fragColor0; void main() { vec4 v = v_color0 ; fragColor0 = v; } vs: 00000000:0000000a THR C #version 300 es precision highp float; in vec4 position; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; void main() { v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
(homebrew) v1.11.3 2021-05-15 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: ,q (null) vs: ,q (null)
Dragon Ball Z: Tenkaichi Tag Team v1.6.3 2021-05-15 Error in shader program link: info: L0007 Varying 'v_texcoord' not found in vertex shader fs: 00000000:00000000 #version 100 precision lowp float; varying vec4 v_color0; void main() { vec4 v = v_color0 ; gl_FragColor = v; } vs: 00000000:00000900 HWX T #version 100 precision highp float; attribute vec3 position; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; }
eFootball PES 2021 T. Bendezu "C19" v1.11.3 2021-05-14 Error in shader program link: info: L0010 Uniform 'u_texelDelta' differ on precision fs: postshader #ifdef GL_ES precision mediump float; #endif //Note : Recommend to use PPSSPP v1.1.1-183-gb411fc0 or newer for full functionality, there were some bugs in earlier versions. //Note2 : Upscaling, smoothing and sharpening filters are not set to be mixed between each other since the results are pointless(they counter each other). // Only last one applies, so pick just one of them, mess around with it's settings and add other effects as needed. //====================================================================================================================================================================== //SMOOTHING FILTERS: //If you love smooth graphics ~ those are also great for downscaling - to do that, you need to use higher rendering res than your display res //================ #define FXAA 0 //ON:1/OFF:0 /default FXAA, orginal info below //================ #define GAUSS_SQ 0 //ON:1/OFF:0 /full square gauss filtering #define Gsmoothing 3.5 //Default: 3.5 /increase for smoother(blurry) graphics //================ #define GAUSS_S 0 //ON:1/OFF:0 /simple gauss filtering by Bigpet, slightly different from above /you can find standalone in https://github.com/hrydgard/ppsspp/issues/7242 //================ //SHARPENING FILTERS: //if you need very sharp image, add lots of aliasing //================ #define SHARPEN 0 //ON:1/OFF:0 /a simple sharpen filter, might be counterproductive to FXAA and BLOOM, hence disabled by default #define value 7.5 //Default: 7.5 /higher = more visible effect //================ #define S_COM_V2 0 //Sharpen Complex v2 from https://github.com/mpc-hc similar to above in effect, maybe more accurate #define S_val0 5.0 //Default: 5.0 /higher ~ increases sharpness /negative ~ can add extra blurr/strange effect //================ //UPSCALING FILTERS: //To use those, you have to set rendering res to smaller than window/display size(x1 for best results) and screen scaling filter to "nearest" //Starting from v1.1.1-28-g70e9979 you can also add Upscaling=True to ini file(check example) to do it automatically //================ #define xBR 1 //ON:1/OFF:0 /5xBR upscale, nice for 2D games especially those that might be buggy with higher rendering res, initially made by Hyllian - license below #define VariantB 0 //ON:1/OFF:0 /slightly less effect on fonts, dots and other small details //================ #define xHQ 0 //ON:1/OFF:0 same as 4xHQ in PPSSPP, but actually using output resolution #define scaleoffset 0.75 //Default: 0.75 /you can tweek it between 0.5 and 1.0, Note: to little = no effect, to high = ugliness //================ //OTHER FILTERS: //Most effects from here on can be fully mixed without loosing previous effects. Exceptions: Natural Colors, Advanced Cartoon //================ #define BLOOM 0 //ON:1/OFF:0 /bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/ #define MIKU 0 //Hatsune<3 this is an optional bloom filter for all those pale anime faces which get white otherwise:P tested on Miku in white dress #define samples 3 //Default: 4 /higher = more glow, worse performance #define quality 0.22 //Default: 0.18 /lower = smaller glow, better quality #define Bpower 1.0 //Default: 1.0 /amount of bloom mixed //================ #define COLORED 1 //ON:1/OFF:0 /coloring part of KrossX Overlay Bloom shader from here http://www.mediafire.com/krossx#ste5pa5ijfa0o #define Cpower 0.5 //Default: 0.5 /strenght of the effect //================ #define NATURALC 0 //ON:1/OFF:0 /by popular demand, natular colors, note: this shader can't be fully mixed with smoothing/sharpening/upscaling effects #define ncpower 0.5 //Default:0.5 / higher = more natural color, check note line above //================ #define ACART
eFootball PES 2021 T. Bendezu "C19" v1.7.4 2021-05-14 Error in shader program link: info: cannot find a matched output for input v_texcoordNC0 cannot find a matched output for input v_texcoordNC1 cannot find a matched output for input v_texcoordNC2 cannot find a matched output for input v_texcoordNC3 fs: postshader //Note : Recommend to use PPSSPP v1.1.1-183-gb411fc0 or newer for full functionality, there were some bugs in earlier versions. //Note2 : Upscaling, smoothing and sharpening filters are not set to be mixed between each other since the results are pointless(they counter each other). // Awas ngelag! :u //====================================================================================================================================================================== //SMOOTHING FILTERS: //If you love smooth graphics ~ those are also great for downscaling - to do that, you need to use higher rendering res than your display res //================ #define FXAA 1 //ON:1/OFF:0 /default FXAA, orginal info below //================ #define GAUSS_SQ 0 //ON:1/OFF:0 /full square gauss filtering #define Gsmoothing 2.5 //Default: 3.5 /increase for smoother(blurry) graphics //================ #define GAUSS_S 0 //ON:1/OFF:0 /simple gauss filtering by Bigpet, slightly different from above /you can find standalone in https://github.com/hrydgard/ppsspp/issues/7242 //================ //SHARPENING FILTERS: //if you need very sharp image, add lots of aliasing //================ #define SHARPEN 0 //ON:1/OFF:0 /a simple sharpen filter, might be counterproductive to FXAA and BLOOM, hence disabled by default #define value 0.98 //Default: 7.5 /higher = more visible effect //================ #define S_COM_V2 0 //Sharpen Complex v2 from https://github.com/mpc-hc similar to above in effect, maybe more accurate #define S_val0 5.0 //Default: 5.0 /higher ~ increases sharpness /negative ~ can add extra blurr/strange effect //================ //UPSCALING FILTERS: //To use those, you have to set rendering res to smaller than window/display size(x1 for best results) and screen scaling filter to "nearest" //Starting from v1.1.1-28-g70e9979 you can also add Upscaling=True to ini file(check example) to do it automatically //================ #define xBR 1 //ON:1/OFF:0 /5xBR upscale, nice for 2D games especially those that might be buggy with higher rendering res, initially made by Hyllian - license below #define VariantB 0 //ON:1/OFF:0 /slightly less effect on fonts, dots and other small details //================ #define xHQ 0 //ON:1/OFF:0 same as 4xHQ in PPSSPP, but actually using output resolution #define scaleoffset 0.75 //Default: 0.75 /you can tweek it between 0.5 and 1.0, Note: to little = no effect, to high = ugliness //================ //OTHER FILTERS: //Most effects from here on can be fully mixed without loosing previous effects. Exceptions: Natural Colors, Advanced Cartoon //================ #define BLOOM 0 //ON:1/OFF:0 /bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/ #define KIMOCHI 1 //Senpai! #define samples 3 //Default: 4 /higher = more glow, worse performance #define quality 0.22 //Default: 0.18 /lower = smaller glow, better quality #define Bpower 1.0 //Default: 1.0 /amount of bloom mixed //================ #define COLORED 1 //ON:1/OFF:0 /coloring part of KrossX Overlay Bloom shader from here http://www.mediafire.com/krossx#ste5pa5ijfa0o #define Cpower 0.69 //Default: 0.5 /strenght of the effect //================ #define NATURALC 0 //ON:1/OFF:0 /by popular demand, natular colors, note: this shader can't be fully mixed with smoothing/sharpening/upscaling effects #define ncpower 0.5 //Default:0.5 / higher = more natural color, check note line above //================ #define ACARTOON 0 //ON:1/OFF:0 Advanced Cartoon from Guest shader pack #define th 0.10 //D
Call of Duty : Roads to Victory™ v1.11.3 2021-05-14 Error in shader program link: info: (unknown reason) fs: postshader #ifdef GL_ES precision mediump float; #endif /* Hyllian's xBR-lv2 Shader Accuracy (tweak by guest.r) Copyright (C) 2011-2015 Hyllian - [email protected] Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. Incorporates some of the ideas from SABR shader. Thanks to Joshua Street. */ #ifdef GL_ES precision mediump float; precision mediump int; #endif #define CornerA 0 //ON:1/OFF:0 / A, B, C, D are just different variants of corner rounding #define CornerB 0 //ON:1/OFF:0 / activate only one #define CornerD 0 //ON:1/OFF:0 // CornerC //used as default if none of the above is defined const float XBR_SCALE = 3.0; const float lv2_cf = 2.0; const float coef = 2.0; const vec3 rgbw = vec3(14.352, 28.176, 5.472); const vec4 eq_threshold = vec4(15.0, 15.0, 15.0, 15.0); const vec4 Ao = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bo = vec4( 1.0, 1.0, -1.0,-1.0 ); const vec4 Co = vec4( 1.5, 0.5, -0.5, 0.5 ); const vec4 Ax = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bx = vec4( 0.5, 2.0, -0.5,-2.0 ); const vec4 Cx = vec4( 1.0, 1.0, -0.5, 0.0 ); const vec4 Ay = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 By = vec4( 2.0, 0.5, -2.0,-0.5 ); const vec4 Cy = vec4( 2.0, 0.0, -1.0, 0.5 ); const vec4 Ci = vec4(0.25, 0.25, 0.25, 0.25); uniform sampler2D sampler0; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; varying vec2 v_texcoord0; // Difference between vector components. vec4 df(vec4 A, vec4 B) { return vec4(abs(A-B)); } // Compare two vectors and return their components are different. vec4 diff(vec4 A, vec4 B) { return vec4(notEqual(A, B)); } // Determine if two vector components are equal based on a threshold. vec4 eq(vec4 A, vec4 B) { return (step(df(A, B), eq_threshold)); } // Determine if two vector components are NOT equal based on a threshold. vec4 neq(vec4 A, vec4 B) { return (vec4(1.0, 1.0, 1.0, 1.0) - eq(A, B)); } float c_df(vec3 c1, vec3 c2) { vec3 df = abs(c1 - c2); return df.r + df.g + df.b; } void main() { bool upscale = u_texelDelta.x > (1.6 * u_pixelDelta.x); vec3 res = texture2D(sampler0, v_texcoord0.xy).xyz; // Let's skip the whole scaling if output size smaller than 1.6x of input size if (upscale) { vec4 edri, edr, edr_l, edr_u, px; // px = pixel, edr = edge detection rule vec4 irlv0, irlv1, irlv2l, irlv2u; vec4 fx, fx_l, fx_u; // inequations of straight lines. vec2 pS = 1.0 / u_texelDelta.xy; vec2 fp = fract(v_texcoord0.xy*pS.xy); vec2 TexCoord_0 = v_texcoord0.xy-fp*u_pixelDelta.xy; vec2 dx = vec2(u_texelDelta.x,0.0); vec2 dy = vec2(0.0,u_texelDelta.y); vec2 y2 = dy + dy; vec2 x2 = dx + dx; vec4 delta = vec4(1.0/XBR_SCALE, 1.0/XBR_SCALE, 1.0/XBR_SCALE, 1.0/XBR_SCALE); vec4 delta_l = vec4(0.5/XBR_SCALE, 1.0/XBR_SCALE, 0.5/XBR_SCALE, 1.0/XBR_SCALE); vec4 delta_u = delta_l.yxwz; vec3 A = texture2D(sampler0, TexCoord_0 -dx -
Call of Duty : Roads to Victory™ v1.11.3 2021-05-14 Error in shader program link: info: (unknown reason) fs: postshader #ifdef GL_ES precision mediump float; #endif /* Hyllian's 5xBR v3.5a Shader Copyright (C) 2011 Hyllian/Jararaca - [email protected] 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. */ #ifdef GL_ES precision mediump float; precision mediump int; #endif uniform sampler2D sampler0; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; varying vec2 v_texcoord0; const float coef = 2.0; const vec3 rgbw = vec3(16.163, 23.351, 8.4772); const vec4 Ao = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bo = vec4( 1.0, 1.0, -1.0,-1.0 ); const vec4 Co = vec4( 1.5, 0.5, -0.5, 0.5 ); const vec4 Ax = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bx = vec4( 0.5, 2.0, -0.5,-2.0 ); const vec4 Cx = vec4( 1.0, 1.0, -0.5, 0.0 ); const vec4 Ay = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 By = vec4( 2.0, 0.5, -2.0,-0.5 ); const vec4 Cy = vec4( 2.0, 0.0, -1.0, 0.5 ); vec4 df(vec4 A, vec4 B) { return abs(A-B); } vec4 weighted_distance(vec4 a, vec4 b, vec4 c, vec4 d, vec4 e, vec4 f, vec4 g, vec4 h) { return (df(a,b) + df(a,c) + df(d,e) + df(d,f) + 4.0*df(g,h)); } void main(){ bool upscale = u_texelDelta.x > (1.6 * u_pixelDelta.x); vec3 res = texture2D(sampler0, v_texcoord0.xy).xyz; // Let's skip the whole scaling if output size smaller than 1.6x of input size if (upscale) { bvec4 edr, edr_left, edr_up, px; // px = pixel, edr = edge detection rule bvec4 interp_restriction_lv1, interp_restriction_lv2_left, interp_restriction_lv2_up; bvec4 nc; // new_color bvec4 fx, fx_left, fx_up; // inequations of straight lines. vec2 pS = 1.0 / u_texelDelta.xy; vec2 fp = fract(v_texcoord0.xy*pS.xy); vec2 TexCoord_0 = v_texcoord0.xy-fp*u_pixelDelta.xy; vec2 dx = vec2(u_texelDelta.x,0.0); vec2 dy = vec2(0.0,u_texelDelta.y); vec2 y2 = dy + dy; vec2 x2 = dx + dx; vec3 A = texture2D(sampler0, TexCoord_0 -dx -dy ).xyz; vec3 B = texture2D(sampler0, TexCoord_0 -dy ).xyz; vec3 C = texture2D(sampler0, TexCoord_0 +dx -dy ).xyz; vec3 D = texture2D(sampler0, TexCoord_0 -dx ).xyz; vec3 E = texture2D(sampler0, TexCoord_0 ).xyz; vec3 F = texture2D(sampler0, TexCoord_0 +dx ).xyz; vec3 G = texture2D(sampler0, TexCoord_0 -dx +dy ).xyz; vec3 H = texture2D(sampler0, TexCoord_0 +dy ).xyz; vec3 I = texture2D(sampler0, TexCoord_0 +dx +dy ).xyz; vec3 A1 = texture2D(sampler0, TexCoord_0 -dx -y2).xyz; vec3 C1 = texture2D(sampler0, TexCoord_0 +dx -y2).xyz; vec3 A0 = texture2D(sampler0, TexCoord_0 -x2 -dy).xyz; vec3 G0 = texture2D(sampler0, TexCoord_0 -x2 +dy).xyz; vec3 C4 = texture2D(sampler0, TexCoord_0 +x2 -dy).xyz; vec3 I4 = texture2D(sampler0, TexCoord_0 +x2 +dy).xyz; vec3 G5 = texture2D(sampler0, TexCoord_0 -dx +y2).xyz; vec3 I5 = texture2D(sampler0, TexCoord_0 +dx +y2).xyz; vec3 B1 = texture2D(sampler0, TexCoord_0 -y2).xyz; vec3 D0 = texture2D(sampler0, TexCoord_0 -x2 ).xyz; vec3 H5 = texture2D(sampler0, TexCoord_0 +y2).xyz; vec3 F4 = texture2D(sampler0, TexCoord_0 +x2 ).xyz; vec4 b = vec4(dot(B ,rgbw), dot(D ,rgbw), dot(H ,rgbw), dot(F ,rgbw)); vec4 c = vec4(dot(C ,rgbw), dot(A ,rgbw), dot(G ,rgbw), dot(I ,rgbw)); vec4 d = vec4(b.y, b.z, b.w, b.x); vec4 e = vec4(dot(E,rgbw)); vec4 f = vec4(b.w, b.x, b.y, b.z); vec4 g = vec4(c.z, c.w, c.x, c.y); vec4 h = vec
(homebrew) v1.11.3 2021-05-12 Error in shader program link: info: L0100 GLSL allows exactly two attached shaders (one of each type) per program fs: *Du vs: thin3d #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
DBZ TTT Ultimate Tenkaichi V2 v1.6.3-432-gfd6c3145d 2021-05-12 Error in shader program link: info: (unknown reason) fs: 00000000:01000012 Tex StenToAlpha StenUniform TFuncAdd #version 300 es precision lowp float; uniform sampler2D tex; uniform float u_stencilReplaceValue; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(p.rgb + t.rgb, p.a); fragColor0 = vec4(v.rgb, u_stencilReplaceValue); } vs: 00000000:00000910 HWX T Tex #version 300 es precision highp float; in vec3 position; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; out mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
NARUTO Shippuden: Ultimate Ninja Heroes 3 v1.10.3 2021-05-11 Error in shader program link: info: cannot find a matched output for input v_texcoordNC0 cannot find a matched output for input v_texcoordNC1 cannot find a matched output for input v_texcoordNC2 cannot find a matched output for input v_texcoordNC3 fs: postshader #ifdef GL_ES precision mediump float; #endif //Note : Recommend to use PPSSPP v1.1.1-183-gb411fc0 or newer for full functionality, there were some bugs in earlier versions. //Note2 : Upscaling, smoothing and sharpening filters are not set to be mixed between each other since the results are pointless(they counter each other). // Awas ngelag! :u //====================================================================================================================================================================== //SMOOTHING FILTERS: //If you love smooth graphics ~ those are also great for downscaling - to do that, you need to use higher rendering res than your display res //================ #define FXAA 1 //ON:1/OFF:0 /default FXAA, orginal info below //================ #define GAUSS_SQ 0 //ON:1/OFF:0 /full square gauss filtering #define Gsmoothing 2.5 //Default: 3.5 /increase for smoother(blurry) graphics //================ #define GAUSS_S 0 //ON:1/OFF:0 /simple gauss filtering by Bigpet, slightly different from above /you can find standalone in https://github.com/hrydgard/ppsspp/issues/7242 //================ //SHARPENING FILTERS: //if you need very sharp image, add lots of aliasing //================ #define SHARPEN 0 //ON:1/OFF:0 /a simple sharpen filter, might be counterproductive to FXAA and BLOOM, hence disabled by default #define value 0.98 //Default: 7.5 /higher = more visible effect //================ #define S_COM_V2 0 //Sharpen Complex v2 from https://github.com/mpc-hc similar to above in effect, maybe more accurate #define S_val0 5.0 //Default: 5.0 /higher ~ increases sharpness /negative ~ can add extra blurr/strange effect //================ //UPSCALING FILTERS: //To use those, you have to set rendering res to smaller than window/display size(x1 for best results) and screen scaling filter to "nearest" //Starting from v1.1.1-28-g70e9979 you can also add Upscaling=True to ini file(check example) to do it automatically //================ #define xBR 1 //ON:1/OFF:0 /5xBR upscale, nice for 2D games especially those that might be buggy with higher rendering res, initially made by Hyllian - license below #define VariantB 0 //ON:1/OFF:0 /slightly less effect on fonts, dots and other small details //================ #define xHQ 0 //ON:1/OFF:0 same as 4xHQ in PPSSPP, but actually using output resolution #define scaleoffset 0.75 //Default: 0.75 /you can tweek it between 0.5 and 1.0, Note: to little = no effect, to high = ugliness //================ //OTHER FILTERS: //Most effects from here on can be fully mixed without loosing previous effects. Exceptions: Natural Colors, Advanced Cartoon //================ #define BLOOM 0 //ON:1/OFF:0 /bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/ #define KIMOCHI 1 //Senpai! #define samples 3 //Default: 4 /higher = more glow, worse performance #define quality 0.22 //Default: 0.18 /lower = smaller glow, better quality #define Bpower 1.0 //Default: 1.0 /amount of bloom mixed //================ #define COLORED 1 //ON:1/OFF:0 /coloring part of KrossX Overlay Bloom shader from here http://www.mediafire.com/krossx#ste5pa5ijfa0o #define Cpower 0.69 //Default: 0.5 /strenght of the effect //================ #define NATURALC 0 //ON:1/OFF:0 /by popular demand, natular colors, note: this shader can't be fully mixed with smoothing/sharpening/upscaling effects #define ncpower 0.5 //Default:0.5 / higher = more natural color, check note line above //================ #define ACARTOON 0 //ON:1/OFF:0 Advanced Cartoon from Guest
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.6.3 2021-05-11 Error in shader program link: info: Link Error: Vertex shader is missing. fs: 00000000:0021d802 Tex LM Fog TFuncMod AlphaTest0 > #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in vec3 v_color1; uniform vec3 u_fogcolor; in highp float v_fogdepth; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; if (v.a < 0.002) discard; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01f30001:00000b1d HWX C T N LM Fog Tex Light: 0: c:1 t:0 1: c:0 t:0 2: c:0 t:0 3: c:0 t:0 MatUp:3 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out lowp vec3 v_color1; out highp vec3 v_texcoord; out highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * ldot; ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(ldot, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); toLight = u_lightpos3; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse3 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = clamp(lightSum1, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
eFootball PES 2021 By FAR Channel Indonesia v1.11.3 2021-05-11 Error in shader program link: info: Link failed because of missing fragment shader. fs: thin3d vs: thin3d #version 320 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
NFL STREET 2: Unleashed v1.6.3-432-gfd6c3145d 2021-05-11 Error in shader program link: info: L0100 GLSL allows exactly two attached shaders (one of each type) per program fs: 00000000:0000d022 Tex TexAlpha TFuncMod AlphaTest > #version 100 precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; varying mediump vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; gl_FragColor = v; } vs: 00000000:00000918 HWX C T Tex #version 100 precision highp float; attribute vec3 position; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
NFL STREET 2: Unleashed v1.6.3-432-gfd6c3145d 2021-05-11 Error in shader program link: info: L0100 GLSL allows exactly two attached shaders (one of each type) per program fs: 00000000:09000000 StenToAlpha Sten1 #version 100 precision lowp float; varying vec4 v_color0; void main() { vec4 v = v_color0 ; gl_FragColor = vec4(v.rgb, 1.0); } vs: 00000000:00000108 HWX C #version 100 precision highp float; attribute vec3 position; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; }
RIDGE RACER 2 v1.11.3-605-gb1a53d493 2021-05-16 Error in shader program link: info: L0001 The fragment floating-point variable u_texelDelta does not match the vertex variable u_texelDelta. The precision does not match. fs: postshader #version 320 es precision mediump float; precision highp int; uniform vec2 u_texelDelta; layout(binding = 0) uniform mediump sampler2D sampler0; in vec2 v_texcoord0; in vec2 v_texcoord1; out vec4 _RESERVED_IDENTIFIER_FIXUP_gl_FragColor; void main() { vec2 texcoordInPixels = ((v_texcoord0 * v_texcoord1) * 272.0) * u_texelDelta.y; vec2 centerCoord = floor(texcoordInPixels) + vec2(0.5); vec2 distFromCenter = abs(centerCoord - texcoordInPixels); float Y = max(distFromCenter.x, distFromCenter.y); Y *= Y; float YY = Y * Y; float YYY = YY * Y; float LineWeight = YY - (2.7000000476837158203125 * YYY); LineWeight = 1.0 - (14.0 * LineWeight); vec3 colour = texture(sampler0, v_texcoord0).xyz * LineWeight; _RESERVED_IDENTIFIER_FIXUP_gl_FragColor = vec4(colour, 1.0); } vs: postshader #version 320 es uniform vec2 u_texelDelta; out vec2 v_texcoord0; in vec2 a_texcoord0; in vec4 a_position; out vec2 v_texcoord1; void main() { v_texcoord0 = a_texcoord0; gl_Position = a_position; v_texcoord1 = vec2(1.0) / u_texelDelta; }
PETER JACKSON'S KING KONG v1.6.3-432-gfd6c3145d 2021-05-10 Error in shader program link: info: Link Error: Vertex shader is missing. fs: 00000000:00200022 Tex TexAlpha Fog TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; uniform vec3 u_fogcolor; in highp float v_fogdepth; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01010000:00050b5c HWX C T N Fog Tex TexProjUV UVMtx Light: MatUp:1 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out highp vec3 v_texcoord; out highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); mediump float ldot; v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = (u_texmtx * vec4(texcoord.xy, 0.0, 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
FIFA 12 v1.6.3 2021-05-09 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:00000022 Tex TexAlpha TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; fragColor0 = v; } vs: 00000000:00014150 HWX Tex TexProjPos UVMtx TessRevN #version 300 es precision highp float; in vec3 position; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; out highp vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = (u_texmtx * vec4(position.xyz, 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); }
(homebrew) v1.11.3 2021-05-09 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: flp x vs: flp (null)
(homebrew) v1.11.3 2021-05-08 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: ,^p (null) vs: ,^p (null)
God of War®: Ghost of Sparta v1.10.3 2021-05-08 Error in shader program link: info: Error: input v_texcoordNC0 not declared in output from previous stage. Error: Linking failed. fs: postshader #ifdef GL_ES precision mediump float; #endif //Note : Recommend to use PPSSPP v1.1.1-183-gb411fc0 or newer for full functionality, there were some bugs in earlier versions. //Note2 : Upscaling, smoothing and sharpening filters are not set to be mixed between each other since the results are pointless(they counter each other). // Awas ngelag! :u //====================================================================================================================================================================== //SMOOTHING FILTERS: //If you love smooth graphics ~ those are also great for downscaling - to do that, you need to use higher rendering res than your display res //================ #define FXAA 1 //ON:1/OFF:0 /default FXAA, orginal info below //================ #define GAUSS_SQ 0 //ON:1/OFF:0 /full square gauss filtering #define Gsmoothing 2.5 //Default: 3.5 /increase for smoother(blurry) graphics //================ #define GAUSS_S 0 //ON:1/OFF:0 /simple gauss filtering by Bigpet, slightly different from above /you can find standalone in https://github.com/hrydgard/ppsspp/issues/7242 //================ //SHARPENING FILTERS: //if you need very sharp image, add lots of aliasing //================ #define SHARPEN 0 //ON:1/OFF:0 /a simple sharpen filter, might be counterproductive to FXAA and BLOOM, hence disabled by default #define value 0.98 //Default: 7.5 /higher = more visible effect //================ #define S_COM_V2 0 //Sharpen Complex v2 from https://github.com/mpc-hc similar to above in effect, maybe more accurate #define S_val0 5.0 //Default: 5.0 /higher ~ increases sharpness /negative ~ can add extra blurr/strange effect //================ //UPSCALING FILTERS: //To use those, you have to set rendering res to smaller than window/display size(x1 for best results) and screen scaling filter to "nearest" //Starting from v1.1.1-28-g70e9979 you can also add Upscaling=True to ini file(check example) to do it automatically //================ #define xBR 1 //ON:1/OFF:0 /5xBR upscale, nice for 2D games especially those that might be buggy with higher rendering res, initially made by Hyllian - license below #define VariantB 0 //ON:1/OFF:0 /slightly less effect on fonts, dots and other small details //================ #define xHQ 0 //ON:1/OFF:0 same as 4xHQ in PPSSPP, but actually using output resolution #define scaleoffset 0.75 //Default: 0.75 /you can tweek it between 0.5 and 1.0, Note: to little = no effect, to high = ugliness //================ //OTHER FILTERS: //Most effects from here on can be fully mixed without loosing previous effects. Exceptions: Natural Colors, Advanced Cartoon //================ #define BLOOM 0 //ON:1/OFF:0 /bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/ #define KIMOCHI 1 //Senpai! #define samples 3 //Default: 4 /higher = more glow, worse performance #define quality 0.22 //Default: 0.18 /lower = smaller glow, better quality #define Bpower 1.0 //Default: 1.0 /amount of bloom mixed //================ #define COLORED 1 //ON:1/OFF:0 /coloring part of KrossX Overlay Bloom shader from here http://www.mediafire.com/krossx#ste5pa5ijfa0o #define Cpower 0.69 //Default: 0.5 /strenght of the effect //================ #define NATURALC 0 //ON:1/OFF:0 /by popular demand, natular colors, note: this shader can't be fully mixed with smoothing/sharpening/upscaling effects #define ncpower 0.5 //Default:0.5 / higher = more natural color, check note line above //================ #define ACARTOON 0 //ON:1/OFF:0 Advanced Cartoon from Guest shader pack #define th 0.10 //Default: 0.10 /outlines sensitivity, recommended from 0.00...0.50 #define
eFootball PES 2020 "C19" v1.6.3 2021-05-06 Error in shader program link: info: L0007 Fragment shader uses a varying v_fogdepth that has not been declared in the vertex shader. fs: 00000000:00200000 Fog #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; out vec4 fragColor0; void main() { vec4 v = v_color0 ; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 00000000:0000010c HWX C Fog #version 300 es precision highp float; in vec3 position; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
eFootball PES 2020 "C19" v1.6.3 2021-05-06 Error in shader program link: info: L0008 The fragment floating-point variable v_color0 does not match the vertex variable v_color0. The qualifier does not match. fs: 00000000:0001d000 AlphaTest0 > #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D testtex; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0 ; if (v.a < 0.002) discard; fragColor0 = v; } vs: 00000000:0000000a THR C #version 300 es precision highp float; in vec4 position; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; void main() { v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
eFootball PES 2020 "C19" v1.6.3 2021-05-06 Error in shader program link: info: L0008 The fragment floating-point variable v_color0 does not match the vertex variable v_color0. The qualifier does not match. fs: 00000000:00000001 Clear #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; in vec4 v_color0; out vec4 fragColor0; void main() { vec4 v = v_color0; fragColor0 = v; } vs: 00000000:0000000a THR C #version 300 es precision highp float; in vec4 position; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; void main() { v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
(homebrew) v1.11.3 2021-05-17 Error in shader program link: info: Link Error: Fragment shader is missing. fs: thin3d vs: thin3d #version 320 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; varying vec4 oColor0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; }
God of War®: Ghost of Sparta v1.11.3 2021-05-05 Error in shader program link: info: Link failed because of missing fragment shader. fs: thin3d vs: thin3d #version 310 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
God of War™: Ghost of Sparta v1.11.3 2021-05-05 Error in shader program link: info: The fragment shader uses varying v_position, but previous shader does not write to it. fs: postshader #ifdef GL_ES precision mediump float; #endif // Spline36 upscaling shader. // See issue #3921 #ifdef GL_ES precision mediump float; precision mediump int; #endif uniform sampler2D sampler0; varying vec2 v_position; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; const vec2 HALF_PIXEL = vec2(0.5, 0.5); float spline36_0_1(float x) { return ((13.0 / 11.0 * x - 453.0 / 209.0) * x - 3.0 / 209.0) * x + 1.0; } float spline36_1_2(float x) { return ((-6.0 / 11.0 * x + 612.0 / 209.0) * x - 1038.0 / 209.0) * x + 540.0 / 209.0; } float spline36_2_3(float x) { return ((1.0 / 11.0 * x - 159.0 / 209.0) * x + 434.0 / 209.0) * x - 384.0 / 209.0; } vec4 rgb(int inputX, int inputY) { return texture2D(sampler0, (vec2(inputX, inputY) + HALF_PIXEL) * u_texelDelta); } vec4 interpolateHorizontally(vec2 inputPos, ivec2 inputPosFloor, int dy) { float sumOfWeights = 0.0; vec4 sumOfWeightedPixel = vec4(0.0); float x; float weight; x = inputPos.x - float(inputPosFloor.x - 2); weight = spline36_2_3(x); sumOfWeights += weight; sumOfWeightedPixel += weight * rgb(inputPosFloor.x - 2, inputPosFloor.y + dy); --x; weight = spline36_1_2(x); sumOfWeights += weight; sumOfWeightedPixel += weight * rgb(inputPosFloor.x - 1, inputPosFloor.y + dy); --x; weight = spline36_0_1(x); sumOfWeights += weight; sumOfWeightedPixel += weight * rgb(inputPosFloor.x + 0, inputPosFloor.y + dy); x = 1.0 - x; weight = spline36_0_1(x); sumOfWeights += weight; sumOfWeightedPixel += weight * rgb(inputPosFloor.x + 1, inputPosFloor.y + dy); ++x; weight = spline36_1_2(x); sumOfWeights += weight; sumOfWeightedPixel += weight * rgb(inputPosFloor.x + 2, inputPosFloor.y + dy); ++x; weight = spline36_2_3(x); sumOfWeights += weight; sumOfWeightedPixel += weight * rgb(inputPosFloor.x + 3, inputPosFloor.y + dy); return sumOfWeightedPixel / sumOfWeights; } vec4 process(vec2 outputPos) { vec2 inputPos = outputPos / u_texelDelta; ivec2 inputPosFloor = ivec2(inputPos); // Vertical interporation float sumOfWeights = 0.0; vec4 sumOfWeightedPixel = vec4(0.0); float weight; float y; y = inputPos.y - float(inputPosFloor.y - 2); weight = spline36_2_3(y); sumOfWeights += weight; sumOfWeightedPixel += weight * interpolateHorizontally(inputPos, inputPosFloor, -2); --y; weight = spline36_1_2(y); sumOfWeights += weight; sumOfWeightedPixel += weight * interpolateHorizontally(inputPos, inputPosFloor, -1); --y; weight = spline36_0_1(y); sumOfWeights += weight; sumOfWeightedPixel += weight * interpolateHorizontally(inputPos, inputPosFloor, +0); y = 1.0 - y; weight = spline36_0_1(y); sumOfWeights += weight; sumOfWeightedPixel += weight * interpolateHorizontally(inputPos, inputPosFloor, +1); ++y; weight = spline36_1_2(y); sumOfWeights += weight; sumOfWeightedPixel += weight * interpolateHorizontally(inputPos, inputPosFloor, +2); ++y; weight = spline36_2_3(y); sumOfWeights += weight; sumOfWeightedPixel += weight * interpolateHorizontally(inputPos, inputPosFloor, +3); return vec4((sumOfWeightedPixel / sumOfWeights).xyz, 1.0); } void main() { gl_FragColor.rgba = process(v_position); } vs: postshader attribute vec4 a_position; attribute vec2 a_texcoord0; varying vec2 v_texcoord0; void main() { v_texcoord0 = a_texcoord0; gl_Position = a_position; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.3 2021-05-05 Error in shader program link: info: Link failed because of missing fragment shader. fs: thin3d vs: thin3d #version 310 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
JOGRESS V3 v1.11 2021-05-04 Error in shader program link: info: L0001 The fragment shader uniform floating-point u_texelDelta does not match the vertex shader uniform floating-point u_texelDelta. The precision does not match. fs: postshader #version 300 es precision mediump float; precision highp int; uniform mediump sampler2D sampler0; uniform vec4 u_time; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; in vec2 v_texcoord0; out vec4 _gl_FragColor; mediump int SEPIA; mediump int GRAYSCALE; mediump int NEGATIVE; mediump int PSPCOLORS; void main() { SEPIA = 0; GRAYSCALE = 0; NEGATIVE = 0; PSPCOLORS = 0; vec3 color = texture(sampler0, v_texcoord0).xyz; vec3 colorB = color; mediump int hatsu = 0; float sat = 1.10000002384185791015625; float brt = 1.2999999523162841796875; float con = 1.10000002384185791015625; float AvgLumR = 1.10000002384185791015625; float AvgLumG = 1.2000000476837158203125; float AvgLumB = 1.2000000476837158203125; if (SEPIA == 1) { sat = 0.00999999977648258209228515625; brt = 1.75; con = 1.0; AvgLumR = 0.439999997615814208984375; AvgLumG = 0.2599999904632568359375; AvgLumB = 0.07999999821186065673828125; } if (GRAYSCALE == 1) { sat = 0.0; brt = 1.0; con = 1.0; AvgLumR = 1.0; AvgLumG = 1.0; AvgLumB = 1.0; } if (NEGATIVE == 1) { sat = 1.0; brt = 1.0; con = -1.0; AvgLumR = 1.0; AvgLumG = 1.0; AvgLumB = 1.0; } if (PSPCOLORS == 1) { sat = 1.0; brt = 1.0; con = 1.0; AvgLumR = 0.959299981594085693359375; AvgLumG = 1.0738999843597412109375; AvgLumB = 1.46039998531341552734375; } vec3 AvgLumin = vec3(AvgLumR, AvgLumG, AvgLumB); vec3 conRGB = vec3(0.5); vec3 brtColor = color * brt; vec3 intensity = vec3(((brtColor.x * 0.2125000059604644775390625) + (brtColor.y * 0.7153999805450439453125)) + (brtColor.z * 0.07209999859333038330078125)); vec3 satColor = mix(intensity, brtColor, vec3(sat)); vec3 conColor = mix(conRGB, satColor, vec3(con)); vec3 mixColor = AvgLumin * conColor; color = mixColor; _gl_FragColor = vec4(color.x, color.y, color.z, _gl_FragColor.w); _gl_FragColor.w = 1.0; } vs: postshader #version 300 es uniform vec2 u_texelDelta; out vec2 v_texcoord0; in vec2 a_texcoord0; in vec4 a_position; out vec4 v_texcoordNC0; out vec4 v_texcoordNC1; out vec4 v_texcoordNC2; out vec4 v_texcoordNC3; void main() { v_texcoord0 = a_texcoord0; gl_Position = a_position; v_texcoordNC0 = a_texcoord0.xyxy + (vec4(-0.5, -0.5, -1.5, -1.5) * u_texelDelta.xyxy); v_texcoordNC1 = a_texcoord0.xyxy + (vec4(0.5, -0.5, 1.5, -1.5) * u_texelDelta.xyxy); v_texcoordNC2 = a_texcoord0.xyxy + (vec4(-0.5, 0.5, -1.5, 1.5) * u_texelDelta.xyxy); v_texcoordNC3 = a_texcoord0.xyxy + (vec4(0.5, 0.5, 1.5, 1.5) * u_texelDelta.xyxy); }
JOGRESS V3 v1.11 2021-05-04 Error in shader program link: info: L0001 The fragment shader uniform floating-point u_texelDelta does not match the vertex shader uniform floating-point u_texelDelta. The precision does not match. fs: postshader #version 300 es precision mediump float; precision highp int; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; uniform mediump sampler2D sampler0; uniform vec4 u_time; in vec2 v_texcoord0; out vec4 _gl_FragColor; in vec4 v_texcoordNC0; in vec4 v_texcoordNC1; in vec4 v_texcoordNC2; in vec4 v_texcoordNC3; mediump int SEPIA; mediump int GRAYSCALE; mediump int NEGATIVE; mediump int PSPCOLORS; bvec4 _and_(bvec4 A, bvec4 B) { return bvec4(A.x && B.x, A.y && B.y, A.z && B.z, A.w && B.w); } vec4 df(vec4 A, vec4 B) { return abs(A - B); } bvec4 close(vec4 A, vec4 B) { highp vec4 param = A; highp vec4 param_1 = B; return lessThan(df(param, param_1), vec4(15.0)); } bvec4 _or_(bvec4 A, bvec4 B) { return bvec4(A.x || B.x, A.y || B.y, A.z || B.z, A.w || B.w); } vec4 weighted_distance(vec4 a, vec4 b, vec4 c, vec4 d, vec4 e, vec4 f, vec4 g, vec4 h) { highp vec4 param = a; highp vec4 param_1 = b; highp vec4 param_2 = a; highp vec4 param_3 = c; highp vec4 param_4 = d; highp vec4 param_5 = e; highp vec4 param_6 = d; highp vec4 param_7 = f; highp vec4 param_8 = g; highp vec4 param_9 = h; return (((df(param, param_1) + df(param_2, param_3)) + df(param_4, param_5)) + df(param_6, param_7)) + (df(param_8, param_9) * 4.0); } vec3 processxBR(vec3 color) { vec2 pS = vec2(1.0) / u_texelDelta; vec2 fp = fract(v_texcoord0 * pS); vec2 TexCoord_0 = v_texcoord0 - (fp * u_pixelDelta); vec2 dx = vec2(u_texelDelta.x, 0.0); vec2 dy = vec2(0.0, u_texelDelta.y); vec2 y2 = dy + dy; vec2 x2 = dx + dx; vec3 A = texture(sampler0, (TexCoord_0 - dx) - dy).xyz; vec3 B = texture(sampler0, TexCoord_0 - dy).xyz; vec3 C = texture(sampler0, (TexCoord_0 + dx) - dy).xyz; vec3 D = texture(sampler0, TexCoord_0 - dx).xyz; vec3 E = texture(sampler0, TexCoord_0).xyz; vec3 F = texture(sampler0, TexCoord_0 + dx).xyz; vec3 G = texture(sampler0, (TexCoord_0 - dx) + dy).xyz; vec3 H = texture(sampler0, TexCoord_0 + dy).xyz; vec3 I = texture(sampler0, (TexCoord_0 + dx) + dy).xyz; vec3 A1 = texture(sampler0, (TexCoord_0 - dx) - y2).xyz; vec3 C1 = texture(sampler0, (TexCoord_0 + dx) - y2).xyz; vec3 A0 = texture(sampler0, (TexCoord_0 - x2) - dy).xyz; vec3 G0 = texture(sampler0, (TexCoord_0 - x2) + dy).xyz; vec3 C4 = texture(sampler0, (TexCoord_0 + x2) - dy).xyz; vec3 I4 = texture(sampler0, (TexCoord_0 + x2) + dy).xyz; vec3 G5 = texture(sampler0, (TexCoord_0 - dx) + y2).xyz; vec3 I5 = texture(sampler0, (TexCoord_0 + dx) + y2).xyz; vec3 B1 = texture(sampler0, TexCoord_0 - y2).xyz; vec3 D0 = texture(sampler0, TexCoord_0 - x2).xyz; vec3 H5 = texture(sampler0, TexCoord_0 + y2).xyz; vec3 F4 = texture(sampler0, TexCoord_0 + x2).xyz; vec4 b = vec4(dot(B, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(D, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(H, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(F, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 c = vec4(dot(C, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(A, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(G, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(I, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 d = vec4(b.y, b.z, b.w, b.x); vec4 e = vec4(dot(E, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 f = vec4(b.w, b.x, b.y, b.z); vec4 g = vec4(c.z, c.w, c.x, c.y); vec4 h = vec4(b.z, b.w, b.x, b.y); vec4 i = vec4(c.w, c.x, c.y, c.z); vec4 i4 = vec4(dot(I4, vec3(16.1630001068115234375, 23.350999832153320
JOGRESS V3 v1.11 2021-05-04 Error in shader program link: info: L0001 The fragment shader uniform floating-point u_texelDelta does not match the vertex shader uniform floating-point u_texelDelta. The precision does not match. fs: postshader #version 300 es precision mediump float; precision highp int; uniform vec2 u_pixelDelta; uniform mediump sampler2D sampler0; uniform vec4 u_time; uniform vec2 u_texelDelta; in vec2 v_texcoord0; out vec4 _gl_FragColor; in vec4 v_texcoordNC0; in vec4 v_texcoordNC1; in vec4 v_texcoordNC2; in vec4 v_texcoordNC3; mediump int SEPIA; mediump int GRAYSCALE; mediump int NEGATIVE; mediump int PSPCOLORS; vec3 processGAUSS_SQ(inout vec3 color) { float GAUSS_KERNEL_SIZE = 5.0; vec2 offset = (u_pixelDelta * 3.5) / vec2(GAUSS_KERNEL_SIZE); vec3 cGauss0 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0))).xyz * 1.0; vec3 cGauss1 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0, -2.0))).xyz * 4.0; vec3 cGauss2 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0, -2.0))).xyz * 7.0; vec3 cGauss3 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0, -2.0))).xyz * 4.0; vec3 cGauss4 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0, -2.0))).xyz * 1.0; vec3 cGauss5 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0, -1.0))).xyz * 4.0; vec3 cGauss6 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0))).xyz * 16.0; vec3 cGauss7 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0, -1.0))).xyz * 26.0; vec3 cGauss8 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0, -1.0))).xyz * 16.0; vec3 cGauss9 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0, -1.0))).xyz * 4.0; vec3 cGauss10 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0, 0.0))).xyz * 7.0; vec3 cGauss11 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0, 0.0))).xyz * 26.0; vec3 cGauss12 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0))).xyz * 41.0; vec3 cGauss13 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0, 0.0))).xyz * 26.0; vec3 cGauss14 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0, 0.0))).xyz * 7.0; vec3 cGauss15 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0, 1.0))).xyz * 4.0; vec3 cGauss16 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0, 1.0))).xyz * 16.0; vec3 cGauss17 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0, 1.0))).xyz * 26.0; vec3 cGauss18 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0))).xyz * 16.0; vec3 cGauss19 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0, 1.0))).xyz * 4.0; vec3 cGauss20 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0, 2.0))).xyz * 1.0; vec3 cGauss21 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0, 2.0))).xyz * 4.0; vec3 cGauss22 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0, 2.0))).xyz * 7.0; vec3 cGauss23 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0, 2.0))).xyz * 4.0; vec3 cGauss24 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0))).xyz * 1.0; color = (((((((((((((((((((((((cGauss0 + cGauss1) + cGauss2) + cGauss3) + cGauss4) + cGauss5) + cGauss6) + cGauss7) + cGauss8) + cGauss9) + cGauss10) + cGauss11) + cGauss12) + cGauss13) + cGauss14) + cGauss15) + cGauss16) + cGauss17) + cGauss18) + cGauss19) + cGauss20) + cGauss21) + cGauss22) + cGauss23) + cGauss24; color /= vec3(273.0); return color; } vec3 processBLOOM(inout vec3 color, vec3 colorB, mediump int hatsu) { vec4 sum = vec4(0.0); mediump int diffx = 2; mediump int diffy = 3; for (mediump int ib = -diffy; ib < diffy; ib++) { for (mediump int jb = -diffx; jb < diffx; jb++) { sum += (texture(sampler0, v_texcoord0 + (vec2(float(jb), float(ib)) * 0.00200000009499490261077880859375)) * 0.2199999988079071044921875); } } float _451 = color.x; bool _453 = _451 < 0.300000011920928955078125; bool _460; if (_453) { _460 = color.y < 0.300000011920928955078125; } else { _460 = _453; } bool _467; if (_460) { _467 = color.z < 0.30000001192
JOGRESS V3 v1.11 2021-05-04 Error in shader program link: info: L0001 The fragment shader uniform floating-point u_texelDelta does not match the vertex shader uniform floating-point u_texelDelta. The precision does not match. fs: postshader #version 300 es precision mediump float; precision highp int; uniform vec2 u_pixelDelta; uniform mediump sampler2D sampler0; uniform vec4 u_time; uniform vec2 u_texelDelta; in vec2 v_texcoord0; out vec4 _gl_FragColor; in vec4 v_texcoordNC0; in vec4 v_texcoordNC1; in vec4 v_texcoordNC2; in vec4 v_texcoordNC3; mediump int SEPIA; mediump int GRAYSCALE; mediump int NEGATIVE; mediump int PSPCOLORS; vec3 processGAUSS_SQ(inout vec3 color) { float GAUSS_KERNEL_SIZE = 5.0; vec2 offset = (u_pixelDelta * 4.0) / vec2(GAUSS_KERNEL_SIZE); vec3 cGauss0 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0))).xyz * 1.0; vec3 cGauss1 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0, -2.0))).xyz * 4.0; vec3 cGauss2 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0, -2.0))).xyz * 7.0; vec3 cGauss3 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0, -2.0))).xyz * 4.0; vec3 cGauss4 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0, -2.0))).xyz * 1.0; vec3 cGauss5 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0, -1.0))).xyz * 4.0; vec3 cGauss6 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0))).xyz * 16.0; vec3 cGauss7 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0, -1.0))).xyz * 26.0; vec3 cGauss8 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0, -1.0))).xyz * 16.0; vec3 cGauss9 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0, -1.0))).xyz * 4.0; vec3 cGauss10 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0, 0.0))).xyz * 7.0; vec3 cGauss11 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0, 0.0))).xyz * 26.0; vec3 cGauss12 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0))).xyz * 41.0; vec3 cGauss13 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0, 0.0))).xyz * 26.0; vec3 cGauss14 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0, 0.0))).xyz * 7.0; vec3 cGauss15 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0, 1.0))).xyz * 4.0; vec3 cGauss16 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0, 1.0))).xyz * 16.0; vec3 cGauss17 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0, 1.0))).xyz * 26.0; vec3 cGauss18 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0))).xyz * 16.0; vec3 cGauss19 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0, 1.0))).xyz * 4.0; vec3 cGauss20 = texture(sampler0, v_texcoord0 + (offset * vec2(-2.0, 2.0))).xyz * 1.0; vec3 cGauss21 = texture(sampler0, v_texcoord0 + (offset * vec2(-1.0, 2.0))).xyz * 4.0; vec3 cGauss22 = texture(sampler0, v_texcoord0 + (offset * vec2(0.0, 2.0))).xyz * 7.0; vec3 cGauss23 = texture(sampler0, v_texcoord0 + (offset * vec2(1.0, 2.0))).xyz * 4.0; vec3 cGauss24 = texture(sampler0, v_texcoord0 + (offset * vec2(2.0))).xyz * 1.0; color = (((((((((((((((((((((((cGauss0 + cGauss1) + cGauss2) + cGauss3) + cGauss4) + cGauss5) + cGauss6) + cGauss7) + cGauss8) + cGauss9) + cGauss10) + cGauss11) + cGauss12) + cGauss13) + cGauss14) + cGauss15) + cGauss16) + cGauss17) + cGauss18) + cGauss19) + cGauss20) + cGauss21) + cGauss22) + cGauss23) + cGauss24; color /= vec3(273.0); return color; } vec3 processSHADEBOOST(inout vec3 color) { float sat = 1.7999999523162841796875; float brt = 0.800000011920928955078125; float con = 1.10000002384185791015625; float AvgLumR = 1.39999997615814208984375; float AvgLumG = 1.39999997615814208984375; float AvgLumB = 1.39999997615814208984375; if (SEPIA == 1) { sat = 0.00999999977648258209228515625; brt = 1.75; con = 1.0; AvgLumR = 0.439999997615814208984375; AvgLumG = 0.2599999904632568359375; AvgLumB = 0.07999999821186065673828125; } if (GRAYSCALE == 1) { sat = 0.0; brt = 1.0; con = 1.0; AvgLumR = 1.0; AvgLumG = 1.0; AvgLumB = 1.0;
JOGRESS V3 v1.11 2021-05-04 Error in shader program link: info: L0001 The fragment shader uniform floating-point u_texelDelta does not match the vertex shader uniform floating-point u_texelDelta. The precision does not match. fs: postshader #version 300 es precision mediump float; precision highp int; uniform vec2 u_pixelDelta; uniform mediump sampler2D sampler0; uniform vec4 u_time; uniform vec2 u_texelDelta; in vec2 v_texcoord0; out vec4 _gl_FragColor; in vec4 v_texcoordNC0; in vec4 v_texcoordNC1; in vec4 v_texcoordNC2; in vec4 v_texcoordNC3; mediump int SEPIA; mediump int GRAYSCALE; mediump int NEGATIVE; mediump int PSPCOLORS; vec3 processGAUSS_S(inout vec3 color) { float GAUSSS_SPAN_MAX = 1.5; float GAUSSS_KERNEL_SIZE = 5.0; vec2 offsetS = (u_pixelDelta * GAUSSS_SPAN_MAX) / vec2(GAUSSS_KERNEL_SIZE); vec3 cGaussS0 = texture(sampler0, v_texcoord0 + (offsetS * vec2(0.0, -2.0))).xyz * 1.0; vec3 cGaussS1 = texture(sampler0, v_texcoord0 + (offsetS * vec2(-1.0))).xyz * 3.0; vec3 cGaussS2 = texture(sampler0, v_texcoord0 + (offsetS * vec2(0.0, -1.0))).xyz * 8.0; vec3 cGaussS3 = texture(sampler0, v_texcoord0 + (offsetS * vec2(1.0, -1.0))).xyz * 3.0; vec3 cGaussS4 = texture(sampler0, v_texcoord0 + (offsetS * vec2(-2.0, 0.0))).xyz * 1.0; vec3 cGaussS5 = texture(sampler0, v_texcoord0 + (offsetS * vec2(-1.0, 0.0))).xyz * 8.0; vec3 cGaussS6 = texture(sampler0, v_texcoord0 + (offsetS * vec2(0.0))).xyz * 10.0; vec3 cGaussS7 = texture(sampler0, v_texcoord0 + (offsetS * vec2(1.0, 0.0))).xyz * 8.0; vec3 cGaussS8 = texture(sampler0, v_texcoord0 + (offsetS * vec2(2.0, 0.0))).xyz * 1.0; vec3 cGaussS9 = texture(sampler0, v_texcoord0 + (offsetS * vec2(-1.0, 1.0))).xyz * 3.0; vec3 cGaussS10 = texture(sampler0, v_texcoord0 + (offsetS * vec2(0.0, 1.0))).xyz * 8.0; vec3 cGaussS11 = texture(sampler0, v_texcoord0 + (offsetS * vec2(1.0))).xyz * 3.0; vec3 cGaussS12 = texture(sampler0, v_texcoord0 + (offsetS * vec2(0.0, 2.0))).xyz * 1.0; color = (((((((((((cGaussS0 + cGaussS1) + cGaussS2) + cGaussS3) + cGaussS4) + cGaussS5) + cGaussS6) + cGaussS7) + cGaussS8) + cGaussS9) + cGaussS10) + cGaussS11) + cGaussS12; color /= vec3(58.0); return color; } vec3 processSHADEBOOST(inout vec3 color) { float sat = 1.89999997615814208984375; float brt = 0.699999988079071044921875; float con = 1.2000000476837158203125; float AvgLumR = 1.5; float AvgLumG = 1.5; float AvgLumB = 1.5; if (SEPIA == 1) { sat = 0.00999999977648258209228515625; brt = 1.75; con = 1.0; AvgLumR = 0.439999997615814208984375; AvgLumG = 0.2599999904632568359375; AvgLumB = 0.07999999821186065673828125; } if (GRAYSCALE == 1) { sat = 0.0; brt = 1.0; con = 1.0; AvgLumR = 1.0; AvgLumG = 1.0; AvgLumB = 1.0; } if (NEGATIVE == 1) { sat = 1.0; brt = 1.0; con = -1.0; AvgLumR = 1.0; AvgLumG = 1.0; AvgLumB = 1.0; } if (PSPCOLORS == 1) { sat = 1.0; brt = 1.0; con = 1.0; AvgLumR = 0.959299981594085693359375; AvgLumG = 1.0738999843597412109375; AvgLumB = 1.46039998531341552734375; } vec3 AvgLumin = vec3(AvgLumR, AvgLumG, AvgLumB); vec3 conRGB = vec3(0.5); vec3 brtColor = color * brt; vec3 intensity = vec3(((brtColor.x * 0.2125000059604644775390625) + (brtColor.y * 0.7153999805450439453125)) + (brtColor.z * 0.07209999859333038330078125)); vec3 satColor = mix(intensity, brtColor, vec3(sat)); vec3 conColor = mix(conRGB, satColor, vec3(con)); vec3 mixColor = AvgLumin * conColor; color = mixColor; return color; } void main() { SEPIA = 0; GRAYSCALE = 0; NEGATIVE = 0; PSPCOLORS = 5; vec3 color = texture(sampler0, v_texcoord0).xyz; highp vec3 param = color; vec3 _311 = processGAUSS_S(param); color = _311; highp vec3 param_1 = color; vec3 _314 = processSHADEBOOST(param_1); color = _314; _gl_FragColor = vec4(color.x, color.y,
DBS TTT Multiples Sagaz By LuisXD v1.11.3 2021-05-04 Error in shader program link: info: Link failed because of missing fragment shader. fs: thin3d vs: thin3d #version 320 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
Syphon Filter®: Dark Mirror v1.11.3 2021-05-03 Error in shader program link: info: Link Error: Fragment shader is missing. fs: thin3d vs: thin3d #version 320 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
UFC® Undisputed™ 2010 v1.11.3 2021-05-03 Error in shader program link: info: ERROR:LEX/PARSE-1 (line 432) Syntax error fs: postshader #ifdef GL_ES precision mediump float; #endif //Dilarang keras untuk Copas dan Riname tanpa ijin //Hargai Pembuat jika ingin di hargai // no copas no rename tanpa ijin //Note : Recommend to use PPSSP v1.1.1/====================================================================================================================================================================== //================ #define FXAA 0 //================ #define GAUSS_SQ 0 //3ds #define Gsmoothing 2.2 //3ds //================ #define GAUSS_S 1 //3ds //================ #define SHARPEN 0 //3ds #define value 2.5 //3ds //================ #define S_COM_V2 0 //3ds #define S_val0 5.0 //3ds //================ #define xBR 0 //3ds #define VariantB 0 //3ds //================ #define xHQ 0 //3ds #define scaleoffset 0.75 //3ds //================ #define BLOOM 0 //3ds #define MIKU 1 //3ds #define samples 4 //3ds #define quality 0.10 //3ds #define Bpower 0.1 //3ds //================ #define COLORED 0 //3ds #define Cpower 0.5 //3ds //================ #define NATURALC 0 //3ds #define ncpower 0.7 //3ds //================ #define ACARTOON 0 //3ds #define th 0.10 //3ds #define bb 0.10 //3ds #define pp 0.10 //3ds #define acpower 0.5 //3ds //================ #define SHADEBOOST 1 //3ds #define saturation 1.9 //3ds #define brightness 0.7 //3ds #define contrast 1.2 //3ds #define red 1.5 //3ds #define green 1.5 //3ds #define blue 1.5 //3ds int SEPIA = 0; //3ds int GRAYSCALE = 0; //3ds int NEGATIVE = 0; //3ds int PSPCOLORS = 5; //3ds //================ #define GAMMA 0 //3ds #define correction 1.9 //3ds //================ #define SCANLINES 0 //3ds #define SLsize 1 //3ds #define SLcolor 2.8 //3ds #define SLpower 0.4 //3ds #define SLV 0 //3ds //================ #define VIGNETTE 0 //3ds #define vsize 1.2 //3ds #define VIpos 0.0 //3ds #define deVi 0 //3ds //================ #define TEST 0 //3ds #define TESTANIM 0 //3ds #define testAspeed 1.0 //3ds //====================================================================================================================================================================== // /* FXAA shader, GLSL code adapted from: http://horde3d.org/wiki/index.php5?title=Shading_Technique_-_FXAA Whitepaper describing the technique: http://developer.download.nvidia.com/assets/gamedev/files/sdk/11/FXAA_WhitePaper.pdf */ /* Hyllian's 5xBR v3.5a Shader Copyright (C) 2011 Hyllian/Jararaca - [email protected] 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, Hunt, MA 02111-1307, 3ds. */ /* 4xGLSL HqFilter shader, Modified to use in PPSSPP. Grabbed from: http://forums.ngemu.com/showthread.php?t=76098
NEED FOR SPEED™ MOST WANTED 5-1-0 v1.11.3 2021-05-02 Error in shader program link: info: Variable u_texelDelta has unmatched precision qualifier in different shaders fs: postshader #version 320 es precision mediump float; precision highp int; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; layout(binding = 0) uniform mediump sampler2D sampler0; uniform vec4 u_time; in vec2 v_texcoord0; out vec4 _gl_FragColor; in vec4 v_texcoordNC0; in vec4 v_texcoordNC1; in vec4 v_texcoordNC2; in vec4 v_texcoordNC3; mediump int SEPIA; mediump int GRAYSCALE; mediump int NEGATIVE; mediump int PSPCOLORS; bvec4 _and_(bvec4 A, bvec4 B) { return bvec4(A.x && B.x, A.y && B.y, A.z && B.z, A.w && B.w); } vec4 df(vec4 A, vec4 B) { return abs(A - B); } bvec4 close(vec4 A, vec4 B) { highp vec4 param = A; highp vec4 param_1 = B; return lessThan(df(param, param_1), vec4(15.0)); } bvec4 _or_(bvec4 A, bvec4 B) { return bvec4(A.x || B.x, A.y || B.y, A.z || B.z, A.w || B.w); } vec4 weighted_distance(vec4 a, vec4 b, vec4 c, vec4 d, vec4 e, vec4 f, vec4 g, vec4 h) { highp vec4 param = a; highp vec4 param_1 = b; highp vec4 param_2 = a; highp vec4 param_3 = c; highp vec4 param_4 = d; highp vec4 param_5 = e; highp vec4 param_6 = d; highp vec4 param_7 = f; highp vec4 param_8 = g; highp vec4 param_9 = h; return (((df(param, param_1) + df(param_2, param_3)) + df(param_4, param_5)) + df(param_6, param_7)) + (df(param_8, param_9) * 4.0); } vec3 processxBR(vec3 color) { vec2 pS = vec2(1.0) / u_texelDelta; vec2 fp = fract(v_texcoord0 * pS); vec2 TexCoord_0 = v_texcoord0 - (fp * u_pixelDelta); vec2 dx = vec2(u_texelDelta.x, 0.0); vec2 dy = vec2(0.0, u_texelDelta.y); vec2 y2 = dy + dy; vec2 x2 = dx + dx; vec3 A = texture(sampler0, (TexCoord_0 - dx) - dy).xyz; vec3 B = texture(sampler0, TexCoord_0 - dy).xyz; vec3 C = texture(sampler0, (TexCoord_0 + dx) - dy).xyz; vec3 D = texture(sampler0, TexCoord_0 - dx).xyz; vec3 E = texture(sampler0, TexCoord_0).xyz; vec3 F = texture(sampler0, TexCoord_0 + dx).xyz; vec3 G = texture(sampler0, (TexCoord_0 - dx) + dy).xyz; vec3 H = texture(sampler0, TexCoord_0 + dy).xyz; vec3 I = texture(sampler0, (TexCoord_0 + dx) + dy).xyz; vec3 A1 = texture(sampler0, (TexCoord_0 - dx) - y2).xyz; vec3 C1 = texture(sampler0, (TexCoord_0 + dx) - y2).xyz; vec3 A0 = texture(sampler0, (TexCoord_0 - x2) - dy).xyz; vec3 G0 = texture(sampler0, (TexCoord_0 - x2) + dy).xyz; vec3 C4 = texture(sampler0, (TexCoord_0 + x2) - dy).xyz; vec3 I4 = texture(sampler0, (TexCoord_0 + x2) + dy).xyz; vec3 G5 = texture(sampler0, (TexCoord_0 - dx) + y2).xyz; vec3 I5 = texture(sampler0, (TexCoord_0 + dx) + y2).xyz; vec3 B1 = texture(sampler0, TexCoord_0 - y2).xyz; vec3 D0 = texture(sampler0, TexCoord_0 - x2).xyz; vec3 H5 = texture(sampler0, TexCoord_0 + y2).xyz; vec3 F4 = texture(sampler0, TexCoord_0 + x2).xyz; vec4 b = vec4(dot(B, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(D, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(H, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(F, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 c = vec4(dot(C, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(A, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(G, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(I, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 d = vec4(b.y, b.z, b.w, b.x); vec4 e = vec4(dot(E, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 f = vec4(b.w, b.x, b.y, b.z); vec4 g = vec4(c.z, c.w, c.x, c.y); vec4 h = vec4(b.z, b.w, b.x, b.y); vec4 i = vec4(c.w, c.x, c.y, c.z); vec4 i4 = vec4(dot(I4, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(C1, vec3(16.1630001068115234375,
NARUTO-ナルト- 疾風伝 ナルティメットインパクト 体験版 v1.11.3 2021-05-02 Error in shader program link: info: (unknown reason) fs: 00000000:0a21d022 Tex TexAlpha Fog StenToAlphaDual Sten1 TFuncMod AlphaTest0 > #version 320 es #extension GL_EXT_blend_func_extended : require #extension GL_EXT_shader_framebuffer_fetch : require // Adreno (TM) 506 - GLSL 320 #define DISCARD discard precision lowp float; precision highp int; #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; uniform sampler2D testtex; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; out vec4 fragColor1; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if (v.a < 0.002) DISCARD; fragColor0 = vec4(v.rgb, 1.0); fragColor1 = vec4(0.0, 0.0, 0.0, v.a); } vs: 00000000:0000093c HWX C T Fog Tex Cull #version 320 es // Adreno (TM) 506 - GLSL 320 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
NARUTO-ナルト- 疾風伝 ナルティメットインパクト 体験版 v1.11.3 2021-05-02 Error in shader program link: info: (unknown reason) fs: 00000000:0a200022 Tex TexAlpha Fog StenToAlphaDual Sten1 TFuncMod #version 320 es #extension GL_EXT_blend_func_extended : require #extension GL_EXT_shader_framebuffer_fetch : require // Adreno (TM) 506 - GLSL 320 #define DISCARD discard precision lowp float; precision highp int; #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; out vec4 fragColor1; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = vec4(v.rgb, 1.0); fragColor1 = vec4(0.0, 0.0, 0.0, v.a); } vs: 00000000:0000093c HWX C T Fog Tex Cull #version 320 es // Adreno (TM) 506 - GLSL 320 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
NARUTO-ナルト- 疾風伝 ナルティメットインパクト 体験版 v1.11.3 2021-05-02 Error in shader program link: info: (unknown reason) fs: 00000000:00200022 Tex TexAlpha Fog TFuncMod #version 320 es #extension GL_EXT_shader_framebuffer_fetch : require // Adreno (TM) 506 - GLSL 320 #define DISCARD discard precision lowp float; precision highp int; #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 00000000:0000093c HWX C T Fog Tex Cull #version 320 es // Adreno (TM) 506 - GLSL 320 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
NARUTO-ナルト- 疾風伝 ナルティメットインパクト 体験版 v1.11.3 2021-05-02 Error in shader program link: info: (unknown reason) fs: 00000000:00200002 Tex Fog TFuncMod #version 320 es #extension GL_EXT_shader_framebuffer_fetch : require // Adreno (TM) 506 - GLSL 320 #define DISCARD discard precision lowp float; precision highp int; #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 00000000:00000934 HWX T Fog Tex Cull #version 320 es // Adreno (TM) 506 - GLSL 320 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
NARUTO-ナルト- 疾風伝 ナルティメットインパクト 体験版 v1.11.3 2021-05-02 Error in shader program link: info: (unknown reason) fs: 00000000:00200000 Fog #version 320 es #extension GL_EXT_shader_framebuffer_fetch : require // Adreno (TM) 506 - GLSL 320 #define DISCARD discard precision lowp float; precision highp int; #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; out vec4 fragColor0; void main() { vec4 v = v_color0 ; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 00000000:00000124 HWX Fog Cull #version 320 es // Adreno (TM) 506 - GLSL 320 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
NARUTO-ナルト- 疾風伝 ナルティメットインパクト 体験版 v1.11.3 2021-05-02 Error in shader program link: info: (unknown reason) fs: 00000000:00200802 Tex LM Fog TFuncMod #version 320 es #extension GL_EXT_shader_framebuffer_fetch : require // Adreno (TM) 506 - GLSL 320 #define DISCARD discard precision lowp float; precision highp int; #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; in lowp vec4 v_color0; in lowp vec3 v_color1; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01f30001:00000b3d HWX C T N LM Fog Tex Light: 0: c:1 t:0 1: c:0 t:0 2: c:0 t:0 3: c:0 t:0 MatUp:3 Cull #version 320 es // Adreno (TM) 506 - GLSL 320 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out lowp vec3 v_color1; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); toLight = u_lightpos3; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse3 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = clamp(lightSum1, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
NARUTO-ナルト- 疾風伝 ナルティメットインパクト 体験版 v1.11.3 2021-05-02 Error in shader program link: info: (unknown reason) fs: 00000000:0a21d022 Tex TexAlpha Fog StenToAlphaDual Sten1 TFuncMod AlphaTest0 > #version 320 es #extension GL_EXT_blend_func_extended : require #extension GL_EXT_shader_framebuffer_fetch : require // Adreno (TM) 506 - GLSL 320 #define DISCARD discard precision lowp float; precision highp int; #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; uniform sampler2D testtex; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; out vec4 fragColor1; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); if (v.a < 0.002) DISCARD; fragColor0 = vec4(v.rgb, 1.0); fragColor1 = vec4(0.0, 0.0, 0.0, v.a); } vs: 00000000:00000934 HWX T Fog Tex Cull #version 320 es // Adreno (TM) 506 - GLSL 320 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; in vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); v_color0 = u_matambientalpha; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
(homebrew) v1.7.1 2021-05-02 Error in shader program link: info: Link Error: Vertex shader is missing. fs: thin3d vs: thin3d #ifdef GL_ES precision mediump float; #endif #ifdef GL_ES precision lowp float; #endif #if __VERSION__ >= 130 #define varying in #define texture2D texture #define gl_FragColor fragColor0 out vec4 fragColor0; #endif varying vec4 oColor0; varying vec2 oTexCoord0; uniform sampler2D Sampler0; void main() { gl_FragColor = texture2D(Sampler0, oTexCoord0) * oColor0; }
Ratchet v1.11.3 2021-05-13 Error in shader program link: info: Vertex info ----------- (0) : fatal error C9999: Can't convert to expr: 1f + @TMP0, 1f + @TMP1 fs: 00000000:01200002 Tex Fog StenToAlpha StenUniform TFuncMod #version 410 #extension GL_EXT_gpu_shader4 : enable // GeForce GT 525M/PCI/SSE2 - GLSL 410 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; uniform float u_stencilReplaceValue; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = vec4(v.rgb, u_stencilReplaceValue); } vs: 01f10000:00120b3c HWX C T N Fog Tex UVEnv Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 3: c:0 t:0 MatUp:1 Cull #version 410 #extension GL_EXT_gpu_shader4 : enable // GeForce GT 525M/PCI/SSE2 - GLSL 410 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); toLight = u_lightpos3; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse3 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal)), 1.0 + (length(u_lightpos1) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos1), worldnormal))) * 0.5, 1.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
Ratchet v1.11.3 2021-05-13 Error in shader program link: info: Vertex info ----------- (0) : fatal error C9999: Can't convert to expr: 1f + @TMP0, 1f + @TMP1 fs: 00000000:01200002 Tex Fog StenToAlpha StenUniform TFuncMod #version 410 #extension GL_EXT_gpu_shader4 : enable // GeForce GT 525M/PCI/SSE2 - GLSL 410 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; uniform float u_stencilReplaceValue; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = vec4(v.rgb, u_stencilReplaceValue); } vs: 01710000:00120b3c HWX C T N Fog Tex UVEnv Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 MatUp:1 Cull #version 410 #extension GL_EXT_gpu_shader4 : enable // GeForce GT 525M/PCI/SSE2 - GLSL 410 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal)), 1.0 + (length(u_lightpos1) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos1), worldnormal))) * 0.5, 1.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
Ratchet v1.11.3 2021-05-13 Error in shader program link: info: Vertex info ----------- (0) : fatal error C9999: Can't convert to expr: 1f + @TMP0, 1f + @TMP1 fs: 00000000:01200002 Tex Fog StenToAlpha StenUniform TFuncMod #version 410 #extension GL_EXT_gpu_shader4 : enable // GeForce GT 525M/PCI/SSE2 - GLSL 410 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; uniform float u_stencilReplaceValue; in lowp vec4 v_color0; uniform vec3 u_fogcolor; in mediump float v_fogdepth; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = vec4(v.rgb, u_stencilReplaceValue); } vs: 01310000:00120b3c HWX C T N Fog Tex UVEnv Light: 0: c:0 t:0 1: c:0 t:0 MatUp:1 Cull #version 410 #extension GL_EXT_gpu_shader4 : enable // GeForce GT 525M/PCI/SSE2 - GLSL 410 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal)), 1.0 + (length(u_lightpos1) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos1), worldnormal))) * 0.5, 1.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = u_cullRangeMax.wwww; } } gl_Position = outPos; }
Daxter v1.6.3 2021-04-29 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:00a00022 Tex TexAlpha Fog 2x TFuncMod #version 100 precision lowp float; uniform sampler2D tex; varying vec4 v_color0; uniform vec3 u_fogcolor; varying highp float v_fogdepth; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; v.rgb = v.rgb * 2.0; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); gl_FragColor = v; } vs: 01730444:00000b1c HWX C T N Fog Tex Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 MatUp:3 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying highp vec3 v_texcoord; varying highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Daxter v1.6.3 2021-04-29 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:00a00002 Tex Fog 2x TFuncMod #version 100 precision lowp float; uniform sampler2D tex; varying vec4 v_color0; uniform vec3 u_fogcolor; varying highp float v_fogdepth; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); v.rgb = v.rgb * 2.0; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); gl_FragColor = v; } vs: 01330044:00000b1c HWX C T N Fog Tex Light: 0: c:0 t:1 1: c:0 t:1 MatUp:3 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying highp vec3 v_texcoord; varying highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Daxter v1.6.3 2021-04-29 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:00a0d022 Tex TexAlpha Fog 2x TFuncMod AlphaTest > #version 100 precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; uniform vec3 u_fogcolor; varying highp float v_fogdepth; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; v.rgb = v.rgb * 2.0; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); gl_FragColor = v; } vs: 01730444:00000b1c HWX C T N Fog Tex Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 MatUp:3 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying highp vec3 v_texcoord; varying highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Daxter v1.6.3 2021-04-29 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:00a0d022 Tex TexAlpha Fog 2x TFuncMod AlphaTest > #version 100 precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; uniform vec3 u_fogcolor; varying highp float v_fogdepth; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; v.rgb = v.rgb * 2.0; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); gl_FragColor = v; } vs: 01330044:00000b1c HWX C T N Fog Tex Light: 0: c:0 t:1 1: c:0 t:1 MatUp:3 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying highp vec3 v_texcoord; varying highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Daxter v1.6.3 2021-04-29 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:00a00002 Tex Fog 2x TFuncMod #version 100 precision lowp float; uniform sampler2D tex; varying vec4 v_color0; uniform vec3 u_fogcolor; varying highp float v_fogdepth; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); v.rgb = v.rgb * 2.0; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); gl_FragColor = v; } vs: 01730444:00000b1c HWX C T N Fog Tex Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 MatUp:3 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying highp vec3 v_texcoord; varying highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
Grand Theft Auto: Vice City Stories v1.6.3 2021-04-29 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:0000d022 Tex TexAlpha TFuncMod AlphaTest > #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; fragColor0 = v; } vs: 00000000:00000918 HWX C T Tex #version 300 es precision highp float; in vec3 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; out highp vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
真・三國無双5 Special v1.10.3 2021-04-29 Error in shader program link: info: Error: input v_texcoordNC0 not declared in output from previous stage. Error: Linking failed. fs: postshader #ifdef GL_ES precision mediump float; #endif //Note : Recommend to use PPSSPP v1.1.1-183-gb411fc0 or newer for full functionality, there were some bugs in earlier versions. //Note2 : Upscaling, smoothing and sharpening filters are not set to be mixed between each other since the results are pointless(they counter each other). // Awas ngelag! :u //====================================================================================================================================================================== //SMOOTHING FILTERS: //If you love smooth graphics ~ those are also great for downscaling - to do that, you need to use higher rendering res than your display res //================ #define FXAA 1 //ON:1/OFF:0 /default FXAA, orginal info below //================ #define GAUSS_SQ 0 //ON:1/OFF:0 /full square gauss filtering #define Gsmoothing 2.5 //Default: 3.5 /increase for smoother(blurry) graphics //================ #define GAUSS_S 0 //ON:1/OFF:0 /simple gauss filtering by Bigpet, slightly different from above /you can find standalone in https://github.com/hrydgard/ppsspp/issues/7242 //================ //SHARPENING FILTERS: //if you need very sharp image, add lots of aliasing //================ #define SHARPEN 0 //ON:1/OFF:0 /a simple sharpen filter, might be counterproductive to FXAA and BLOOM, hence disabled by default #define value 0.98 //Default: 7.5 /higher = more visible effect //================ #define S_COM_V2 0 //Sharpen Complex v2 from https://github.com/mpc-hc similar to above in effect, maybe more accurate #define S_val0 5.0 //Default: 5.0 /higher ~ increases sharpness /negative ~ can add extra blurr/strange effect //================ //UPSCALING FILTERS: //To use those, you have to set rendering res to smaller than window/display size(x1 for best results) and screen scaling filter to "nearest" //Starting from v1.1.1-28-g70e9979 you can also add Upscaling=True to ini file(check example) to do it automatically //================ #define xBR 1 //ON:1/OFF:0 /5xBR upscale, nice for 2D games especially those that might be buggy with higher rendering res, initially made by Hyllian - license below #define VariantB 0 //ON:1/OFF:0 /slightly less effect on fonts, dots and other small details //================ #define xHQ 0 //ON:1/OFF:0 same as 4xHQ in PPSSPP, but actually using output resolution #define scaleoffset 0.75 //Default: 0.75 /you can tweek it between 0.5 and 1.0, Note: to little = no effect, to high = ugliness //================ //OTHER FILTERS: //Most effects from here on can be fully mixed without loosing previous effects. Exceptions: Natural Colors, Advanced Cartoon //================ #define BLOOM 0 //ON:1/OFF:0 /bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/ #define KIMOCHI 1 //Senpai! #define samples 3 //Default: 4 /higher = more glow, worse performance #define quality 0.22 //Default: 0.18 /lower = smaller glow, better quality #define Bpower 1.0 //Default: 1.0 /amount of bloom mixed //================ #define COLORED 1 //ON:1/OFF:0 /coloring part of KrossX Overlay Bloom shader from here http://www.mediafire.com/krossx#ste5pa5ijfa0o #define Cpower 0.69 //Default: 0.5 /strenght of the effect //================ #define NATURALC 0 //ON:1/OFF:0 /by popular demand, natular colors, note: this shader can't be fully mixed with smoothing/sharpening/upscaling effects #define ncpower 0.5 //Default:0.5 / higher = more natural color, check note line above //================ #define ACARTOON 0 //ON:1/OFF:0 Advanced Cartoon from Guest shader pack #define th 0.10 //Default: 0.10 /outlines sensitivity, recommended from 0.00...0.50 #define
DRAGON BALL Z SHIN BUDOKAI 2 v1.11.3 2021-04-29 Error in shader program link: info: Link failed because of missing fragment shader. fs: thin3d vs: thin3d #version 320 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
(homebrew) v1.11.3 2021-05-02 Error in shader program link: info: L0100 GLSL allows exactly two attached shaders (one of each type) per program fs: 'u vs: thin3d #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
God of War®: Ghost of Sparta v1.6.3 2021-04-27 Error in shader program link: info: Link Error: Fragment shader is missing. fs: 00000000:01a00802 Tex LM Fog 2x StenToAlpha StenUniform TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform float u_stencilReplaceValue; in vec4 v_color0; in vec3 v_color1; uniform vec3 u_fogcolor; in highp float v_fogdepth; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; v.rgb = v.rgb * 2.0; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = vec4(v.rgb, u_stencilReplaceValue); } vs: 01710000:00000b1d HWX C T N LM Fog Tex Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 MatUp:1 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out lowp vec3 v_color1; out highp vec3 v_texcoord; out highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * ldot; lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
グランナイツヒストリー v1.6.3-312-g31646d6c8 2021-04-27 Error in shader program link: info: (unknown reason) fs: 00000000:00000382 Tex TClampST TFuncMod #version 300 es precision lowp float; uniform sampler2D tex; uniform vec4 u_texclamp; in vec4 v_color0; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec2 fixedcoord = vec2(clamp(v_texcoord.x, u_texclamp.z, u_texclamp.x - u_texclamp.z), clamp(v_texcoord.y, u_texclamp.w, u_texclamp.y - u_texclamp.w)); vec4 t = texture(tex, fixedcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; } vs: 00000000:00000012 THR Tex #version 300 es precision highp float; in vec4 position; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; out lowp vec4 v_color0; out mediump vec3 v_texcoord; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
eFootball PES 2021 By Susah Tenar v1.9.4 2021-04-27 Error in shader program link: info: L0010 Uniform 'u_texelDelta' differ on precision fs: postshader //Note : Recommend to use PPSSPP v1.1.1-183-gb411fc0 or newer for full functionality, there were some bugs in earlier versions. //Note2 : Upscaling, smoothing and sharpening filters are not set to be mixed between each other since the results are pointless(they counter each other). // Only last one applies, so pick just one of them, mess around with it's settings and add other effects as needed. //====================================================================================================================================================================== //SMOOTHING FILTERS: //If you love smooth graphics ~ those are also great for downscaling - to do that, you need to use higher rendering res than your display res //================ #define FXAA 0 //ON:1/OFF:0 /default FXAA, orginal info below //================ #define GAUSS_SQ 0 //ON:1/OFF:0 /full square gauss filtering #define Gsmoothing 3.5 //Default: 3.5 /increase for smoother(blurry) graphics //================ #define GAUSS_S 0 //ON:1/OFF:0 /simple gauss filtering by Bigpet, slightly different from above /you can find standalone in https://github.com/hrydgard/ppsspp/issues/7242 //================ //SHARPENING FILTERS: //if you need very sharp image, add lots of aliasing //================ #define SHARPEN 0 //ON:1/OFF:0 /a simple sharpen filter, might be counterproductive to FXAA and BLOOM, hence disabled by default #define value 7.5 //Default: 7.5 /higher = more visible effect //================ #define S_COM_V2 0 //Sharpen Complex v2 from https://github.com/mpc-hc similar to above in effect, maybe more accurate #define S_val0 5.0 //Default: 5.0 /higher ~ increases sharpness /negative ~ can add extra blurr/strange effect //================ //UPSCALING FILTERS: //To use those, you have to set rendering res to smaller than window/display size(x1 for best results) and screen scaling filter to "nearest" //Starting from v1.1.1-28-g70e9979 you can also add Upscaling=True to ini file(check example) to do it automatically //================ #define xBR 1 //ON:1/OFF:0 /5xBR upscale, nice for 2D games especially those that might be buggy with higher rendering res, initially made by Hyllian - license below #define VariantB 0 //ON:1/OFF:0 /slightly less effect on fonts, dots and other small details //================ #define xHQ 0 //ON:1/OFF:0 same as 4xHQ in PPSSPP, but actually using output resolution #define scaleoffset 0.75 //Default: 0.75 /you can tweek it between 0.5 and 1.0, Note: to little = no effect, to high = ugliness //================ //OTHER FILTERS: //Most effects from here on can be fully mixed without loosing previous effects. Exceptions: Natural Colors, Advanced Cartoon //================ #define BLOOM 0 //ON:1/OFF:0 /bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/ #define MIKU 0 //Hatsune<3 this is an optional bloom filter for all those pale anime faces which get white otherwise:P tested on Miku in white dress #define samples 3 //Default: 4 /higher = more glow, worse performance #define quality 0.22 //Default: 0.18 /lower = smaller glow, better quality #define Bpower 1.0 //Default: 1.0 /amount of bloom mixed //================ #define COLORED 1 //ON:1/OFF:0 /coloring part of KrossX Overlay Bloom shader from here http://www.mediafire.com/krossx#ste5pa5ijfa0o #define Cpower 0.5 //Default: 0.5 /strenght of the effect //================ #define NATURALC 0 //ON:1/OFF:0 /by popular demand, natular colors, note: this shader can't be fully mixed with smoothing/sharpening/upscaling effects #define ncpower 0.5 //Default:0.5 / higher = more natural color, check note line above //================ #define ACARTOON 0 //ON:1/OFF:0 Advanced Cartoon
eFootball PES 2020 C19 & Nibeck Tv v1.6.3-432-gfd6c3145d 2021-04-25 Error in shader program link: info: Link failed because of invalid vertex shader. fs: postshader (failed) vs: postshader (failed)
Harvest Moon®: Boy & Girl v1.11.3 2021-04-24 Error in shader program link: info: Variable u_texelDelta has unmatched precision qualifier in different shaders fs: postshader #version 320 es precision mediump float; precision highp int; uniform vec2 u_texelDelta; layout(binding = 0) uniform mediump sampler2D sampler0; uniform vec2 u_pixelDelta; in vec2 v_texcoord0; in vec4 v_texcoord1; in vec4 v_texcoord2; in vec4 v_texcoord3; in vec4 v_texcoord4; in vec4 v_texcoord5; in vec4 v_texcoord6; in vec4 v_texcoord7; out vec4 _gl_FragColor; vec4 RGBtoYUV(vec3 v0, vec3 v1, vec3 v2, vec3 v3) { float a = ((14.35200023651123046875 * v0.x) + (28.1760005950927734375 * v0.y)) + (5.4720001220703125 * v0.z); float b = ((14.35200023651123046875 * v1.x) + (28.1760005950927734375 * v1.y)) + (5.4720001220703125 * v1.z); float c = ((14.35200023651123046875 * v2.x) + (28.1760005950927734375 * v2.y)) + (5.4720001220703125 * v2.z); float d = ((14.35200023651123046875 * v3.x) + (28.1760005950927734375 * v3.y)) + (5.4720001220703125 * v3.z); return vec4(a, b, c, d); } bvec4 _and_(bvec4 A, bvec4 B) { return bvec4(A.x && B.x, A.y && B.y, A.z && B.z, A.w && B.w); } vec4 df(vec4 A, vec4 B) { return vec4(abs(A - B)); } bvec4 close(vec4 A, vec4 B) { highp vec4 param = A; highp vec4 param_1 = B; return lessThan(df(param, param_1), vec4(10.0)); } bvec4 _or_(bvec4 A, bvec4 B) { return bvec4(A.x || B.x, A.y || B.y, A.z || B.z, A.w || B.w); } bvec4 eq2(vec4 A, vec4 B) { highp vec4 param = A; highp vec4 param_1 = B; return lessThan(df(param, param_1), vec4(2.0)); } bvec4 eq3(vec4 A, vec4 B) { highp vec4 param = A; highp vec4 param_1 = B; return lessThan(vec4(2.0), df(param, param_1)); } vec4 weighted_distance(vec4 a, vec4 b, vec4 c, vec4 d, vec4 e, vec4 f, vec4 g, vec4 h) { highp vec4 param = a; highp vec4 param_1 = b; highp vec4 param_2 = a; highp vec4 param_3 = c; highp vec4 param_4 = d; highp vec4 param_5 = e; highp vec4 param_6 = d; highp vec4 param_7 = f; highp vec4 param_8 = g; highp vec4 param_9 = h; return (((df(param, param_1) + df(param_2, param_3)) + df(param_4, param_5)) + df(param_6, param_7)) + (df(param_8, param_9) * 4.0); } float c_df(vec3 c1, vec3 c2) { vec3 df_1 = abs(c1 - c2); return (df_1.x + df_1.y) + df_1.z; } void main() { vec2 fp = fract(v_texcoord0 * (vec2(1.0) / u_texelDelta)); vec3 A1 = texture(sampler0, v_texcoord1.xw).xyz; vec3 B1 = texture(sampler0, v_texcoord1.yw).xyz; vec3 C1 = texture(sampler0, v_texcoord1.zw).xyz; vec3 A = texture(sampler0, v_texcoord2.xw).xyz; vec3 B = texture(sampler0, v_texcoord2.yw).xyz; vec3 C = texture(sampler0, v_texcoord2.zw).xyz; vec3 D = texture(sampler0, v_texcoord3.xw).xyz; vec3 E = texture(sampler0, v_texcoord3.yw).xyz; vec3 F = texture(sampler0, v_texcoord3.zw).xyz; vec3 G = texture(sampler0, v_texcoord4.xw).xyz; vec3 H = texture(sampler0, v_texcoord4.yw).xyz; vec3 I = texture(sampler0, v_texcoord4.zw).xyz; vec3 G5 = texture(sampler0, v_texcoord5.xw).xyz; vec3 H5 = texture(sampler0, v_texcoord5.yw).xyz; vec3 I5 = texture(sampler0, v_texcoord5.zw).xyz; vec3 A0 = texture(sampler0, v_texcoord6.xy).xyz; vec3 D0 = texture(sampler0, v_texcoord6.xz).xyz; vec3 G0 = texture(sampler0, v_texcoord6.xw).xyz; vec3 C4 = texture(sampler0, v_texcoord7.xy).xyz; vec3 F4 = texture(sampler0, v_texcoord7.xz).xyz; vec3 I4 = texture(sampler0, v_texcoord7.xw).xyz; highp vec3 param = B; highp vec3 param_1 = D; highp vec3 param_2 = H; highp vec3 param_3 = F; vec4 b = RGBtoYUV(param, param_1, param_2, param_3); highp vec3 param_4 = C; highp vec3 param_5 = A; highp vec3 param_6 = G; highp vec3 param_7 = I; vec4 c = RGBtoYUV(param_4, param_5, param_6, param_7); highp vec3 param_8 = E; highp vec3 param_9 = E; highp vec3 param_10 = E; highp vec3 param_11 = E; vec4 e = RGBtoYUV(param_8, param_9, param_10, param_11); vec4 d = b.yzwx; vec4 f = b.wxyz; vec4 g = c.zwxy; vec4 h = b.zwxy;
Pro Evolution Soccer 2020 v1.11.3 2021-04-24 Error in shader program link: info: (unknown reason) fs: thin3d vs: thin3d #version 300 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
Grand Theft Auto: Vice City Stories v1.6.3-432-gfd6c3145d 2021-04-23 Error in shader program link: info: No vertex shader attached. fs: 00000000:0d000002 Tex StenToAlpha StenKeep TFuncMod #version 100 precision lowp float; uniform sampler2D tex; varying vec4 v_color0; varying mediump vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); gl_FragColor = vec4(v.rgb, 0.0); } vs: 00000000:0000001a THR C Tex #version 100 precision highp float; attribute vec4 position; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj_through; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; void main() { v_texcoord = vec3(texcoord, 1.0); v_color0 = color0; gl_Position = u_proj_through * vec4(position.xyz, 1.0); }
Pro Evolution Soccer 2013 v1.11.3 2021-04-23 Error in shader program link: info: (unknown reason) fs: thin3d vs: thin3d #version 300 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
モンハン日記 ぽかぽかアイルー村G v1.5.3 2021-04-23 Error in shader program link: info: Link Error: Vertex and Fragment shaders were not compiled with the same language version. fs: 00000000:00000002 Tex TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; } vs: 00000000:00000b18 HWX C T N Tex #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; uniform highp vec4 u_depthRange; varying lowp vec4 v_color0; varying highp vec3 v_texcoord; vec4 depthRoundZVP(vec4 v) { float z = v.z / v.w; z = z * u_depthRange.x + u_depthRange.y; z = floor(z); z = (z - u_depthRange.z) * u_depthRange.w; return vec4(v.x, v.y, z * v.w, v.w); } void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = depthRoundZVP(u_proj * viewPos); v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
モンハン日記 ぽかぽかアイルー村G v1.5.3 2021-04-23 Error in shader program link: info: Link Error: Vertex and Fragment shaders were not compiled with the same language version. fs: 00000000:0020f822 Tex TexAlpha LM Fog TFuncMod AlphaTest >= #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; in vec4 v_color0; in vec3 v_color1; uniform vec3 u_fogcolor; in highp float v_fogdepth; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t + s; float aResult = texture(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); fragColor0 = v; } vs: 01070000:00000b1d HWX C T N LM Fog Tex Light: MatUp:7 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_depthRange; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying highp vec3 v_texcoord; varying highp float v_fogdepth; vec4 depthRoundZVP(vec4 v) { float z = v.z / v.w; z = z * u_depthRange.x + u_depthRange.y; z = floor(z); z = (z - u_depthRange.z) * u_depthRange.w; return vec4(v.x, v.y, z * v.w, v.w); } void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = depthRoundZVP(u_proj * viewPos); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); mediump float ldot; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
モンハン日記 ぽかぽかアイルー村 v1.5.3 2021-04-23 Error in shader program link: info: Link Error: Vertex and Fragment shaders were not compiled with the same language version. fs: 00000000:0020f802 Tex LM Fog TFuncMod AlphaTest >= #version 100 precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; varying vec3 v_color1; uniform vec3 u_fogcolor; varying highp float v_fogdepth; varying highp vec3 v_texcoord; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); gl_FragColor = v; } vs: 01170000:00000b1d HWX C T N LM Fog Tex Light: 0: c:0 t:0 MatUp:7 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out lowp vec3 v_color1; out highp vec3 v_texcoord; out highp float v_fogdepth; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; }
モンハン日記 ぽかぽかアイルー村 v1.5.3 2021-04-23 Error in shader program link: info: Link Error: Vertex and Fragment shaders were not compiled with the same language version. fs: 00000000:00000022 Tex TexAlpha TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; fragColor0 = v; } vs: 00000000:00000b18 HWX C T N Tex #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying highp vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
モンハン日記 ぽかぽかアイルー村 v1.5.3 2021-04-23 Error in shader program link: info: Link Error: Vertex and Fragment shaders were not compiled with the same language version. fs: 00000000:00000002 Tex TFuncMod #version 300 es #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in highp vec3 v_texcoord; inout vec4 fragColor0; void main() { vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); fragColor0 = v; } vs: 00000000:00000b18 HWX C T N Tex #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying highp vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = color0; v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); }
(homebrew) v1.11.3 2021-04-24 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: ,vp (null) vs: ,vp (null)
(homebrew) v1.11.3 2021-04-22 Error in shader program link: info: L0100 GLSL allows exactly two attached shaders (one of each type) per program fs: *yu vs: thin3d #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
Yu-Gi-Oh! GX Tag Force 3 v1.11.3 2021-04-21 Error in shader program link: info: Link failed because of missing fragment shader. fs: thin3d vs: thin3d #version 320 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
God of War: Chains of Olympus v1.9.4 2021-04-21 Error in shader program link: info: ERROR:LEX/PARSE-1 (line 286) Syntax error fs: postshader // PPSSPP: Grabbed from Processing and slightly modified. // FXAA shader, GLSL code adapted from: // http://horde3d.org/wiki/index.php5?title=Shading_Technique_-_FXAA // Whitepaper describing the technique: // http://developer.download.nvidia.com/assets/gamedev/files/sdk/11/FXAA_WhitePaper.pdf //====================================================================================================================================================================== //Extra options: #define FXAA 0 //ON:1/OFF:0 /default FXAA, info above //there's no extra config for fxaa here since from what I checked this simple fxaa version offers only more blur or less aa;c, you can check it yourself below //================ #define GAUSS_SQ 0 //ON:1/OFF:0 /full square gauss filtering, don't use with either FXAA nor sharpen filters #define Gsmoothing 3.5 //Default: 3.5 /increase for smoother(blurry) graphics //================ #define GAUSS_S 0 //ON:1/OFF:0 /simple gauss filtering by Bigpet, slightly different from above /you can find standalone in https://github.com/hrydgard/ppsspp/issues/7242 //================ #define MIKU 0 //Hatsune<3 this is an optional filter for all those pale anime faces which get white with bloom/colored:P tested on Miku in white dress //================ #define BLOOM 1 //ON:1/OFF:0 /bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/ #define samples 2 //Default: 4 /higher = more glow, worser performance #define quality 0.05 //Default: 0.25 /lower = smaller glow, better quality #define factor 0.001 //Default: 0.002 /just an extra tweak for the bloom slightly higher values might look better in some cases, but too much can cause artifacts #define Bpower 0.5 //Default: 0.5 /amount of bloom mixed //================ #define COLORED 0 //ON:1/OFF:0 /coloring part of KrossX Overlay Bloom shader from here http://www.mediafire.com/krossx#ste5pa5ijfa0o #define Cpower 0.5 //Default: 0.5 /amount of effect mixed //================ #define SHARPEN 0 //ON:1/OFF:0 /a simple sharpen filter, might be counterproductive to FXAA and BLOOM, hence disabled by default #define value 7.5 //Default: 7.5 /higher = more visible effect //================ #define S_COM_V2 0 //Sharpen Complex v2 from https://github.com/mpc-hc similar to above in effect, maybe more accurate #define S_val0 5.0 //Default: 5.0 /higher ~ increases sharpness /negative ~ can add extra blurr/strange effect //================ #define SHADEBOOST 1 //ON:1/OFF:0 /color correction from GSdx/pcsx2 plugin, initially taken from http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=21057 #define saturation 1.4 //Default: 1.0 //negative will look like inverted colors shader #define brightness 0.9 //Default: 1.0 #define contrast 1.1 //Default: 1.0 //negative will be... well negative;p #define red 1.0 //Default: 1.0 #define green 1.0 //Default: 1.0 #define blue 1.0 //Default: 1.0 //Shadeboost presets: //Shadeboost must be activated, presets override options above int SEPIA = 0; //Moody coolors:) int GRAYSCALE = 0; //Just for lols? int NEGATIVE = 0; //As above int PSPCOLORS = 0; //Makes the colors as on older PSP screens(colder) //All presets are simple switch ON:1/OFF:0, //================ #define GAMMA 0 //simple gamma function after reading http://filmicgames.com/archives/299 #define correction 1.0 //Default: 1.0 //================ #define SCANLINES 0 //Ugly lines which never existed on psp, yet are popular among some people(I had to, sorry:P) #define SLsize 1 //Default: 1 /basically sets how wide each line is, from 1 to looks_weird_when_too_high #define SLcolor 2.8 //Default: 2.8 /brightens screen to compensate for dark lines #define SLpower 0.4 //Default: 0.4 /less/more = darker/brighter lines,
Virtua Tennis: World Tour v1.9.4 2021-04-20 Error in shader program link: info: ERROR:LEX/PARSE-1 (line 286) Syntax error fs: postshader // PPSSPP: Grabbed from Processing and slightly modified. // FXAA shader, GLSL code adapted from: // http://horde3d.org/wiki/index.php5?title=Shading_Technique_-_FXAA // Whitepaper describing the technique: // http://developer.download.nvidia.com/assets/gamedev/files/sdk/11/FXAA_WhitePaper.pdf //====================================================================================================================================================================== //Extra options: #define FXAA 0 //ON:1/OFF:0 /default FXAA, info above //there's no extra config for fxaa here since from what I checked this simple fxaa version offers only more blur or less aa;c, you can check it yourself below //================ #define GAUSS_SQ 0 //ON:1/OFF:0 /full square gauss filtering, don't use with either FXAA nor sharpen filters #define Gsmoothing 3.5 //Default: 3.5 /increase for smoother(blurry) graphics //================ #define GAUSS_S 0 //ON:1/OFF:0 /simple gauss filtering by Bigpet, slightly different from above /you can find standalone in https://github.com/hrydgard/ppsspp/issues/7242 //================ #define MIKU 0 //Hatsune<3 this is an optional filter for all those pale anime faces which get white with bloom/colored:P tested on Miku in white dress //================ #define BLOOM 1 //ON:1/OFF:0 /bloom implementation from "my heroics" blog http://myheroics.wordpress.com/2008/09/04/glsl-bloom-shader/ #define samples 2 //Default: 4 /higher = more glow, worser performance #define quality 0.05 //Default: 0.25 /lower = smaller glow, better quality #define factor 0.001 //Default: 0.002 /just an extra tweak for the bloom slightly higher values might look better in some cases, but too much can cause artifacts #define Bpower 0.5 //Default: 0.5 /amount of bloom mixed //================ #define COLORED 0 //ON:1/OFF:0 /coloring part of KrossX Overlay Bloom shader from here http://www.mediafire.com/krossx#ste5pa5ijfa0o #define Cpower 0.5 //Default: 0.5 /amount of effect mixed //================ #define SHARPEN 0 //ON:1/OFF:0 /a simple sharpen filter, might be counterproductive to FXAA and BLOOM, hence disabled by default #define value 7.5 //Default: 7.5 /higher = more visible effect //================ #define S_COM_V2 0 //Sharpen Complex v2 from https://github.com/mpc-hc similar to above in effect, maybe more accurate #define S_val0 5.0 //Default: 5.0 /higher ~ increases sharpness /negative ~ can add extra blurr/strange effect //================ #define SHADEBOOST 1 //ON:1/OFF:0 /color correction from GSdx/pcsx2 plugin, initially taken from http://irrlicht.sourceforge.net/phpBB2/viewtopic.php?t=21057 #define saturation 1.4 //Default: 1.0 //negative will look like inverted colors shader #define brightness 0.9 //Default: 1.0 #define contrast 1.1 //Default: 1.0 //negative will be... well negative;p #define red 1.0 //Default: 1.0 #define green 1.0 //Default: 1.0 #define blue 1.0 //Default: 1.0 //Shadeboost presets: //Shadeboost must be activated, presets override options above int SEPIA = 0; //Moody coolors:) int GRAYSCALE = 0; //Just for lols? int NEGATIVE = 0; //As above int PSPCOLORS = 0; //Makes the colors as on older PSP screens(colder) //All presets are simple switch ON:1/OFF:0, //================ #define GAMMA 0 //simple gamma function after reading http://filmicgames.com/archives/299 #define correction 1.0 //Default: 1.0 //================ #define SCANLINES 0 //Ugly lines which never existed on psp, yet are popular among some people(I had to, sorry:P) #define SLsize 1 //Default: 1 /basically sets how wide each line is, from 1 to looks_weird_when_too_high #define SLcolor 2.8 //Default: 2.8 /brightens screen to compensate for dark lines #define SLpower 0.4 //Default: 0.4 /less/more = darker/brighter lines,
BLEACH ~ヒート・ザ・ソウル7~ v1.11.3 2021-04-20 Error in shader program link: info: (unknown reason) fs: thin3d vs: thin3d #version 300 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.11.3 2021-04-19 Error in shader program link: info: Type mismatch: Type of v_texcoord0 different between shaders. The fragment shader uses varying v_texcoord1, but previous shader does not write to it. The fragment shader uses varying v_texcoord2, but previous shader does not write to it. The fragment shader uses varying v_texcoord3, but previous shader does not write to it. fs: postshader #version 400 #ifdef GL_ARB_shading_language_420pack #extension GL_ARB_shading_language_420pack : require #endif layout(binding = 0) uniform sampler2D sampler0; in vec4 v_texcoord0; in vec4 v_texcoord1; in vec4 v_texcoord2; in vec4 v_texcoord3; out vec4 _gl_FragColor; void main() { vec3 c0 = texture(sampler0, v_texcoord0.xy).xyz; c0 += (texture(sampler0, v_texcoord0.zy).xyz * 0.25); c0 += (texture(sampler0, v_texcoord0.xw).xyz * 0.25); c0 += (texture(sampler0, v_texcoord0.zw).xyz * 0.125); c0 += texture(sampler0, v_texcoord1.xy).xyz; c0 += (texture(sampler0, v_texcoord1.zy).xyz * 0.25); c0 += (texture(sampler0, v_texcoord1.xw).xyz * 0.25); c0 += (texture(sampler0, v_texcoord1.zw).xyz * 0.125); c0 += texture(sampler0, v_texcoord2.xy).xyz; c0 += (texture(sampler0, v_texcoord2.zy).xyz * 0.25); c0 += (texture(sampler0, v_texcoord2.xw).xyz * 0.25); c0 += (texture(sampler0, v_texcoord2.zw).xyz * 0.125); c0 += texture(sampler0, v_texcoord3.xy).xyz; c0 += (texture(sampler0, v_texcoord3.zy).xyz * 0.25); c0 += (texture(sampler0, v_texcoord3.xw).xyz * 0.25); c0 += (texture(sampler0, v_texcoord3.zw).xyz * 0.125); c0 *= 0.15384615957736968994140625; vec3 c1 = mat3(vec3(0.2989999949932098388671875, 0.596000015735626220703125, 0.21199999749660491943359375), vec3(0.58700001239776611328125, -0.2750000059604644775390625, -0.5230000019073486328125), vec3(0.114000000059604644775390625, -0.3210000097751617431640625, 0.31099998950958251953125)) * c0; c1 = vec3(pow(c1.x, 1.2000000476837158203125), c1.yz * vec2(1.2000000476837158203125)); vec3 _193 = mat3(vec3(1.0), vec3(0.955688059329986572265625, -0.2715817987918853759765625, -1.10817730426788330078125), vec3(0.619858086109161376953125, -0.64687383174896240234375, 1.7050645351409912109375)) * c1; _gl_FragColor = vec4(_193.x, _193.y, _193.z, _gl_FragColor.w); _gl_FragColor.w = 1.0; } vs: postshader #version 400 #ifdef GL_ARB_shading_language_420pack #extension GL_ARB_shading_language_420pack : require #endif out vec2 v_texcoord0; in vec2 a_texcoord0; in vec4 a_position; void main() { v_texcoord0 = a_texcoord0; gl_Position = a_position; }
DBZ TTT ISO SUPER V2 LATINO BY ISRAEL v1.10.3 2021-04-19 Error in shader program link: info: (unknown reason) fs: thin3d vs: thin3d
(homebrew) v1.11.3 2021-04-23 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: F[o x vs: F[o (null)
(homebrew) v1.11.3 2021-04-19 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: 6|o x vs: 6|o (null)
(homebrew) v1.11.3 2021-04-20 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: s$u vs: sp 
偶像大师:闪耀祭典 魅惑旋律 v1.11.3 2021-04-16 Error in shader program link: info: Variable u_texelDelta has unmatched precision qualifier in different shaders fs: postshader #version 320 es precision mediump float; precision highp int; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; layout(binding = 0) uniform mediump sampler2D sampler0; uniform vec4 u_time; in vec2 v_texcoord0; out vec4 _gl_FragColor; in vec4 v_texcoordNC0; in vec4 v_texcoordNC1; in vec4 v_texcoordNC2; in vec4 v_texcoordNC3; mediump int SEPIA; mediump int GRAYSCALE; mediump int NEGATIVE; mediump int PSPCOLORS; bvec4 _and_(bvec4 A, bvec4 B) { return bvec4(A.x && B.x, A.y && B.y, A.z && B.z, A.w && B.w); } vec4 df(vec4 A, vec4 B) { return abs(A - B); } bvec4 close(vec4 A, vec4 B) { highp vec4 param = A; highp vec4 param_1 = B; return lessThan(df(param, param_1), vec4(15.0)); } bvec4 _or_(bvec4 A, bvec4 B) { return bvec4(A.x || B.x, A.y || B.y, A.z || B.z, A.w || B.w); } vec4 weighted_distance(vec4 a, vec4 b, vec4 c, vec4 d, vec4 e, vec4 f, vec4 g, vec4 h) { highp vec4 param = a; highp vec4 param_1 = b; highp vec4 param_2 = a; highp vec4 param_3 = c; highp vec4 param_4 = d; highp vec4 param_5 = e; highp vec4 param_6 = d; highp vec4 param_7 = f; highp vec4 param_8 = g; highp vec4 param_9 = h; return (((df(param, param_1) + df(param_2, param_3)) + df(param_4, param_5)) + df(param_6, param_7)) + (df(param_8, param_9) * 4.0); } vec3 processxBR(vec3 color) { vec2 pS = vec2(1.0) / u_texelDelta; vec2 fp = fract(v_texcoord0 * pS); vec2 TexCoord_0 = v_texcoord0 - (fp * u_pixelDelta); vec2 dx = vec2(u_texelDelta.x, 0.0); vec2 dy = vec2(0.0, u_texelDelta.y); vec2 y2 = dy + dy; vec2 x2 = dx + dx; vec3 A = texture(sampler0, (TexCoord_0 - dx) - dy).xyz; vec3 B = texture(sampler0, TexCoord_0 - dy).xyz; vec3 C = texture(sampler0, (TexCoord_0 + dx) - dy).xyz; vec3 D = texture(sampler0, TexCoord_0 - dx).xyz; vec3 E = texture(sampler0, TexCoord_0).xyz; vec3 F = texture(sampler0, TexCoord_0 + dx).xyz; vec3 G = texture(sampler0, (TexCoord_0 - dx) + dy).xyz; vec3 H = texture(sampler0, TexCoord_0 + dy).xyz; vec3 I = texture(sampler0, (TexCoord_0 + dx) + dy).xyz; vec3 A1 = texture(sampler0, (TexCoord_0 - dx) - y2).xyz; vec3 C1 = texture(sampler0, (TexCoord_0 + dx) - y2).xyz; vec3 A0 = texture(sampler0, (TexCoord_0 - x2) - dy).xyz; vec3 G0 = texture(sampler0, (TexCoord_0 - x2) + dy).xyz; vec3 C4 = texture(sampler0, (TexCoord_0 + x2) - dy).xyz; vec3 I4 = texture(sampler0, (TexCoord_0 + x2) + dy).xyz; vec3 G5 = texture(sampler0, (TexCoord_0 - dx) + y2).xyz; vec3 I5 = texture(sampler0, (TexCoord_0 + dx) + y2).xyz; vec3 B1 = texture(sampler0, TexCoord_0 - y2).xyz; vec3 D0 = texture(sampler0, TexCoord_0 - x2).xyz; vec3 H5 = texture(sampler0, TexCoord_0 + y2).xyz; vec3 F4 = texture(sampler0, TexCoord_0 + x2).xyz; vec4 b = vec4(dot(B, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(D, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(H, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(F, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 c = vec4(dot(C, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(A, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(G, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(I, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 d = vec4(b.y, b.z, b.w, b.x); vec4 e = vec4(dot(E, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 f = vec4(b.w, b.x, b.y, b.z); vec4 g = vec4(c.z, c.w, c.x, c.y); vec4 h = vec4(b.z, b.w, b.x, b.y); vec4 i = vec4(c.w, c.x, c.y, c.z); vec4 i4 = vec4(dot(I4, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(C1, vec3(16.1630001068115234375,
(homebrew) v1.11.3 2021-04-11 Error in shader program link: info: L0100 GLSL allows exactly two attached shaders (one of each type) per program fs: s$u vs: thin3d #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
(homebrew) v1.11.3 2021-04-20 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: sp x vs: sp (null)
聖闘士星矢Ω アルティメットコスモ v1.11.3 2021-04-11 Error in shader program link: info: Link failed because of missing fragment shader. fs: thin3d vs: thin3d #version 310 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
God of War™: Ghost of Sparta v1.11.3 2021-04-11 Error in shader program link: info: Link failed because of missing fragment shader. fs: thin3d vs: thin3d #version 310 es #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
God of War: Chains of Olympus v1.10.3 2021-04-11 Error in shader program link: info: Vertex info ----------- (0) : fatal error C9999: Can't convert to expr: 1f + @TMP0, 1f + @TMP1 fs: 00000000:02800802 Tex LM 2x StenToAlphaDual StenUniform TFuncMod #version 330 #define lowp #define mediump #define highp uniform sampler2D tex; uniform float u_stencilReplaceValue; in vec4 v_color0; in vec3 v_color1; in mediump vec3 v_texcoord; out vec4 fragColor0; out vec4 fragColor1; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; v.rgb = clamp(v.rgb * 2.0, 0.0, 1.0); fragColor0 = vec4(v.rgb, u_stencilReplaceValue); fragColor1 = vec4(0.0, 0.0, 0.0, v.a); } vs: 01030000:00120b19 HWX C T N LM Tex UVEnv Light: 0: c:0 t:0 1: c:0 t:0 MatUp:3 #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform vec3 u_lightpos1; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; out lowp vec4 v_color0; out lowp vec3 v_color1; out mediump vec3 v_texcoord; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = normalize((u_world * vec4(normal, 0.0)).xyz); vec4 viewPos = u_view * vec4(worldpos, 1.0); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); mediump float ldot; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal)), 1.0 + (length(u_lightpos1) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos1), worldnormal))) * 0.5, 1.0); vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = vec4(u_cullRangeMax.w); } } gl_Position = outPos; }
(homebrew) v1.11.3 2021-04-11 Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it fs: Vyo x vs: Vyo (null)
SOUL EATER BATTLE RESONANCE v1.11.3 2021-04-10 Error in shader program link: info: L0100 GLSL allows exactly two attached shaders (one of each type) per program fs: thin3d vs: thin3d #if __VERSION__ >= 130 #define attribute in #define varying out #endif attribute vec3 Position; attribute vec4 Color0; attribute vec2 TexCoord0; varying vec4 oColor0; varying vec2 oTexCoord0; uniform mat4 WorldViewProj; void main() { gl_Position = WorldViewProj * vec4(Position, 1.0); oColor0 = Color0; oTexCoord0 = TexCoord0; }
WWE'12 v1.11.2-446-g6f332dd66 2021-04-10 Error in shader program link: info: Error: Uniform u_texelDelta precision mismatch with other stage. Error: Linking failed. fs: postshader #version 320 es precision mediump float; precision highp int; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; layout(binding = 0) uniform mediump sampler2D sampler0; uniform vec4 u_time; in vec2 v_texcoord0; out vec4 _RESERVED_IDENTIFIER_FIXUP_gl_FragColor; in vec4 v_texcoordNC0; in vec4 v_texcoordNC1; in vec4 v_texcoordNC2; in vec4 v_texcoordNC3; mediump int SEPIA; mediump int GRAYSCALE; mediump int NEGATIVE; mediump int PSPCOLORS; bvec4 _and_(bvec4 A, bvec4 B) { return bvec4(A.x && B.x, A.y && B.y, A.z && B.z, A.w && B.w); } vec4 df(vec4 A, vec4 B) { return abs(A - B); } bvec4 close(vec4 A, vec4 B) { vec4 param = A; vec4 param_1 = B; return lessThan(df(param, param_1), vec4(15.0)); } bvec4 _or_(bvec4 A, bvec4 B) { return bvec4(A.x || B.x, A.y || B.y, A.z || B.z, A.w || B.w); } vec4 weighted_distance(vec4 a, vec4 b, vec4 c, vec4 d, vec4 e, vec4 f, vec4 g, vec4 h) { vec4 param = a; vec4 param_1 = b; vec4 param_2 = a; vec4 param_3 = c; vec4 param_4 = d; vec4 param_5 = e; vec4 param_6 = d; vec4 param_7 = f; vec4 param_8 = g; vec4 param_9 = h; return (((df(param, param_1) + df(param_2, param_3)) + df(param_4, param_5)) + df(param_6, param_7)) + (df(param_8, param_9) * 4.0); } vec3 processxBR(vec3 color) { vec2 pS = vec2(1.0) / u_texelDelta; vec2 fp = fract(v_texcoord0 * pS); vec2 TexCoord_0 = v_texcoord0 - (fp * u_pixelDelta); vec2 dx = vec2(u_texelDelta.x, 0.0); vec2 dy = vec2(0.0, u_texelDelta.y); vec2 y2 = dy + dy; vec2 x2 = dx + dx; vec3 A = texture(sampler0, (TexCoord_0 - dx) - dy).xyz; vec3 B = texture(sampler0, TexCoord_0 - dy).xyz; vec3 C = texture(sampler0, (TexCoord_0 + dx) - dy).xyz; vec3 D = texture(sampler0, TexCoord_0 - dx).xyz; vec3 E = texture(sampler0, TexCoord_0).xyz; vec3 F = texture(sampler0, TexCoord_0 + dx).xyz; vec3 G = texture(sampler0, (TexCoord_0 - dx) + dy).xyz; vec3 H = texture(sampler0, TexCoord_0 + dy).xyz; vec3 I = texture(sampler0, (TexCoord_0 + dx) + dy).xyz; vec3 A1 = texture(sampler0, (TexCoord_0 - dx) - y2).xyz; vec3 C1 = texture(sampler0, (TexCoord_0 + dx) - y2).xyz; vec3 A0 = texture(sampler0, (TexCoord_0 - x2) - dy).xyz; vec3 G0 = texture(sampler0, (TexCoord_0 - x2) + dy).xyz; vec3 C4 = texture(sampler0, (TexCoord_0 + x2) - dy).xyz; vec3 I4 = texture(sampler0, (TexCoord_0 + x2) + dy).xyz; vec3 G5 = texture(sampler0, (TexCoord_0 - dx) + y2).xyz; vec3 I5 = texture(sampler0, (TexCoord_0 + dx) + y2).xyz; vec3 B1 = texture(sampler0, TexCoord_0 - y2).xyz; vec3 D0 = texture(sampler0, TexCoord_0 - x2).xyz; vec3 H5 = texture(sampler0, TexCoord_0 + y2).xyz; vec3 F4 = texture(sampler0, TexCoord_0 + x2).xyz; vec4 b = vec4(dot(B, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(D, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(H, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(F, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 c = vec4(dot(C, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(A, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(G, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(I, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 d = vec4(b.y, b.z, b.w, b.x); vec4 e = vec4(dot(E, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375))); vec4 f = vec4(b.w, b.x, b.y, b.z); vec4 g = vec4(c.z, c.w, c.x, c.y); vec4 h = vec4(b.z, b.w, b.x, b.y); vec4 i = vec4(c.w, c.x, c.y, c.z); vec4 i4 = vec4(dot(I4, vec3(16.1630001068115234375, 23.3509998321533203125, 8.477199554443359375)), dot(C1, vec3(16.1630001068115234375, 23.3509998321533203125, 8.4771995544
Grand Theft Auto®: Chinatown Wars™ v1.11 2021-04-10 Error in shader program link: info: Fragment shader(s) linked, vertex shader(s) failed to link. fs: 00000000:0020d822 Tex TexAlpha LM Fog TFuncMod AlphaTest > #version 120 // ATI Radeon X1200 Series - GLSL 120 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; uniform sampler2D testtex; varying lowp vec4 v_color0; varying lowp vec3 v_color1; uniform vec3 u_fogcolor; varying mediump float v_fogdepth; varying mediump vec3 v_texcoord; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t + s; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) DISCARD; gl_FragColor = v; } vs: 01f31111:00000b3d HWX C T N LM Fog Tex Light: 0: c:1 t:0 1: c:1 t:0 2: c:1 t:0 3: c:1 t:0 MatUp:3 Cull #version 120 // ATI Radeon X1200 Series - GLSL 120 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * ldot ; } lightS
Grand Theft Auto®: Chinatown Wars™ v1.11 2021-04-10 Error in shader program link: info: Fragment shader(s) linked, vertex shader(s) failed to link. fs: 00000000:00200802 Tex LM Fog TFuncMod #version 120 // ATI Radeon X1200 Series - GLSL 120 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; varying lowp vec4 v_color0; varying lowp vec3 v_color1; uniform vec3 u_fogcolor; varying mediump float v_fogdepth; varying mediump vec3 v_texcoord; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); gl_FragColor = v; } vs: 01f31111:00000b3d HWX C T N LM Fog Tex Light: 0: c:1 t:0 1: c:1 t:0 2: c:1 t:0 3: c:1 t:0 MatUp:3 Cull #version 120 // ATI Radeon X1200 Series - GLSL 120 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); toLight = u_lightpos3; ldot = dot(toLight, worldnormal); diffuse = (u_lightd
Grand Theft Auto®: Chinatown Wars™ v1.11 2021-04-10 Error in shader program link: info: Fragment shader(s) linked, vertex shader(s) failed to link. fs: 00010000:0020d822 Tex TexAlpha LM Fog TFuncMod AlphaTest > #version 120 // ATI Radeon X1200 Series - GLSL 120 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; uniform sampler2D testtex; varying lowp vec4 v_color0; varying lowp vec3 v_color1; uniform vec3 u_fogcolor; varying mediump float v_fogdepth; varying mediump vec3 v_texcoord; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t + s; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) v.a = 0.0; gl_FragColor = v; } vs: 01f31111:00000b35 HWX T N LM Fog Tex Light: 0: c:1 t:0 1: c:1 t:0 2: c:1 t:0 3: c:1 t:0 MatUp:3 Cull #version 120 // ATI Radeon X1200 Series - GLSL 120 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular
Grand Theft Auto®: Chinatown Wars™ v1.11 2021-04-10 Error in shader program link: info: Fragment shader(s) linked, vertex shader(s) failed to link. fs: 00000000:0020d822 Tex TexAlpha LM Fog TFuncMod AlphaTest > #version 120 // ATI Radeon X1200 Series - GLSL 120 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; uniform sampler2D testtex; varying lowp vec4 v_color0; varying lowp vec3 v_color1; uniform vec3 u_fogcolor; varying mediump float v_fogdepth; varying mediump vec3 v_texcoord; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t + s; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) DISCARD; gl_FragColor = v; } vs: 01f31111:00000b35 HWX T N LM Fog Tex Light: 0: c:1 t:0 1: c:1 t:0 2: c:1 t:0 3: c:1 t:0 MatUp:3 Cull #version 120 // ATI Radeon X1200 Series - GLSL 120 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular2
Grand Theft Auto®: Chinatown Wars™ v1.11 2021-04-10 Error in shader program link: info: Fragment shader(s) linked, vertex shader(s) failed to link. fs: 00000000:00200802 Tex LM Fog TFuncMod #version 120 // ATI Radeon X1200 Series - GLSL 120 #define DISCARD discard #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) uniform sampler2D tex; varying lowp vec4 v_color0; varying lowp vec3 v_color1; uniform vec3 u_fogcolor; varying mediump float v_fogdepth; varying mediump vec3 v_texcoord; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; float fogCoef = clamp(v_fogdepth, 0.0, 1.0); v = mix(vec4(u_fogcolor, v.a), v, fogCoef); gl_FragColor = v; } vs: 01f31111:00000b35 HWX T N LM Fog Tex Light: 0: c:1 t:0 1: c:1 t:0 2: c:1 t:0 3: c:1 t:0 MatUp:3 Cull #version 120 // ATI Radeon X1200 Series - GLSL 120 #define gl_VertexIndex gl_VertexID #define lowp #define mediump #define highp #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec3 u_matdiffuse; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; uniform highp vec4 u_cullRangeMin; uniform highp vec4 u_cullRangeMax; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalize(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos2; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); if (ldot >= 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (u_matspecular.a <= 0.0) { ldot = 1.0; } else { ldot = pow(max(ldot, 0.0), u_matspecular.a); } if (ldot > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * ldot ; } lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse); toLight = u_lightpos3; ldo