Messages by text - Error in shader compilation: info: %s / code: %s

Distinct message texts 1-60, most hits first. Games and Rows count where each text was seen; click a text for its games. Refreshed every 10 minutes. Back to the list by game

Only count reports from version or newer
Message # of games Rows Hits Latest Report
Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 22 22 143 2026-08-20
Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:16: error(#143) Undeclared identifier: u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 9 9 135 2026-11-08
Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:190: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:193: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:194: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:205: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:208: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:209: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:220: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:223: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:224: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:226: 'tex' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i 10 10 130 2026-06-07
Error in shader compilation: info: Fragment shader failed to compile with the following errors: ERROR: 0:11: error(#143) Undeclared identifier: ERROR ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp 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; v.rgb = v.rgb * ERROR; fragColor0 = v; } 1 1 89 2026-08-25
Error in shader compilation: info: 0(16) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 15 15 73 2026-09-21
Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 130 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 15 15 70 2026-11-01
Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier ERROR: 0:16: '' : compilation terminated ERROR: 2 compilation errors. No code generated. / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 8 8 38 2026-02-22
Error in shader compilation: info: 0(158) : error C1008: undefined variable "u_proj" 0(159) : error C1008: undefined variable "col" 0(175) : error C1008: undefined variable "col" 0(178) : error C1008: undefined variable "col" 0(179) : error C1008: undefined variable "col" 0(190) : error C1008: undefined variable "col" 0(193) : error C1008: undefined variable "col" 0(194) : error C1008: undefined variable "col" 0(205) : error C1008: undefined variable "col" 0(208) : error C1008: undefined variable "col" 0(209) : error C1008: undefined variable "col" 0(220) : error C1008: undefined variable "col" 0(223) : error C1008: undefined variable "col" 0(224) : error C1008: undefined variable "col" 0(226) : error C1008: undefined variable "tex" / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (pa 4 4 32 2025-01-11
Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:16: error(#143) Undeclared identifier u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 3 3 30 2024-08-17
Error in shader compilation: info: ERROR: 0:19: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 8 8 27 2025-11-29
Error in shader compilation: info: 0(16) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 8 8 24 2026-06-19
Error in shader compilation: info: 0(158) : error C1503: undefined variable "u_proj" 0(159) : error C1503: undefined variable "col" 0(175) : error C1503: undefined variable "col" 0(178) : error C1503: undefined variable "col" 0(179) : error C1503: undefined variable "col" 0(190) : error C1503: undefined variable "col" 0(193) : error C1503: undefined variable "col" 0(194) : error C1503: undefined variable "col" 0(205) : error C1503: undefined variable "col" 0(208) : error C1503: undefined variable "col" 0(209) : error C1503: undefined variable "col" 0(220) : error C1503: undefined variable "col" 0(223) : error C1503: undefined variable "col" 0(224) : error C1503: undefined variable "col" 0(226) : error C1503: undefined variable "tex" / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (pa 10 10 23 2026-10-11
Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 4 4 21 2025-03-06
Error in shader compilation: info: 0(19) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 5 5 19 2025-04-28
Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:190: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:193: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:194: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:205: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:208: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:209: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:220: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:223: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:224: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:226: 'tex' : undeclared identifier / code: #version 130 #define lowp #define mediump #define highp attribute mediump vec4 w1, w2; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; uniform sampler2D u_tess_pos_tex; uniform sampler2D u_tess_tex_tex; uniform sampler2D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; 3 3 14 2026-02-27
Error in shader compilation: info: ERROR: 0:19: 'u_proj' : undeclared identifier / code: #version 130 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; attribute lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 3 3 13 2026-10-31
Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:165: 'toLight' : undeclared identifier ERROR: 0:165: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:166: 'assign' : l-value required "distance" (can't modify void) ERROR: 0:166: 'assign' : cannot convert from 'float' to 'void' ERROR: 0:167: 'assign' : cannot convert from 'void' to 'float' ERROR: 0:168: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:169: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:171: 'lightScale' : undeclared identifier ERROR: 0:171: 'constructor' : can't convert ERROR: 0:171: 'constructor' : can't convert ERROR: 0:173: 'lightScale' : undeclared identifier ERROR: 0:175: 'diffuse' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:175: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:178: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:178: 'lightScale' : undeclared identifier ERROR: 0:179: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:180: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:181: 'assign' : l-value required "distance" (can't modify void) ERROR: 0:181: 'assign' : cannot convert from 'float' to 'void' ERROR: 0:182: 'assign' : cannot convert from 'void' to 'float' ERROR: 0:183: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:184: 'dot' : no matching overloaded function found (using implicit conversion) ERROR: 0:186: 'constructor' : can't convert ERROR: 0:186: 'constructor' : can't convert ERROR: 0:190: 'rgb' : field selection requires structure, vector, or matrix on left hand side ERROR: 0:190: 'assign' : cannot convert from '3-component vector of float' to 'float' ERROR: 0:193: 'rgb' : field / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 4 4 13 2025-04-05
Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:19: error(#143) Undeclared identifier u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 2 2 11 2025-07-17
Error in shader compilation: info: Fragment shader failed to compile with the following errors: ERROR: 0:17: error(#143) Undeclared identifier: ERROR ERROR: error(#273) 1 compilation errors. No code generated / code: #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; v.rgb = v.rgb * ERROR; fragColor0 = v; } 1 1 10 2026-08-25
Error in shader compilation: info: 0(19) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 2 2 8 2025-11-16
Error in shader compilation: info: ERROR: 0:18: 'u_proj' : undeclared identifier / code: #version 130 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = vec3(u_uvscaleoffset.zw, 0.0); } 1 1 7 2026-05-23
Error in shader compilation: info: 0(13) : error C1503: undefined variable "ERROR" / code: #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; discard; v.rgb = v.rgb * ERROR; fragColor0 = v; } 1 1 6 2023-05-08
Error in shader compilation: info: Compile failed. ERROR: 0:19: 'u_proj' : undeclared identifier 1 compilation errors. No code generated. / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 1 1 5 2026-02-14
Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier / code: #version 110 #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 3 3 5 2025-01-17
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r7p0-00rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; 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 vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * color0.rgb) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) ); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * color0.rgb) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) ); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = clamp(lightSum1, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 1 1 5 2024-01-09
Error in shader compilation: info: Compile failed. ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:159: 'col' : undeclared identifier ERROR: 0:175: 'col' : undeclared identifier ERROR: 0:175: 'rgb' : field selection requires structure, vector, or matrix on left hand side 4 compilation errors. No code generated. / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (patch_pos.x == (num_patches.x - 1)) knot[4].x = float(num_patches.x); } if ((type.y & 1) != 0) { if (patch_pos.y <= 2) knot[0].y = 0.0; if (patch_pos.y <= 1) knot[1].y = 0.0; } if ((type.y & 2) != 0) { if (patch_pos.y >= (num_patches.y - 2)) knot[5].y = float(num_patches.y); if (patch_pos.y == (num_patches.y - 1)) knot[4].y = float(num_patches.y); } } void spline_w 3 3 4 2026-02-02
Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:158: error(#143) Undeclared identifier: u_proj ERROR: 0:159: error(#143) Undeclared identifier: col ERROR: 0:175: error(#216) Vector field selection out of range "rgb" ERROR: 0:178: error(#216) Vector field selection out of range "rgb" ERROR: 0:179: error(#216) Vector field selection out of range "rgb" ERROR: 0:190: error(#216) Vector field selection out of range "rgb" ERROR: 0:193: error(#216) Vector field selection out of range "rgb" ERROR: 0:194: error(#216) Vector field selection out of range "rgb" ERROR: 0:205: error(#216) Vector field selection out of range "rgb" ERROR: 0:208: error(#216) Vector field selection out of range "rgb" ERROR: 0:209: error(#216) Vector field selection out of range "rgb" ERROR: 0:220: error(#216) Vector field selection out of range "rgb" ERROR: 0:223: error(#216) Vector field selection out of range "rgb" ERROR: 0:224: error(#216) Vector field selection out of range "rgb" ERROR: 0:226: error(#143) Undeclared identifier: tex ERROR: error(#273) 15 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 2 2 4 2024-08-09
Error in shader compilation: info: ERROR: 0:16: 'u_proj' : undeclared identifier ERROR: 0:16: '' : compilation terminated ERROR: 2 compilation errors. No code generated. / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 1 1 3 2025-07-11
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r7p0-00rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; 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 vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; varying lowp vec4 v_color0; varying lowp vec3 v_color1; varying mediump vec3 v_texcoord; varying mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse1 * color0.rgb) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) ); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse); toLight = u_lightpos2; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse2 * color0.rgb) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) ); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = clamp(lightSum1, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 1 1 3 2024-01-09
Error in shader compilation: info: 0(18) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = vec3(u_uvscaleoffset.zw, 0.0); } 1 1 3 2023-05-17
Error in shader compilation: info: ERROR: 0:14: 'u_proj' : undeclared identifier ERROR: 1 compilation errors. No code generated. / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 2 2 3 2023-03-23
Error in shader compilation: info: 0(6) : warning C7555: 'attribute' is deprecated, use 'in/out' instead 0(7) : warning C7555: 'attribute' is deprecated, use 'in/out' instead 0(12) : warning C7555: 'varying' is deprecated, use 'in/out' instead 0(17) : error C1008: undefined variable "u_proj" / code: #version 130 #extension GL_EXT_gpu_shader4 : enable #define lowp #define mediump #define highp attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 1 1 3 2022-11-01
Error in shader compilation: info: ERROR: 0:19: 'u_proj' : undeclared identifier ERROR: 0:19: '' : compilation terminated ERROR: 2 compilation errors. No code generated. / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 1 1 2 2026-10-03
Error in shader compilation: info: ERROR: 0:18: 'u_proj' : undeclared identifier ERROR: 0:20: 'u_texmtx' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = (u_texmtx * vec4(position.xyz, 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); } 1 1 2 2026-05-08
Error in shader compilation: info: Compile failed. ERROR: 0:17: 'u_proj' : undeclared identifier ERROR: 1 compilation errors. No code generated. / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out highp float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 1 1 2 2023-12-02
Error in shader compilation: info: ERROR: 0:14: 'u_proj' : undeclared identifier ERROR: 1 compilation errors. No code generated. / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 1 1 2 2023-01-13
Error in shader compilation: info: (14:0) : error : undefined identifier: 'u_proj' / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 1 1 1 2026-09-09
Error in shader compilation: info: 0(16) : error C1008: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 1 1 1 2026-05-29
Error in shader compilation: info: ERROR: 0:11: 'ERROR' : undeclared identifier / code: #version 130 #define lowp #define mediump #define highp varying vec4 v_color0; varying vec3 v_color1; out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 v = v_color0 + s; v.rgb = v.rgb * ERROR; fragColor0 = v; } 1 1 1 2025-12-19
Error in shader compilation: info: ERROR: 0:18: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec3 u_lightpos1; uniform vec3 u_lightpos3; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 1 1 1 2025-11-01
Error in shader compilation: info: 0:16: L0002: Undeclared variable 'u_proj' 0:18: L0002: Undeclared variable 'u_texmtx' / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = (u_texmtx * vec4(position.xyz, 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); } 1 1 1 2024-12-15
Error in shader compilation: info: 0(15) : error C1503: undefined variable "u_proj" / code: #version 330 #define lowp #define mediump #define highp in vec3 position; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; void main() { vec3 worldpos = (u_world * vec4(position.xyz, 1.0)).xyz; mediump vec3 worldnormal = vec3(0.0, 0.0, 1.0); vec4 viewPos = u_view * vec4(worldpos, 1.0); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 1 1 1 2024-11-06
Error in shader compilation: info: ERROR: 0:18: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 1 1 1 2024-11-02
Error in shader compilation: info: Compile failed. ERROR: 0:14: 'u_proj' : undeclared identifier 1 compilation errors. No code generated. / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 1 1 1 2024-09-28
Error in shader compilation: info: Compile failed. ERROR: 0:14: 'u_proj' : undeclared identifier 1 compilation errors. No code generated. / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; } 1 1 1 2024-07-16
Error in shader compilation: info: ERROR: 0:18: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec4 u_uvscaleoffset; uniform lowp vec4 u_matambientalpha; 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); gl_Position = u_proj * viewPos; v_color0 = u_matambientalpha; v_texcoord = vec3(u_uvscaleoffset.zw, 0.0); } 1 1 1 2024-06-23
Error in shader compilation: info: ERROR: 0:21: 'u_proj' : undeclared identifier / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform vec3 u_lightpos1; uniform vec3 u_lightpos2; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 1 1 1 2024-06-21
Error in shader compilation: info: 0:1: F0002: Mali-400 GP register allocation failed for vertex shader. Please contact [email protected] with the shader causing the problem, along with this error message. Mali online shader compiler r2p1_05rel0 [Revision 96995]. / code: #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; attribute lowp vec4 color0; 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 vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; varying lowp vec4 v_color0; varying lowp vec3 v_color1; 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); gl_Position = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = vec3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; toLight = u_lightpos0; mediump float dot0 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * dot0; dot0 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot0 > 0.0) lightSum1 += u_lightspecular0 * u_matspecular.rgb * (pow(dot0, u_matspecular.a) ); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot1 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * color0.rgb) * dot1; dot1 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot1 > 0.0) lightSum1 += u_lightspecular1 * u_matspecular.rgb * (pow(dot1, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; mediump float dot2 = max(dot(toLight, worldnormal), 0.0); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * color0.rgb) * dot2; dot2 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot2 > 0.0) lightSum1 += u_lightspecular2 * u_matspecular.rgb * (pow(dot2, u_matspecular.a) * lightScale); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos3; mediump float dot3 = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse3 * color0.rgb) * dot3; dot3 = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); if (dot3 > 0.0) lightSum1 += u_lightspecular3 * u_matspecular.rgb * (pow(dot3, u_matspecular.a) ); lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse); v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = clamp(lightSum1, 0.0, 1.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); } 1 1 1 2023-12-03
Error in shader compilation: info: Compile failed. ERROR: 0:17: 'u_proj' : undeclared identifier 1 compilation errors. No code generated. / code: #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out highp float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 1 1 1 2023-09-17
Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:158: error(#143) Undeclared identifier u_proj ERROR: 0:159: error(#143) Undeclared identifier col ERROR: 0:175: error(#216) Vector field selection out of range 'rgb' ERROR: 0:178: error(#216) Vector field selection out of range 'rgb' ERROR: 0:179: error(#216) Vector field selection out of range 'rgb' ERROR: 0:190: error(#216) Vector field selection out of range 'rgb' ERROR: 0:193: error(#216) Vector field selection out of range 'rgb' ERROR: 0:194: error(#216) Vector field selection out of range 'rgb' ERROR: 0:205: error(#216) Vector field selection out of range 'rgb' ERROR: 0:208: error(#216) Vector field selection out of range 'rgb' ERROR: 0:209: error(#216) Vector field selection out of range 'rgb' ERROR: 0:220: error(#216) Vector field selection out of range 'rgb' ERROR: 0:223: error(#216) Vector field selection out of range 'rgb' ERROR: 0:224: error(#216) Vector field selection out of range 'rgb' ERROR: 0:226: error(#143) Undeclared identifier tex ERROR: error(#273) 15 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 kn 1 1 1 2023-08-30
Error in shader compilation: info: ERROR: 0:158: 'u_proj' : undeclared identifier ERROR: 0:158: '' : compilation terminated ERROR: 2 compilation errors. No code generated. / code: #version 330 #define lowp #define mediump #define highp in mediump vec4 w1, w2; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform mat4 u_bone5; uniform mat4 u_bone6; uniform mat4 u_bone7; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform mediump vec3 u_lightdir0; uniform mediump float u_lightangle0; uniform mediump float u_lightspotCoef0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform lowp vec3 u_lightspecular0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform mediump vec3 u_lightdir1; uniform mediump float u_lightangle1; uniform mediump float u_lightspotCoef1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform lowp vec3 u_lightspecular1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform mediump vec3 u_lightdir2; uniform mediump float u_lightangle2; uniform mediump float u_lightspotCoef2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec3 u_lightspecular2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform mediump vec3 u_lightdir3; uniform mediump float u_lightangle3; uniform mediump float u_lightspotCoef3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec3 u_lightspecular3; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; flat out lowp vec4 v_color0; out mediump vec3 v_texcoord; out mediump float v_fogdepth; uniform sampler1D u_tess_pos_tex; uniform sampler1D u_tess_tex_tex; uniform sampler1D u_tess_col_tex; uniform int u_spline_count_u; vec2 tess_sample(in vec2 points[16], in vec2 weights[4]) { vec2 pos = vec2(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec3 tess_sample(in vec3 points[16], in vec2 weights[4]) { vec3 pos = vec3(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } vec4 tess_sample(in vec4 points[16], in vec2 weights[4]) { vec4 pos = vec4(0.0); for (int i = 0; i < 4; ++i) { for (int j = 0; j < 4; ++j) { float f = weights[j].x * weights[i].y; if (f != 0.0) pos = pos + f * points[i * 4 + j]; } } return pos; } uniform int u_spline_count_v; uniform int u_spline_type_u; uniform int u_spline_type_v; void spline_knot(ivec2 num_patches, ivec2 type, out vec2 knot[6], ivec2 patch_pos) { for (int i = 0; i < 6; ++i) { knot[i] = vec2(float(i + patch_pos.x - 2), float(i + patch_pos.y - 2)); } if ((type.x & 1) != 0) { if (patch_pos.x <= 2) knot[0].x = 0.0; if (patch_pos.x <= 1) knot[1].x = 0.0; } if ((type.x & 2) != 0) { if (patch_pos.x >= (num_patches.x - 2)) knot[5].x = float(num_patches.x); if (patch_pos.x == (num_patches.x - 1)) knot[4].x = float(num_patches.x); } if ((type.y & 1) != 0) { if (patch_pos.y <= 2) knot[0].y = 0.0; if (patch_pos.y <= 1) knot[1].y = 0.0; } if ((type.y & 2) != 0) { if (patch_pos.y >= (num_patches.y - 2)) knot[5].y = float(num_patches.y); if (patch_pos.y == (num_patches.y - 1)) knot[4].y = float(num_patches.y); } } void spline_weight(vec2 t, in vec2 knot[6], out vec2 weights[4]) { vec2 t0 = (t - knot[0]); vec2 t1 = (t - knot[1]); vec2 t2 = (t - knot[2]); vec2 f30 1 1 1 2023-06-23
Error in shader compilation: info: Vertex shader failed to compile with the following errors: ERROR: 0:19: error(#143) Undeclared identifier: u_proj ERROR: error(#273) 1 compilation errors. No code generated / code: #version 330 #define lowp #define mediump #define highp in vec3 position; in mediump vec3 normal; in lowp vec4 color0; uniform mat4 u_proj_through; uniform mat4 u_world; uniform mat4 u_view; uniform lowp vec4 u_matambientalpha; uniform highp vec2 u_fogcoef; out lowp vec4 v_color0; out mediump float v_fogdepth; 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); gl_Position = u_proj * viewPos; v_color0 = color0; v_fogdepth = (viewPos.z + u_fogcoef.x) * u_fogcoef.y; } 1 1 1 2022-11-30
Error in shader compilation: info: Compile failed. ERROR: 0:17: 'gl_FragDepth' : undeclared identifier 1 compilation errors. No code generated. / code: #version 100 #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); if (v.a < 0.002) discard; v.rgb = v.rgb * 2.0; gl_FragColor = v; highp float z = gl_FragCoord.z; z = (floor((z * 16776960.000000) - (1.0 / 2.0)) + (1.0 / 2.0)) * (1.0 / 16776960.000000); gl_FragDepth = z; } 1 1 1 2022-11-23
Error in shader compilation: info: Compile failed. ERROR: 0:10: 'gl_FragDepth' : undeclared identifier 1 compilation errors. No code generated. / code: #version 100 #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; varying vec4 v_color0; void main() { vec4 v = v_color0; gl_FragColor = v; highp float z = gl_FragCoord.z; z = (1.0/65535.0) * floor(z * 65535.0); gl_FragDepth = z; } 1 1 1 2022-11-23
Error in shader compilation: info: Compile failed. ERROR: 0:18: 'gl_FragDepth' : undeclared identifier 1 compilation errors. No code generated. / code: #version 100 #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; varying highp 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; v.rgb = v.rgb * 2.0; gl_FragColor = v; highp float z = gl_FragCoord.z; z = (1.0/65535.0) * floor(z * 65535.0); gl_FragDepth = z; } 1 1 1 2022-11-23
Error in shader compilation: info: Compile failed. ERROR: 0:15: 'gl_FragDepth' : undeclared identifier 1 compilation errors. No code generated. / code: #version 100 #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; varying vec4 v_color0; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); v.rgb = v.rgb * 2.0; gl_FragColor = v; highp float z = gl_FragCoord.z; z = (1.0/65535.0) * floor(z * 65535.0); gl_FragDepth = z; } 1 1 1 2022-11-23
Error in shader compilation: info: Compile failed. ERROR: 0:17: 'gl_FragDepth' : undeclared identifier 1 compilation errors. No code generated. / code: #version 100 #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; if (v.a < 0.002) discard; v.rgb = v.rgb * 2.0; gl_FragColor = v; highp float z = gl_FragCoord.z; z = (1.0/65535.0) * floor(z * 65535.0); gl_FragDepth = z; } 1 1 1 2022-11-23
Error in shader compilation: info: Compile failed. ERROR: 0:18: 'gl_FragDepth' : undeclared identifier 1 compilation errors. No code generated. / code: #version 100 #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); float aResult = texture2D(testtex, vec2(v.a * 0.996094 + 0.001953, 0)).a; if (aResult < 0.5) discard; v.rgb = v.rgb * 2.0; gl_FragColor = v; highp float z = gl_FragCoord.z; z = (floor((z * 16776960.000000) - (1.0 / 2.0)) + (1.0 / 2.0)) * (1.0 / 16776960.000000); gl_FragDepth = z; } 1 1 1 2022-11-23
Error in shader compilation: info: Compile failed. ERROR: 0:17: 'gl_FragDepth' : undeclared identifier 1 compilation errors. No code generated. / code: #version 100 #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a); if (v.a < 0.002) discard; v.rgb = v.rgb * 2.0; gl_FragColor = v; highp float z = gl_FragCoord.z; z = (1.0/65535.0) * floor(z * 65535.0); gl_FragDepth = z; } 1 1 1 2022-11-23
Error in shader compilation: info: Compile failed. ERROR: 0:17: 'gl_FragDepth' : undeclared identifier 1 compilation errors. No code generated. / code: #version 100 #extension GL_EXT_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; uniform sampler2D testtex; varying vec4 v_color0; varying highp vec3 v_texcoord; void main() { vec4 t = texture2D(tex, v_texcoord.xy); vec4 p = v_color0; vec4 v = p * t; if (v.a < 0.002) discard; v.rgb = v.rgb * 2.0; gl_FragColor = v; highp float z = gl_FragCoord.z; z = (floor((z * 16776960.000000) - (1.0 / 2.0)) + (1.0 / 2.0)) * (1.0 / 16776960.000000); gl_FragDepth = z; } 1 1 1 2022-11-23