Message #2551589 - Error in shader program link: info: %s fs: %s %s vs: %s %s

Kind #967: Error in shader program link: info: %s fs: %s %s vs: %s %s

Game: Mortal Kombat: Unchained (ULES00353_1.03)

Error in shader program link: info: L0100 A program cannot be linked unless there are any shaders attached to it

fs: 00000000:0021d002 Tex Fog TFuncMod AlphaTest0 > 
#version 100
precision lowp float;
uniform sampler2D tex;
uniform sampler2D testtex;
 varying vec4 v_color0;
uniform vec3 u_fogcolor;
varying mediump float v_fogdepth;
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);
  if (v.a < 0.002) discard;
  float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
  v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
  gl_FragColor = v;
}

vs: 00000000:00000914 HWX T Fog Tex 
#version 100
precision highp float;
attribute vec3 position;
attribute 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;
varying lowp vec4 v_color0;
varying mediump vec3 v_texcoord;
varying 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 = u_matambientalpha;
  v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
  v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
}

Status: new. 1 hits from 2024-10-06 16:25:55 to 2024-10-06 16:25:55 UTC. Message #2551589.

Individual reports are stored since 2026-11-12, the newest 100 per message; none for this message yet. Older hits only exist as the counters above. Hover a cell for details.