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

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

Game: eFootball Euro y Copa America By T. Bendezu (BENDEZU25_1.01)

Error in shader compilation: info: 0:11: L0001: Typename expected, found 'Subscribe'
0:12: L0001: Expected token ';', found ':'
postshader
#ifdef GL_ES
precision mediump float;
#endif
#define saturation 1.2 //normal: 1.0 
#define brightness 1.2 //normal: 1.0
#define contrast 1.5 //normal: 1.0
#define red 1.3 //normal: 1.0
#define green 1.1 //normal: 1.0
#define blue 1.3 //normal: 1.0

///////////////////////////////////
Subscribe YT: Sigit Saputra
///////////////////////////////////

#define sugoicolor 1
#ifdef GL_ES
precision mediump float;
precision mediump int;
#endif

uniform sampler2D sampler0;
uniform vec4 u_time;

uniform vec2 u_texelDelta;
uniform vec2 u_pixelDelta;
varying vec2 v_texcoord0;

float overlay(float base, float blend)
{float result = 0.0;
if( base < 0.5 )
result = 2.0 * base * blend;
else
result = 1.0 - (1.0 - 2.0*(base-0.5)) * (1.0-blend);
return result;}

void main()
{vec3 color = texture2D(sampler0, v_texcoord0.xy).xyz;
#if(sugoicolor==1)

float sat = saturation;
float brt = brightness;
float con = contrast;

float AvgLumR = red;
float AvgLumG = green;
float AvgLumB = blue;

const vec3 LumCoeff = vec3(0.2125, 0.7154, 0.0721);

vec3 AvgLumin = vec3(AvgLumR, AvgLumG, AvgLumB);
vec3 conRGB = vec3(0.5, 0.5, 0.5);
vec3 brtColor = color.rgb * brt;
vec3 intensity = vec3((brtColor.r*LumCoeff.r)+(brtColor.g*LumCoeff.g)+(brtColor.b*LumCoeff.b));
vec3 satColor = mix(intensity, brtColor, sat);
vec3 conColor = mix(conRGB, satColor, con);
vec3 mixColor = AvgLumin * conColor;

color.rgb = mixColor;

#endif

gl_FragColor.xyz=color;
gl_FragColor.a = 1.0;}

Status: new. 8 hits from 2024-10-12 08:45:48 to 2025-03-23 18:03:54 UTC. Message #2553928.

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.