Message #1673688 - 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: NARUTO: Ultimate Ninja Heroes (ULUS10299_1.00)

Error in shader program link: info: Vertex info
-----------
(0) : fatal error C9999: Can't convert to expr: 1f + @TMP0, 1f + @TMP1


fs: 00000000:0000d022 Tex TexAlpha TFuncMod AlphaTest > 
#version 110
#define lowp
#define mediump
#define highp
uniform sampler2D tex;
uniform sampler2D testtex;
 varying vec4 v_color0;
varying mediump vec3 v_texcoord;
void main() {
  vec4 t = texture2D(tex, v_texcoord.xy);
  vec4 p = v_color0;
  vec4 v = p * t;
  float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a;
  if (aResult < 0.5) discard;
  gl_FragColor = v;
}

vs: 01170000:00020b10 HWX T N Tex UVEnv Light: 0: c:0 t:0 MatUp:7 
#version 110
#define lowp
#define mediump
#define highp
attribute vec3 position;
attribute mediump vec3 normal;
attribute 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 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;
varying lowp vec4 v_color0;
varying 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);
  v_color0 = clamp(lightSum0, 0.0, 1.0);
  v_texcoord = vec3(u_uvscaleoffset.xy * vec2(1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal)), 1.0 + (length(u_lightpos0) == 0.0 ? worldnormal.z : dot(normalize(u_lightpos0), worldnormal))) * 0.5, 1.0);
  gl_Position = outPos;
}

Status: new. 3 hits from 2020-10-10 03:54:59 to 2020-10-17 21:59:43 UTC. Message #1673688.

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.