Message #2307344 - Error in shader compilation: info: %s / code: %s

Kind #39: Error in shader compilation: info: %s / code: %s

Game: God of Warâ„¢: Ghost of Sparta (NPHG00092_1.00)

Error in shader compilation: info: 0(19) : error C1503: undefined variable "u_proj"
 / code: #version 330
#define lowp
#define mediump
#define highp
in vec3 position;
in mediump vec3 normal;
in lowp vec4 color0;
uniform mat4 u_proj_through;
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 = 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_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y;
}

Status: new. 7 hits from 2023-03-26 08:02:17 to 2025-11-16 09:33:53 UTC. Message #2307344.

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.