Recent logs - v1.17.1-817-g13506d3d02

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.

Showing the 100 newest messages. One row per game and distinct message text; Hits counts every report of it.

Game title Version First Seen Latest Report Hits Message
eFootball 26 FIFA World CupX = 0.513729 v1.17.1-817-g13506d3d02 2026-07-29 2026-08-13 2 Unknown GetPointerWrite 00000000 PC 08808430 LR 08808448
PES eFOOTBALL 2026 JRplay v1.17.1-817-g13506d3d02 2026-04-28 2026-04-28 1 00000400=sceGeEdramSetAddrTranslation(00000800)
eFootball Chelito 19 v1.18.1-87-gda0168f41a 2026-03-01 2026-11-08 653 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
MONSTER HUNTER PORTABLE 3rd HD Ver. v1.17.1-817-g13506d3d02 2026-01-27 2026-01-27 68 Bad index address 02b8c584!
MONSTER HUNTER PORTABLE 3rd HD Ver. v1.17.1-817-g13506d3d02 2026-01-10 2026-04-01 26 Unknown GE command : 3419e200
eFootball JOELAND v1.18.1-87-gda0168f41a 2026-01-02 2026-11-08 1,715 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
EA-Sports FC Lop-Play v1.9.4 2025-11-23 2026-10-30 81 80630006=sceAtracSetDataAndGetID(09a25200, 00003000): invalid RIFF header
eFootball RB - V. v1.20.4 2025-11-16 2026-10-23 122 sceNetAdhocMatchingInit(32768) at 08a719b8
eFootball RB - V. v1.18.1-846-gab47c3cb1f 2025-11-07 2026-11-07 360 Unknown GetPointerWrite 00000000 PC 088287f0 LR 08828800
eFootball RB - V. v1.18.1-846-gab47c3cb1f 2025-11-07 2026-10-26 323 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
EA-Sports FC Lop-Play v1.18.1-846-gab47c3cb1f 2025-09-12 2026-11-06 114 Unknown GetPointerWrite 00000000 PC 08808448 LR 08808460
eFootball RB - V. v1.18.1-40-gc9c5435a86 2025-09-06 2026-11-08 2,085 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
eFootball Lop - Play v1.9.4 2025-09-03 2026-11-08 16,570 80630006=sceAtracSetDataAndGetID(09a4ec00, 00004000): invalid RIFF header
Dragon Ball : Sparking Zero v1.18.1-846-gab47c3cb1f 2025-08-28 2026-10-23 12,084 AT3 header map lacks entry for bpf: 0 channels: 0
Dragon Ball : Sparking Zero v1.18.1-846-gab47c3cb1f 2025-08-28 2026-10-31 1,009 00000400=sceGeEdramSetAddrTranslation(00000800)
EA-Sports FC Lop-Play v1.20.4-2501-gbd04d064a4 2025-08-18 2026-11-20 3,869 sceNetAdhocMatchingInit(32768) at 08a719b8
EA-Sports FC Lop-Play v1.18.1-993-ge80941403a 2025-08-14 2026-11-08 2,370 Unknown GetPointerWrite 00000000 PC 088287f0 LR 08828800
EA-Sports FC Lop-Play v1.9.4 2025-08-12 2026-11-08 33,726 MIPSCompileOp: Invalid instruction 01010101
EA-Sports FC Lop-Play v1.18.1-945-gb0182ed0e6 2025-08-06 2026-11-08 4,491 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
eFootball Lop - Play v1.9.4 2025-07-30 2026-11-08 25,885 80630006=sceAtracSetDataAndGetID(09a4ec00, 00004000): fmt definition too small (16)
eFootball Lop - Play v1.9.4 2025-07-27 2026-11-08 6,570 80630006=sceAtracSetDataAndGetID(09a25200, 00004000): invalid RIFF header
eFootball Lop - Play v1.18.1-993-ge80941403a 2025-07-23 2026-11-08 7,622 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
eFootball Lop - Play v1.18.1-993-ge80941403a 2025-07-23 2026-11-08 5,645 Unknown GetPointerWrite 00000000 PC 088287f0 LR 08828800
eFootball Lop - Play v1.20.4-2073-gcae623f4e6 2025-07-22 2026-11-19 5,548 sceNetAdhocMatchingInit(32768) at 08a719b8
eFootball PC - V. v1.17.1-817-g13506d3d02 2025-07-03 2025-07-03 18 AT3 header map lacks entry for bpf: 0 channels: 0
Naruto Shippuden: Kizuna Drive v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 WriteToHardware: Invalid address 3f800a4e near PC 089f281c LR 089f281c
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 02008180 PC 08802070 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 0708c080 PC 08802060 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 02008100 PC 08802050 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 0708c0e0 PC 08802044 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 0708c080 PC 08802040 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 02008080 PC 08802030 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 073f0a80 PC 0880202c LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 0717cd80 PC 08802028 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 073eff00 PC 08802024 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 0708c080 PC 08802020 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 02008000 PC 08802018 LR 088807a4
NARUTO: Ultimate Ninja Heroes v1.17.1-817-g13506d3d02 2025-06-25 2025-06-25 1 Jump to invalid address: 071a2f00 PC 08802014 LR 088807a4
EA FC 2024 BY RA-PATCH v1.20.4 2025-03-30 2026-10-06 96 sceNetAdhocMatchingInit(32768) at 08a719b8
BEN 10: Protector of Earth v1.17.1-817-g13506d3d02 2025-02-17 2025-09-14 14 AT3 header map lacks entry for bpf: 0 channels: 0
eFootball 2025 by MP v1.18.1-846-gab47c3cb1f 2025-02-11 2026-09-12 1,324 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
EAGLE PATCH 2025 PSP v1.8.0 2025-02-11 2026-08-09 5,560 MIPSCompileOp: Invalid instruction 01010101
eFootball SM - V. v1.18.1 2025-01-28 2026-03-13 104 Unknown GetPointerWrite 00000000 PC 088287f0 LR 08828800
METAL SLUG XX™ v1.17.1-817-g13506d3d02 2025-01-25 2025-01-25 10 AT3 header map lacks entry for bpf: 0 channels: 0
Daxter v1.18.1 2024-12-14 2025-03-02 2 Savedata loading with detected hashmode 3 instead of file's 5
eFootball v1.18.1-841-gc3209aa868 2024-12-13 2026-07-18 1,578 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
Dragon Ball TAG VS v1.18.1-945-gb0182ed0e6 2024-11-03 2026-10-07 4,079 AT3 header map lacks entry for bpf: 0 channels: 0
Dragon Ball TAG VS v1.18.1-787-ge63dbd888e 2024-11-02 2026-10-07 1,413 00000400=sceGeEdramSetAddrTranslation(00000800)
eFootball PC - V. v1.18.1 2024-10-31 2026-06-12 14 Unknown GetPointerWrite 00000000 PC 08808458 LR 08808460
RESISTANCE® ~報復の刻~ v1.17.1-817-g13506d3d02 2024-10-31 2024-10-31 1 WriteToHardware: Invalid address 00000010 near PC 08d09d20 LR 08bf868c
eFootball PC - V. v1.17.1-817-g13506d3d02 2024-10-25 2026-06-27 542 80630006=sceAtracSetData(2, 08d13140, 00038000): invalid RIFF header
PATCH SPARTAN11 v1.18.1-841-gc3209aa868 2024-10-21 2026-04-09 329 80630006=sceAtracSetDataAndGetID(09a4ec00, 00004000): fmt definition too small (16)
PATCH SPARTAN11 v1.18.1-162-gfe38e8822c 2024-10-20 2026-10-03 641 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
ドラゴンボールZ 真武道会2 v1.17.1-817-g13506d3d02 2024-10-18 2024-10-18 1 Trying to compile instruction 00001834 that can't be interpreted
ドラゴンボールZ 真武道会2 v1.17.1-817-g13506d3d02 2024-10-18 2024-10-18 1 MIPSCompileOp: Invalid instruction 00001855
ドラゴンボールZ 真武道会2 v1.17.1-817-g13506d3d02 2024-10-18 2024-10-18 1 MIPSCompileOp: Invalid instruction 00001114
Grand Theft Auto: Vice City Stories v1.17.1-817-g13506d3d02 2024-10-15 2024-10-15 1 WriteToHardware: Invalid address 0000027c near PC 08b65b74 LR 08807cac
TEKKEN 6 v1.17.1-817-g13506d3d02 2024-10-10 2024-10-10 1 WriteToHardware: Invalid address 150f7a5c near PC 08000000 LR 08000000
eFootball 2024 v1.18.1-908-gd7aa236e13 2024-10-08 2026-01-24 1,027 Unknown GetPointerWrite 00000000 PC 08816130 LR 08816144
Grand Theft Auto®: Chinatown Wars™ v1.17.1-817-g13506d3d02 2024-10-04 2024-10-04 9 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 r9p0-01rel0 [Revision 96995]. 01730551:00000b01 HWX T N LM Light: 0: c:1 t:0 1: c:1 t:1 2: c:1 t:1 MatUp:3 #version 100 // Driver: Mali-470 MP - GLSL 100 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 01730551:00000b01 HWX T N LM Light: 0: c:1 t:0 1: c:1 t:1 2: c:1 t:1 MatUp:3 attribute vec3 position; attribute mediump vec3 normal; attribute vec2 texcoord; 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 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 vec2 u_fogcoef; uniform highp vec4 u_depthRange; 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; varying mediump float v_fogdepth; vec3 normalizeOr001(vec3 v) { return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v); } void main() { vec3 worldpos = mul(vec4(position, 1.0), u_world).xyz; mediump vec3 worldnormal = normalizeOr001(mul(vec4(normal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); vec4 ambientColor = u_matambientalpha; vec3 diffuseColor = u_matdiffuse.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(0.0); vec3 toLight; lowp vec3 diffuse; float distance; lowp float lightScale; mediump float ldot; toLight = u_lightpos0; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse0 * diffuseColor) * max(ldot, 0.0); if (ldot >= 0.0) { if (u_matspecular.a > 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); ldot = pow(max(ldot, 0.0), u_matspecular.a); } else { ldot = 1.0; } if (ldot > 0.0) lightSum1 += u_lightspecular0 * specularColor * ldot ; } lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse); 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 * diffuseColor) * max(ldot, 0.0); if (ldot >= 0.0) { if (u_matspecular.a > 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); ldot = pow(max(ldot, 0.0), u_matspecular.a); } else { ldot = 1.0; } if (ldot > 0.0) lightSum1 += u_lightspecular1 * specularColor * ldot * lightScale; } lightSum0.rgb += (u_lightambient1 * ambientColor.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 * diffuseColor) * max(ldot, 0.0); if (ldot >= 0.0) { if (u_matspecular.a > 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); ldot = pow(max(ldot, 0.0), u_matspecular.a); } else { ldot = 1.0; } if (ldot > 0.0) lightSum1 += u_lightspecu
eFootball 2025 STAR PATCH v1.18.1-945-gb0182ed0e6 2024-10-01 2026-11-07 5,936 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
Ghost Rider v1.17.1-817-g13506d3d02 2024-09-28 2025-09-11 20 AT3 header map lacks entry for bpf: 0 channels: 0
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 1 MIPSCompileOp: Invalid instruction 02181478
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 1 MIPSCompileOp: Invalid instruction 7fbff5f5
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 1 MIPSCompileOp: Invalid instruction ee54b898
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 2 MIPSCompileOp: Invalid instruction 720b4076
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 2 MIPSCompileOp: Invalid instruction f350cb0a
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 2 MIPSCompileOp: Invalid instruction d2d3e944
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 1 MIPSCompileOp: Invalid instruction ced14912
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 1 MIPSCompileOp: Invalid instruction b4ec449f
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 1 MIPSCompileOp: Invalid instruction 7468d053
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 1 MIPSCompileOp: Invalid instruction ce51c282
FIFA 11 v1.17.1-817-g13506d3d02 2024-09-22 2024-09-22 1 MIPSCompileOp: Invalid instruction d0246bfd
eFootball Chelito 19 v1.20.4 2024-09-17 2026-11-18 7,879 sceNetAdhocMatchingInit(32768) at 08a719b8
eFootball Chelito 19 v1.18.1-945-gb0182ed0e6 2024-09-17 2026-11-08 4,994 Unknown GetPointerWrite 00000000 PC 088287f0 LR 08828800
eFootball Chelito 19 v1.18.1-986-ga174fdb19e 2024-09-16 2026-11-08 33,125 Unknown GetPointerWrite 00000000 PC 08816148 LR 0881615c
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.17.1-817-g13506d3d02 2024-09-07 2024-09-07 1 00000000=sceUtilityScreenshotInitStart(09cad7e8)
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.17.1-817-g13506d3d02 2024-09-07 2024-09-07 1 00000000=sceUtilityScreenshotInitStart(09cad828)
SBK® Superbike World Championship v1.17.1-817-g13506d3d02 2024-09-03 2024-09-03 1 sceKernelRegisterSubIntrHandler(30, 0, 08a24d70, 095952f0): duplicate handler
SBK® Superbike World Championship v1.17.1-817-g13506d3d02 2024-09-03 2024-09-03 1 sceKernelRegisterSubIntrHandler(30, 0, 08a24d70, 08fb5320): duplicate handler
Dragon Ball TAG VS v1.18.1 2024-09-02 2025-03-03 36 AT3 header map lacks entry for bpf: 0 channels: 0
Dragon Ball TAG VS v1.18.1 2024-09-01 2025-03-03 207 00000400=sceGeEdramSetAddrTranslation(00000800)
Midnight Club L.A. Remix v1.17.1-817-g13506d3d02 2024-08-30 2024-08-30 1 WriteToHardware: Invalid address 00000227 near PC 08b0ea40 LR 08b0ea08
PES FL 2022 v1.18.1 2024-08-21 2026-04-10 690 Unknown GetPointerWrite 00000000 PC 08816130 LR 08816144
PES MY 2024 v1.18.1 2024-08-17 2025-05-21 167 Unknown GetPointerWrite 00000000 PC 08816130 LR 08816144
Def Jam® Fight For NY™: The Takeover v1.17.1-817-g13506d3d02 2024-08-16 2024-08-16 1 UNTESTED sceNetAdhocctlJoinEnterGameMode(9705829, 80:fa:48:f8:bb:e1, 20000000, 0) at 0897eeec
Def Jam® Fight For NY™: The Takeover v1.17.1-817-g13506d3d02 2024-08-16 2024-08-16 1 UNTESTED sceNetAdhocctlCreateEnterGameMode(8665247, 1, 2, 09fbf960, 20000000, 0) at 0897ec84
SBK®08 Superbike World Championship v1.17.1-817-g13506d3d02 2024-08-16 2024-08-16 3 sceKernelRegisterSubIntrHandler(30, 0, 089c90fc, 095b33e0): duplicate handler
SBK®08 Superbike World Championship v1.17.1-817-g13506d3d02 2024-08-16 2024-08-16 1 sceKernelRegisterSubIntrHandler(30, 0, 089c90fc, 08f5a770): duplicate handler
SBK®08 Superbike World Championship v1.17.1-817-g13506d3d02 2024-08-16 2024-08-16 1 sceKernelRegisterSubIntrHandler(30, 0, 089c90fc, 0960a360): duplicate handler
SBK®08 Superbike World Championship v1.17.1-817-g13506d3d02 2024-08-16 2024-08-16 1 sceKernelRegisterSubIntrHandler(30, 0, 089c90fc, 0971d0e0): duplicate handler
SBK-07 v1.17.1-817-g13506d3d02 2024-08-14 2024-08-14 1 sceKernelRegisterSubIntrHandler(30, 0, 08a24354, 09345bd0): duplicate handler
BLAZBLUE CONTINUUM SHIFT Ⅱ v1.17.1-817-g13506d3d02 2024-08-13 2024-08-13 1 WriteToHardware: Invalid address 00001c78 near PC 08a39708 LR 08a39708
Def Jam® Fight For NY™: The Takeover v1.17.1-817-g13506d3d02 2024-08-12 2024-08-12 1 UNTESTED sceNetAdhocctlCreateEnterGameMode(706412d, 1, 2, 09fbf960, 20000000, 0) at 0897ec84
eFootball v1.18.1 2024-08-12 2026-04-20 91 Unknown GetPointerWrite 00000000 PC 088287f0 LR 08828800
DBS TTT LATINO - LOS IJUE30S v1.18.1-986-ga174fdb19e 2024-08-08 2025-09-09 44,361 AT3 header map lacks entry for bpf: 0 channels: 0
DBS TTT LATINO - LOS IJUE30S v1.18.1-635-g41bd984a7e 2024-08-08 2025-09-09 2,485 00000400=sceGeEdramSetAddrTranslation(00000800)
NARUTO SHIPPUDEN: Ultimate Ninja Impact v1.17.1-817-g13506d3d02 2024-08-05 2024-08-05 1 80630006=sceAtracSetDataAndGetID(09c75150, 0001fff0): RIFF chunk did not contain WAVE
RIDE 4 v1.18.1 2024-08-04 2026-05-28 212 sceKernelRegisterSubIntrHandler(30, 0, 08a22378, 08fa80c0): duplicate handler
God of War®: Ghost of Sparta v1.17.1-817-g13506d3d02 2024-08-02 2024-08-03 2 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-01rel0 [Revision 96995]. 07f34115:41000b09 HWX C T N LM Bones:5 Light: 0: c:1 t:1 1: c:1 t:0 2: c:1 t:0 3: c:0 t:1 MatUp:3 WScale 3 #version 100 // Driver: Mali-450 MP - GLSL 100 precision highp float; #define gl_VertexIndex gl_VertexID #define splat3(x) vec3(x) #define mul(x, y) ((x) * (y)) // 07f34115:41000b09 HWX C T N LM Bones:5 Light: 0: c:1 t:1 1: c:1 t:0 2: c:1 t:0 3: c:0 t:1 MatUp:3 WScale 3 attribute mediump vec4 w1; attribute mediump float w2; 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 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 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 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 vec2 u_fogcoef; uniform highp vec4 u_depthRange; 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; varying mediump float v_fogdepth; vec3 normalizeOr001(vec3 v) { return length(v) == 0.0 ? vec3(0.0, 0.0, 1.0) : normalize(v); } void main() { mat4 skinMatrix = mul(w1.x, u_bone0) + mul(w1.y, u_bone1) + mul(w1.z, u_bone2) + mul(w1.w, u_bone3) + mul(w2, u_bone4); vec3 skinnedpos = mul(vec4(position, 1.0), skinMatrix).xyz; vec3 worldpos = mul(vec4(skinnedpos, 1.0), u_world).xyz; mediump vec3 skinnednormal = mul(vec4(normal, 0.0), skinMatrix).xyz; mediump vec3 worldnormal = normalizeOr001(mul(vec4(skinnednormal, 0.0), u_world).xyz); vec4 viewPos = vec4(mul(vec4(worldpos, 1.0), u_view).xyz, 1.0); vec4 outPos = mul(u_proj, viewPos); vec4 ambientColor = color0; vec3 diffuseColor = color0.rgb; vec3 specularColor = u_matspecular.rgb; lowp vec4 lightSum0 = u_ambient * ambientColor + vec4(u_matemissive, 0.0); lowp vec3 lightSum1 = splat3(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 * diffuseColor) * max(ldot, 0.0); if (ldot >= 0.0) { if (u_matspecular.a > 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); ldot = pow(max(ldot, 0.0), u_matspecular.a); } else { ldot = 1.0; } if (ldot > 0.0) lightSum1 += u_lightspecular0 * specularColor * ldot * lightScale; } lightSum0.rgb += (u_lightambient0 * ambientColor.rgb + diffuse) * lightScale; toLight = u_lightpos1; ldot = dot(toLight, worldnormal); diffuse = (u_lightdiffuse1 * diffuseColor) * max(ldot, 0.0); if (ldot >= 0.0) { if (u_matspecular.a > 0.0) { ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal); ldot = pow(max(ldot, 0.0), u_matspecular.a); } else { ldot = 1.0; } if (ldot > 0.0) lightSum1 += u_lightspecular1 * specularColor * ldot ; } lightSum0.rgb += (u_lightambient1 * ambientColor.rg

Older »