Kind #355: Error in shader program link: info: %s / fs: %s / vs: %s
Game: FINAL FANTASY 零式 ディスク2 (NPJH50444_1.01)
Error in shader program link: info: The shader uses varying v_color1, but previous shader does not write to it.
Out of resource error.
/ fs: #version 330
#define lowp
#define mediump
#define highp
uniform sampler2D testtex;
in vec4 v_color0;
in vec3 v_color1;
out vec4 fragColor0;
void main() {
vec4 s = vec4(v_color1, 0.0);
vec4 v = v_color0 + s;
vec4 vScale256 = v * 0.996094 + 0.001953;
float rResult = texture(testtex, vec2(vScale256.r, 0)).r;
float gResult = texture(testtex, vec2(vScale256.g, 0)).g;
float bResult = texture(testtex, vec2(vScale256.b, 0)).b;
if (rResult < 0.5 && gResult < 0.5 && bResult < 0.5) discard;
fragColor0 = v;
}
/ vs: #version 330
#define lowp
#define mediump
#define highp
in vec4 position;
in lowp vec4 color0;
uniform mat4 u_proj_through;
out lowp vec4 v_color0;
void main() {
v_color0 = color0;
gl_Position = u_proj_through * vec4(position.xyz, 1.0);
}
Status: new. 1 hits from 2024-02-22 00:56:35 to 2024-02-22 00:56:35 UTC. Message #2455147.
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.