Message #1581734 - 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: PES 2019 BY CHELITO 19 (C19P10654_1.01)

Error in shader program link: info: LinkShaders: Too many uniforms.

fs: 00000000:00000002 Tex TFuncMod 
#version 300 es
precision lowp float;
uniform sampler2D tex;
 in vec4 v_color0;
in mediump vec3 v_texcoord;
out vec4 fragColor0;
void main() {
  vec4 t = texture(tex, v_texcoord.xy);
  vec4 p = v_color0;
  vec4 v = vec4(t.rgb * p.rgb, p.a);
  fragColor0 = v;
}

vs: 01770000:00000b10 HWX T N Tex Light: 0: c:0 t:0 1: c:0 t:0 2: c:0 t:0 MatUp:7 
#version 300 es
precision highp float;
in vec3 position;
in mediump vec3 normal;
in vec2 texcoord;
uniform mat4 u_proj;
uniform mat4 u_world;
uniform mat4 u_view;
uniform vec4 u_uvscaleoffset;
uniform vec3 u_lightpos0;
uniform lowp vec3 u_lightambient0;
uniform lowp vec3 u_lightdiffuse0;
uniform vec3 u_lightpos1;
uniform lowp vec3 u_lightambient1;
uniform lowp vec3 u_lightdiffuse1;
uniform vec3 u_lightpos2;
uniform lowp vec3 u_lightambient2;
uniform lowp vec3 u_lightdiffuse2;
uniform lowp vec4 u_ambient;
uniform lowp vec3 u_matdiffuse;
uniform lowp vec4 u_matspecular;
uniform lowp vec3 u_matemissive;
uniform lowp vec4 u_matambientalpha;
uniform highp vec4 u_cullRangeMin;
uniform highp vec4 u_cullRangeMax;
out lowp vec4 v_color0;
out mediump 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);
  vec4 outPos = u_proj * viewPos;
  lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0);
  vec3 toLight;
  lowp vec3 diffuse;
  mediump float ldot;
  toLight = u_lightpos0;
  ldot = dot(toLight, worldnormal);
  diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0);
  lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse);
  toLight = u_lightpos1;
  ldot = dot(toLight, worldnormal);
  diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0);
  lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse);
  toLight = u_lightpos2;
  ldot = dot(toLight, worldnormal);
  diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0);
  lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse);
  v_color0 = clamp(lightSum0, 0.0, 1.0);
  v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0);
  gl_Position = outPos;
}

Status: new. 4 hits from 2020-06-29 13:04:46 to 2020-07-22 22:04:54 UTC. Message #1581734.

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.