Message #1564393 - Error in shader compilation: info: %s %s %s

Kind #970: Error in shader compilation: info: %s %s %s

Game: WWE SmackDown vs. RAW 2007 (ULUS10199_1.03)

Error in shader compilation: info: ERROR: 0:8: '*' :  wrong operand types  no operation '*' exists that takes a left-hand operand of type '3-component vector of float' and a right operand of type 'const int' (or there is no acceptable conversion)
ERROR: 0:16: 'assign' :  cannot convert from 'const int' to 'float'
ERROR: 2 compilation errors.  No code generated.


postshader
uniform sampler2D sampler0;
uniform vec2 u_texelDelta;
varying vec4 v_texcoord0;

void main() {
vec3 color = vec3(0, 0, 0);

color += texture2D(sampler0, v_texcoord0.xy + (vec2(-1.0, -1.0) * u_texelDelta)).xyz * 2;

color -= texture2D(sampler0, v_texcoord0.xy + (vec2(1.0, 1.0) * u_texelDelta)).xyz;

color -= texture2D(sampler0, v_texcoord0.xy).xyz;
color = texture2D(sampler0, v_texcoord0.xy).xyz + color;

gl_FragColor.rgb = color;
gl_FragColor.a = 1;
}

/*void main() {
float brightness = 0;
float startbrightness;
vec3 color;

color = texture2D(sampler0, v_texcoord0.xy + (vec2(-1.0, -1.0) * u_texelDelta)).xyz;
brightness += max(max(color.r, color.g), color.b) * 2;

color = texture2D(sampler0, v_texcoord0.xy + (vec2(1.0, 1.0) * u_texelDelta)).xyz;
brightness -= max(max(color.r, color.g), color.b);

color = texture2D(sampler0, v_texcoord0.xy).xyz;
startbrightness = max(max(color.r, color.g), color.b);
brightness -= max(max(color.r, color.g), color.b);

color = color * (brightness + startbrightness) / startbrightness;
  
gl_FragColor.rgb = color;
gl_FragColor.a = 1;
}*/

Status: new. 6 hits from 2020-06-03 05:29:55 to 2020-06-03 05:34:53 UTC. Message #1564393.

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.