Message #2300270 - 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: Gangs of London™ (UCUS98617_1.01)

Error in shader program link: info: Varying variable v_fogdepth is used in fragment shader, but not found in vertex shader.

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 = clamp(v.rgb * 2.0, 0.0, 1.0);
  float fogCoef = clamp(v_fogdepth, 0.0, 1.0);
  v = mix(vec4(u_fogcolor, v.a), v, fogCoef);
  gl_FragColor = v;
}

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 highp vec3 v_texcoord;
void main() {
  v_texcoord = vec3(texcoord, 1.0);
  v_color0 = color0;
  vec4 outPos = u_proj_through * vec4(position.xyz, 1.0);
  gl_Position = outPos;
}

Status: new. 1 hits from 2023-03-13 21:04:29 to 2023-03-13 21:04:29 UTC. Message #2300270.

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.