Recent logs - Marvel™ Ultimate Alliance

To see your stuff show here, enable Compatibility Server Reports in PPSSPP.

Click on a version, game, or report message to show similar entries. Hover over version to see platform info, and hover over a game title to see region and version info.

Game title Version Latest Report Message
Marvel™ Ultimate Alliance v1.9.4 2020-02-11 Unknown GetPointer 00000000 PC 08c209ec LR 08c209ec
Marvel™ Ultimate Alliance v1.9.4 2020-02-16 An uneaten prefix at end of block: 08c3a5e8
Marvel™ Ultimate Alliance v1.9.4 2020-02-16 sceKernelCreateThread(name=update_thread): unsupported attributes a0000000
Marvel™ Ultimate Alliance v1.9.4 2020-02-16 sceKernelLoadModule: unsupported options size=00000014, flags=00000000, pos=1, access=1, data=2, text=2
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b3d21dc2
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b5f1e427
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b5d8450b
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b708162c
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 0370d780
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b5db112c
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 0370cb80
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 4022055b
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 40e9d42f
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 4123cffe
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 411839b2
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b3fef481
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 405f66d0
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b2b7648f
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b41e80cb
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b4655aa6
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b6158ea0
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b564571e
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 0370c5a0
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b2887d1c
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b3ff36ae
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b56f9336
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 01404081
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Branch in Jump delay slot at 044cc054 in block starting at 044cc044
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 40bc2e55
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 036d61c0
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 4126751b
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 03707a80
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 0370f5e0
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 419655ae
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b5161478
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 0370e2c0
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction b4f838a4
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 03711fe0
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 00000001
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 40b429ef
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 42274733
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 056db650
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 056e7770
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 01400281
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Jump to invalid address: 056fc830
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction cdcdcdcd
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 MIPSCompileOp: Invalid instruction 41085058
Marvel™ Ultimate Alliance v1.9.4 2020-01-24 Branch in Jump delay slot at 0912a894 in block starting at 0912a868
Marvel™ Ultimate Alliance v1.8.0 2020-01-21 UNIMPL sceKernelStopUnloadSelfModuleWithStatus(00000001, 00000000, 00000000, 00000000, 00000000): game may have crashed
Marvel™ Ultimate Alliance v1.9.4 2020-02-16 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 r4p0-00rel0 [Revision 96995]. 01f04444:00090b51 HWX T N LM Tex TexProjNNrm UVMtx Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; 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 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); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = (u_texmtx * vec4(normalize(normal), 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = vec4(u_cullRangeMax.w); } } gl_Position = outPos; }
Marvel™ Ultimate Alliance v1.9.4 2020-01-16 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 r8p0-00dev0 [Revision 96995]. 01f04444:00090b51 HWX T N LM Tex TexProjNNrm UVMtx Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; 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 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); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = (u_texmtx * vec4(normalize(normal), 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = vec4(u_cullRangeMax.w); } } gl_Position = outPos; }
Marvel™ Ultimate Alliance v1.9.4 2019-12-12 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 r6p0-00dev0 [Revision 96995]. 01f04444:00050b51 HWX T N LM Tex TexProjUV UVMtx Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 #version 100 precision highp float; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; 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 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); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = (u_texmtx * vec4(texcoord.xy, 0.0, 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = vec4(u_cullRangeMax.w); } } gl_Position = outPos; }
Marvel™ Ultimate Alliance v1.9.4 2019-11-25 sceKernelLoadModule: unsupported options size=00000014, flags=000001a4, pos=0, access=1, data=2, text=2
Marvel™ Ultimate Alliance v1.9.4 2019-11-25 sceKernelLoadModule: unsupported options size=00000014, flags=000001a4, pos=0, access=1, data=1, text=1
Marvel™ Ultimate Alliance v1.9.4 2019-11-25 sceKernelLoadModule: unsupported options size=00000014, flags=0899a904, pos=0, access=1, data=1, text=1
Marvel™ Ultimate Alliance v1.9.4 2019-11-25 sceKernelLoadModule: unsupported options size=00000014, flags=0899a904, pos=0, access=1, data=2, text=2
Marvel™ Ultimate Alliance v1.9.4 2019-11-25 sceKernelLoadModule: unsupported options size=00000014, flags=00000000, pos=0, access=1, data=2, text=2
Marvel™ Ultimate Alliance v1.9.4 2019-11-25 sceKernelLoadModule: unsupported options size=00000014, flags=00000000, pos=0, access=1, data=1, text=1
Marvel™ Ultimate Alliance v1.9.4 2019-11-19 ReadFromHardware: Invalid address 00000004 near PC 08cda61c LR 08cda61c
Marvel™ Ultimate Alliance v1.9.4 2019-11-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 r2p1_05rel0 [Revision 96995]. 01f34444:00090b59 HWX C T N LM Tex TexProjNNrm UVMtx Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 MatUp:3 #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 mediump mat4 u_texmtx; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; 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 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); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = (u_texmtx * vec4(normalize(normal), 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = vec4(u_cullRangeMax.w); } } gl_Position = outPos; }
Marvel™ Ultimate Alliance v1.9.4 2019-11-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 r2p1_05rel0 [Revision 96995]. 01f34444:00000b19 HWX C T N LM Tex Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 MatUp:3 #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 mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; uniform lowp vec4 u_ambient; 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 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); vec4 outPos = u_proj * viewPos; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * color0.rgb) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_cullRangeMin.y || projPos.z < u_cullRangeMin.z || projPos.x > u_cullRangeMax.x || projPos.y > u_cullRangeMax.y || projPos.z > u_cullRangeMax.z) { outPos.xyzw = vec4(u_cullRangeMax.w); } } gl_Position = outPos; }
Marvel™ Ultimate Alliance v1.9.4 2019-10-20 sceGeBreak(mode=0, unknown=08ce04ac): unknown ptr (valid)
Marvel™ Ultimate Alliance v1.9.3 2019-10-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 r5p0-01rel0 [Revision 96995]. 03f04444:41000b11 HWX T N LM Tex Bones:5 Light: 0: c:0 t:1 1: c:0 t:1 2: c:0 t:1 3: c:0 t:1 WScale 1 #version 100 precision highp float; attribute mediump vec4 w1; attribute mediump float w2; attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mat4 u_bone0; uniform mat4 u_bone1; uniform mat4 u_bone2; uniform mat4 u_bone3; uniform mat4 u_bone4; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform mediump vec3 u_lightatt0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform vec3 u_lightpos3; uniform mediump vec3 u_lightatt3; uniform lowp vec3 u_lightambient3; uniform lowp vec3 u_lightdiffuse3; 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 lowp vec3 v_color1; varying mediump vec3 v_texcoord; void main() { mat4 skinMatrix = w1.x * u_bone0 + w1.y * u_bone1 + w1.z * u_bone2 + w1.w * u_bone3 + w2 * u_bone4; vec3 skinnedpos = (skinMatrix * vec4(position, 1.0)).xyz * 1.9921875; vec3 worldpos = (u_world * vec4(skinnedpos, 1.0)).xyz; mediump vec3 skinnednormal = (skinMatrix * vec4(normal, 0.0)).xyz * 1.9921875; mediump vec3 worldnormal = normalize((u_world * vec4(skinnednormal, 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; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt0, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse0 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse1 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient1 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt2, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse2 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient2 * u_matambientalpha.rgb + diffuse) * lightScale; toLight = u_lightpos3 - worldpos; distance = length(toLight); toLight /= distance; ldot = dot(toLight, worldnormal); lightScale = clamp(1.0 / dot(u_lightatt3, vec3(1.0, distance, distance*distance)), 0.0, 1.0); diffuse = (u_lightdiffuse3 * u_matdiffuse) * max(ldot, 0.0); lightSum0.rgb += (u_lightambient3 * u_matambientalpha.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = vec3(texcoord.xy * u_uvscaleoffset.xy, 0.0); vec3 projPos = outPos.xyz / outPos.w; if (u_cullRangeMin.w <= 0.0 || (projPos.z >= u_cullRangeMin.z && projPos.z <= u_cullRangeMax.z)) { if (projPos.x < u_cullRangeMin.x || projPos.y < u_c
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 03412cd0
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d620
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d5e0
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d5a0
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 03421480
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 03412bb0
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d720
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d540
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 03412940
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d520
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02da5480
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d500
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 034104e0
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d5c0
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d600
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d6a0
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d560
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d580
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02cfe170
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 0340a870
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d660
Marvel™ Ultimate Alliance v1.8.0 2019-09-05 Jump to invalid address: 02d9d6c0
Marvel™ Ultimate Alliance v1.4 2019-08-15 WriteToHardware: Invalid address 00000032 near PC 08b7921c LR 08b7d7f0
Marvel™ Ultimate Alliance v1.4 2019-08-15 ReadFromHardware: Invalid address 0000002e near PC 08b7921c LR 08b7d7f0
Marvel™ Ultimate Alliance v1.6.3-492-g9fddfff66 2019-10-04 Unimplemented HLE function sceAudioInputBlocking
Marvel™ Ultimate Alliance v1.8.0 2020-01-21 BREAK instruction hit
Marvel™ Ultimate Alliance v1.8.0 2019-06-16 ReadFromHardware: Invalid address ec1cc09f near PC ec1cc09f LR 08aa7f18
Marvel™ Ultimate Alliance v1.9.4 2019-11-22 Unknown GetPointer 00000000 PC 08000000 LR 08000000
Marvel™ Ultimate Alliance v1.8.0 2019-05-15 Unknown GetPointer 00000000 PC 00000000 LR 08a1533c
Marvel™ Ultimate Alliance v1.8.0 2019-05-15 ReadFromHardware: Invalid address 25686360 near PC 08a15324 LR 08a15324
Marvel™ Ultimate Alliance v1.6.3-492-g9fddfff66 2019-05-11 WriteToHardware: Invalid address 00000000 near PC 08ca20e0 LR 08ca20e0
Marvel™ Ultimate Alliance v1.9.4 2020-02-26 Unknown GetPointer 00000000 PC 08bb20b8 LR 08000020
Marvel™ Ultimate Alliance v1.8.0 2019-05-04 Unknown GetPointer 00000000 PC 08ad2690 LR 08ad2690
Marvel™ Ultimate Alliance v1.9.4 2020-01-19 Unknown GetPointer 00000000 PC 08ade790 LR 08000030
Marvel™ Ultimate Alliance v1.7.5 2019-02-22 ReadFromHardware: Invalid address 00000000 near PC 00000000 LR 08a1533c
Marvel™ Ultimate Alliance v1.7.5 2019-01-20 Error in shader program link: info: (unknown reason) fs: postshader /* Hyllian's 5xBR v3.5a Shader Copyright (C) 2011 Hyllian/Jararaca - [email protected] This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ #ifdef GL_ES precision mediump float; precision mediump int; #endif uniform sampler2D sampler0; uniform vec2 u_texelDelta; uniform vec2 u_pixelDelta; varying vec2 v_texcoord0; const float coef = 2.0; const vec3 rgbw = vec3(16.163, 23.351, 8.4772); const vec4 Ao = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bo = vec4( 1.0, 1.0, -1.0,-1.0 ); const vec4 Co = vec4( 1.5, 0.5, -0.5, 0.5 ); const vec4 Ax = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 Bx = vec4( 0.5, 2.0, -0.5,-2.0 ); const vec4 Cx = vec4( 1.0, 1.0, -0.5, 0.0 ); const vec4 Ay = vec4( 1.0, -1.0, -1.0, 1.0 ); const vec4 By = vec4( 2.0, 0.5, -2.0,-0.5 ); const vec4 Cy = vec4( 2.0, 0.0, -1.0, 0.5 ); vec4 df(vec4 A, vec4 B) { return abs(A-B); } vec4 weighted_distance(vec4 a, vec4 b, vec4 c, vec4 d, vec4 e, vec4 f, vec4 g, vec4 h) { return (df(a,b) + df(a,c) + df(d,e) + df(d,f) + 4.0*df(g,h)); } void main(){ bool upscale = u_texelDelta.x > (1.6 * u_pixelDelta.x); vec3 res = texture2D(sampler0, v_texcoord0.xy).xyz; // Let's skip the whole scaling if output size smaller than 1.6x of input size if (upscale) { bvec4 edr, edr_left, edr_up, px; // px = pixel, edr = edge detection rule bvec4 interp_restriction_lv1, interp_restriction_lv2_left, interp_restriction_lv2_up; bvec4 nc; // new_color bvec4 fx, fx_left, fx_up; // inequations of straight lines. vec2 pS = 1.0 / u_texelDelta.xy; vec2 fp = fract(v_texcoord0.xy*pS.xy); vec2 TexCoord_0 = v_texcoord0.xy-fp*u_pixelDelta.xy; vec2 dx = vec2(u_texelDelta.x,0.0); vec2 dy = vec2(0.0,u_texelDelta.y); vec2 y2 = dy + dy; vec2 x2 = dx + dx; vec3 A = texture2D(sampler0, TexCoord_0 -dx -dy ).xyz; vec3 B = texture2D(sampler0, TexCoord_0 -dy ).xyz; vec3 C = texture2D(sampler0, TexCoord_0 +dx -dy ).xyz; vec3 D = texture2D(sampler0, TexCoord_0 -dx ).xyz; vec3 E = texture2D(sampler0, TexCoord_0 ).xyz; vec3 F = texture2D(sampler0, TexCoord_0 +dx ).xyz; vec3 G = texture2D(sampler0, TexCoord_0 -dx +dy ).xyz; vec3 H = texture2D(sampler0, TexCoord_0 +dy ).xyz; vec3 I = texture2D(sampler0, TexCoord_0 +dx +dy ).xyz; vec3 A1 = texture2D(sampler0, TexCoord_0 -dx -y2).xyz; vec3 C1 = texture2D(sampler0, TexCoord_0 +dx -y2).xyz; vec3 A0 = texture2D(sampler0, TexCoord_0 -x2 -dy).xyz; vec3 G0 = texture2D(sampler0, TexCoord_0 -x2 +dy).xyz; vec3 C4 = texture2D(sampler0, TexCoord_0 +x2 -dy).xyz; vec3 I4 = texture2D(sampler0, TexCoord_0 +x2 +dy).xyz; vec3 G5 = texture2D(sampler0, TexCoord_0 -dx +y2).xyz; vec3 I5 = texture2D(sampler0, TexCoord_0 +dx +y2).xyz; vec3 B1 = texture2D(sampler0, TexCoord_0 -y2).xyz; vec3 D0 = texture2D(sampler0, TexCoord_0 -x2 ).xyz; vec3 H5 = texture2D(sampler0, TexCoord_0 +y2).xyz; vec3 F4 = texture2D(sampler0, TexCoord_0 +x2 ).xyz; vec4 b = vec4(dot(B ,rgbw), dot(D ,rgbw), dot(H ,rgbw), dot(F ,rgbw)); vec4 c = vec4(dot(C ,rgbw), dot(A ,rgbw), dot(G ,rgbw), dot(I ,rgbw)); vec4 d = vec4(b.y, b.z, b.w, b.x); vec4 e = vec4(dot(E,rgbw)); vec4 f = vec4(b.w, b.x, b.y, b.z); vec4 g = vec4(c.z, c.w, c.x, c.y); vec4 h = vec4(b.z, b.w, b.x, b.y); vec4 i = vec4(c.w,
Marvel™ Ultimate Alliance v1.6.3 2018-12-16 Error in shader program link: info: L0007 Fragment shader uses a varying v_texcoord that has not been declared in the vertex shader. fs: 00000000:00400802 Tex TexProj LM TFuncMod #version 300 es #extension GL_ARM_shader_framebuffer_fetch : require precision lowp float; uniform sampler2D tex; in vec4 v_color0; in vec3 v_color1; in mediump vec3 v_texcoord; out vec4 fragColor0; void main() { vec4 s = vec4(v_color1, 0.0); vec4 t = textureProj(tex, v_texcoord); vec4 p = v_color0; vec4 v = vec4(t.rgb * p.rgb, p.a) + s; fragColor0 = v; } vs: 01730440:00050b59 HWX C T N LM Tex TexProjUV UVMtx Light: 0: c:0 t:0 1: c:0 t:1 2: c:0 t:1 MatUp:3 #version 300 es precision highp float; in vec3 position; in mediump vec3 normal; in vec2 texcoord; in lowp vec4 color0; uniform mat4 u_proj; uniform mat4 u_world; uniform mat4 u_view; uniform mediump mat4 u_texmtx; uniform vec4 u_uvscaleoffset; uniform vec3 u_lightpos0; uniform lowp vec3 u_lightambient0; uniform lowp vec3 u_lightdiffuse0; uniform vec3 u_lightpos1; uniform mediump vec3 u_lightatt1; uniform lowp vec3 u_lightambient1; uniform lowp vec3 u_lightdiffuse1; uniform vec3 u_lightpos2; uniform mediump vec3 u_lightatt2; uniform lowp vec3 u_lightambient2; uniform lowp vec3 u_lightdiffuse2; uniform lowp vec4 u_ambient; uniform lowp vec4 u_matspecular; uniform lowp vec3 u_matemissive; uniform lowp vec4 u_matambientalpha; out lowp vec4 v_color0; out lowp vec3 v_color1; 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; lowp vec4 lightSum0 = u_ambient * color0 + vec4(u_matemissive, 0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0; ldot = max(dot(toLight, worldnormal), 0.0); diffuse = (u_lightdiffuse0 * color0.rgb) * ldot; lightSum0.rgb += (u_lightambient0 * color0.rgb + diffuse); toLight = u_lightpos1 - worldpos; distance = length(toLight); toLight /= distance; ldot = 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) * ldot; lightSum0.rgb += (u_lightambient1 * color0.rgb + diffuse) * lightScale; toLight = u_lightpos2 - worldpos; distance = length(toLight); toLight /= distance; ldot = 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) * ldot; lightSum0.rgb += (u_lightambient2 * color0.rgb + diffuse) * lightScale; v_color0 = clamp(lightSum0, 0.0, 1.0); v_color1 = vec3(0.0); v_texcoord = (u_texmtx * vec4(texcoord.xy, 0.0, 1.0)).xyz * vec3(u_uvscaleoffset.xy, 1.0); }