Kind #39: Error in shader compilation: info: %s / code: %s
Game: God of War: Chains of Olympus (UCAS40198_1.00)
Error in shader compilation: info: 0(19) : error C1008: 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. 4 hits from 2022-11-16 16:10:54 to 2022-11-20 15:25:22 UTC. Message #2210153.
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.