Message #1588115 - 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: God of War: Chains of Olympus (UCES00842_1.00)

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

fs: 00000000:01800802 Tex LM 2x StenToAlpha StenUniform TFuncMod 
#version 100
precision lowp float;
uniform sampler2D tex;
uniform float u_stencilReplaceValue;
 varying vec4 v_color0;
 varying vec3 v_color1;
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;
  v.rgb = v.rgb * 2.0;
  gl_FragColor = vec4(v.rgb, u_stencilReplaceValue);
}

vs: 01030000:00000b19 HWX C T N LM Tex Light: 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 lowp vec4 u_ambient;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
varying lowp vec4 v_color0;
varying lowp vec3 v_color1;
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;
  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);
}

Status: new. 1 hits from 2020-07-06 04:18:25 to 2020-07-06 04:18:25 UTC. Message #1588115.

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.