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 |
First Seen |
Latest Report |
Hits |
Message |
| Crash™ Tag Team Racing |
v1.11.3 |
2023-05-23 |
2023-05-23 |
2 |
80630006=sceAtracSetDataAndGetID(094b0180, 00014000): invalid RIFF header |
| Pro Evolution Soccer 2018 - PES Libertadores v4.1 - DAEMHVJPB |
v1.15.4 |
2023-05-22 |
2025-03-30 |
4 |
MIPSCompileOp: Invalid instruction 000001ff |
| Midnight Club 3: DUB Edition |
v1.11.3 |
2023-05-22 |
2023-05-22 |
1 |
Unknown GE command : 52000001 |
| Obscure: The Aftermath |
v1.6.3 |
2023-05-22 |
2023-08-23 |
2 |
WriteToHardware: Invalid address 00000390 near PC 08b020fc LR 08b01690 |
| eFootball PES 2021 T. Bendezu "C19" |
v1.11.3 |
2023-05-22 |
2023-05-22 |
1 |
MIPSCompileOp: Invalid instruction 00003005 |
| eFootball PES 2021 T. Bendezu "C19" |
v1.11.3 |
2023-05-22 |
2023-05-22 |
1 |
MIPSCompileOp: Invalid instruction 00007101 |
| eFootball PES 2021 T. Bendezu "C19" |
v1.11.3 |
2023-05-22 |
2023-05-22 |
1 |
MIPSCompileOp: Invalid instruction 05bea200 |
| eFootball By TM ARTS |
v1.11.3 |
2023-05-22 |
2023-05-22 |
1 |
MIPSCompileOp: Invalid instruction 62b0d590 |
| eFootball By TM ARTS |
v1.11.3 |
2023-05-22 |
2023-05-22 |
1 |
MIPSCompileOp: Invalid instruction 715f7c41 |
| eFootball Chelito 19 |
v1.16.6 |
2023-05-22 |
2023-12-27 |
3 |
MIPSCompileOp: Invalid instruction 0000003c |
| Need For Speed™ Underground Rivals |
v1.11.3 |
2023-05-21 |
2023-05-21 |
1 |
00000000=sceDisplaySetHoldMode(00000001): unsupported |
| SBK®09 Superbike World Championship |
v1.9.4 |
2023-05-21 |
2025-04-18 |
164 |
sceKernelRegisterSubIntrHandler(30, 0, 08a22378, 08f8c710): duplicate handler |
| SBK®09 Superbike World Championship |
v1.9.4 |
2023-05-21 |
2025-04-18 |
436 |
sceKernelRegisterSubIntrHandler(30, 0, 08a22378, 08fb5450): duplicate handler |
| SBK®09 Superbike World Championship |
v1.9.4 |
2023-05-21 |
2025-04-18 |
439 |
sceKernelRegisterSubIntrHandler(30, 0, 08a22378, 08fb53c0): duplicate handler |
| SBK®09 Superbike World Championship |
v1.9.4 |
2023-05-21 |
2026-11-07 |
446 |
sceKernelRegisterSubIntrHandler(30, 0, 08a22378, 08fb6890): duplicate handler |
| eFootball PES 2020 "C19" |
v1.11.3 |
2023-05-21 |
2023-11-03 |
4 |
MIPSCompileOp: Invalid instruction 475f5053 |
| eFootball PES 2020 "C19" |
v1.11.3 |
2023-05-21 |
2023-11-03 |
3 |
MIPSCompileOp: Invalid instruction 63736964 |
| FIFA 22 By Tutoriales Bendezu |
v1.11.3 |
2023-05-21 |
2023-05-21 |
1 |
MIPSCompileOp: Invalid instruction 464ef660 |
| FIFA 22 By Tutoriales Bendezu |
v1.11.3 |
2023-05-21 |
2023-05-21 |
1 |
MIPSCompileOp: Invalid instruction 45b1a6ae |
| FIFA 22 By Tutoriales Bendezu |
v1.11.3 |
2023-05-21 |
2023-05-21 |
1 |
MIPSCompileOp: Invalid instruction 45bf66af |
| FIFA 22 By Tutoriales Bendezu |
v1.11.3 |
2023-05-21 |
2023-05-21 |
4 |
MIPSCompileOp: Invalid instruction 44b77040 |
| FIFA 22 By Tutoriales Bendezu |
v1.11.3 |
2023-05-21 |
2023-05-21 |
4 |
MIPSCompileOp: Invalid instruction 46430b30 |
| FIFA 22 By Tutoriales Bendezu |
v1.11.3 |
2023-05-21 |
2023-05-21 |
1 |
MIPSCompileOp: Invalid instruction 00000115 |
| FIFA 22 By Tutoriales Bendezu |
v1.11.3 |
2023-05-21 |
2023-05-21 |
2 |
MIPSCompileOp: Invalid instruction 00001241 |
| WWE 2K22-GENESIS PSP MOD BY BORN FOR GAMERS |
v1.18.1 |
2023-05-20 |
2025-05-18 |
36 |
80630007=sceAtracSetData(2, 08d4b180, 000084b8): atracID uses different codec type than data |
| eFootball PES 2023 By Niwan Game |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
80420014=__sceSasCore(08bb3a00, 30112cc0): invalid address |
| WWE 2K22-GENESIS PSP MOD BY BORN FOR GAMERS |
v1.17.1 |
2023-05-20 |
2024-08-28 |
5 |
80630007=sceAtracSetData(3, 08d4b180, 00008e90): atracID uses different codec type than data |
| METAL SLUG Anthology |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
UNTESTED sceNetAdhocctlJoinEnterGameMode(TRIa3c9, 10:27:e5:d0:a3:c9, 20000000, 0) at 088e683c |
| Pro Evolution Soccer 2020 |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction 00003ff7 |
| Pro Evolution Soccer 2020 |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction 000041be |
| Pro Evolution Soccer 2020 |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction 0000023e |
| Pro Evolution Soccer 2020 |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction 0000065f |
| Pro Evolution Soccer 2020 |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction 000004f7 |
| Pro Evolution Soccer 2020 |
v1.18.1 |
2023-05-20 |
2025-06-26 |
2 |
MIPSCompileOp: Invalid instruction 00000014 |
| Pro Evolution Soccer 2020 |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction 00000268 |
| Pro Evolution Soccer 2020 |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction 000003f5 |
| NARUTO SHIPPUDEN: Ultimate Ninja Impact |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
WriteToHardware: Invalid address 0000225c near PC 08ae3728 LR 08ae3730 |
| NBA2K13 |
v1.12.2 |
2023-05-20 |
2023-12-02 |
2 |
sceKernelCreateSema(RealMutex) unsupported options parameter, size = 145752064 |
| WWE 2K22 EN ESPAÑOL BY ANT |
v1.9.4 |
2023-05-20 |
2025-05-18 |
63 |
80630007=sceAtracSetData(2, 08d4b180, 00004144): atracID uses different codec type than data |
| WWE 2K22 EN ESPAÑOL BY ANT |
v1.9.4 |
2023-05-20 |
2026-01-25 |
82 |
80630007=sceAtracSetData(2, 08d4b180, 00004b8c): atracID uses different codec type than data |
| eFootball By TM ARTS |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction 02f80529 |
| eFootball By TM ARTS |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction ecba000a |
| eFootball By TM ARTS |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction 02f80528 |
| eFootball By TM ARTS |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction cc78000f |
| eFootball By TM ARTS |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
MIPSCompileOp: Invalid instruction d0d8fffd |
| METAL SLUG Anthology |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
UNTESTED sceNetAdhocctlJoinEnterGameMode(TRIa3c9, 10:27:e5:d0:a3:c9, 20000000, 0) at 08829190 |
| METAL SLUG Anthology |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
UNTESTED sceNetAdhocctlCreateEnterGameMode(TRIa3c9, 1, 2, 09fff8c0, 20000000, 0) at 0882910c |
| METAL SLUG Anthology |
v1.15.4 |
2023-05-20 |
2023-09-05 |
2 |
UNTESTED sceNetAdhocctlCreateEnterGameMode(TRIaac4, 1, 2, 09ffe9d0, 20000000, 0) at 088e66d4 |
| METAL SLUG Anthology |
v1.15.4 |
2023-05-20 |
2023-09-05 |
2 |
UNTESTED sceNetAdhocctlJoinEnterGameMode(TRIaac4, a8:72:d4:93:aa:c4, 20000000, 0) at 088e683c |
| Megamind |
v1.11.3 |
2023-05-20 |
2023-05-20 |
1 |
Ignoring possible texturing from framebuffer at 0418a000 +0x39 / 64x64 |
| Ghost Rider |
v1.11.3 |
2023-05-19 |
2023-05-19 |
1 |
WriteToHardware: Invalid address 00000dd0 near PC 08a6e174 LR 08a65710 |
| WWE 2K23 by Gamer Modder and Finn |
v1.18.1 |
2023-05-19 |
2025-01-21 |
36 |
80630007=sceAtracSetData(3, 08d4b180, 00012e00): atracID uses different codec type than data |
| LEGO® Batman™: The Videogame |
v1.11.3 |
2023-05-19 |
2023-05-19 |
1 |
Unknown GE command : b6bb03ff |
| eFootball Chelito 19 |
v1.6.3 |
2023-05-19 |
2025-05-12 |
36 |
MIPSCompileOp: Invalid instruction 78143e11 |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.11.3 |
2023-05-18 |
2023-05-18 |
1 |
WriteToHardware: Invalid address 9d19969c near PC 0880dcc8 LR 0880dcc8 |
| PRO EVOLUTION SOCCER VANDAMME EDITION |
v1.7.5 |
2023-05-18 |
2024-10-16 |
265 |
avcodec_decode_audio4: Error decoding audio -1094995529 / bebbb1b7 |
| eFootball By TM ARTS |
v1.11.3 |
2023-05-18 |
2023-05-18 |
1 |
MIPSCompileOp: Invalid instruction 47007105 |
| SBK-07 |
v1.11.3 |
2023-05-18 |
2023-05-18 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08a24354, 091492e0): duplicate handler |
| SBK®09 Superbike World Championship |
v1.11.3 |
2023-05-18 |
2023-05-18 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08a22378, 0920a740): duplicate handler |
| SBK-07 |
v1.11.3 |
2023-05-18 |
2023-05-18 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08a24354, 090e3700): duplicate handler |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.17.1 |
2023-05-18 |
2024-10-14 |
11 |
MIPSCompileOp: Invalid instruction 4d342a68 |
| SBK-07 |
v1.11.3 |
2023-05-17 |
2023-05-17 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08a24354, 09161030): duplicate handler |
| SBK-07 |
v1.11.3 |
2023-05-17 |
2023-05-17 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08a24354, 08fd1b10): duplicate handler |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.11.3 |
2023-05-16 |
2023-05-16 |
1 |
Unknown GE command : 52a7a085 |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.11.3 |
2023-05-16 |
2023-05-16 |
9 |
00000000=sceAtracLowLevelDecode(0, 09fce660, 09fce8c0[00000130], 1302ad60, 09fce8c4[00001000]): invalid pointers |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.11.3 |
2023-05-16 |
2023-05-16 |
1 |
00000000=sceAtracLowLevelDecode(0, 09fce660, 09fce8c0[00000130], 1302ad60, 09fce8c4[09060320]): invalid pointers |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.11.3 |
2023-05-16 |
2023-05-16 |
1 |
WriteToHardware: Invalid address 1302ad60 near PC 0883c798 LR 0883c798 |
| WWE SmackDown vs. RAW 2009 |
v1.11.3 |
2023-05-16 |
2023-05-16 |
1 |
MIPSCompileOp: Invalid instruction 464e492f |
| WWE SmackDown vs. RAW 2009 |
v1.11.3 |
2023-05-16 |
2023-05-16 |
1 |
Trying to compile instruction 48464159 that can't be interpreted |
| WWE SmackDown vs. RAW 2009 |
v1.11.3 |
2023-05-16 |
2023-05-16 |
1 |
MIPSCompileOp: Invalid instruction 000008d4 |
| WWE SmackDown vs. RAW 2009 |
v1.11.3 |
2023-05-16 |
2023-05-16 |
1 |
Jump to invalid address: 02df0d40 PC 09e2c830 LR 09e2c830 |
| Jak & Daxter™: The Lost Frontier |
v1.11.3 |
2023-05-15 |
2023-05-15 |
1 |
MIPSCompileOp: Invalid instruction b57bbce1 |
| BEN 10: Protector of Earth |
v1.11.3 |
2023-05-15 |
2023-05-15 |
1 |
Unknown GE command : d1022b41 |
| Prince of Persia - Rival Swords |
v1.11.3 |
2023-05-15 |
2023-05-15 |
22 |
80630006=sceAtracSetDataAndGetID(0990c4c0, 00000800): invalid RIFF header |
| Prince of Persia - Rival Swords |
v1.11.3 |
2023-05-15 |
2023-05-15 |
1 |
80630006=sceAtracSetDataAndGetID(0979ee80, 00000800): invalid RIFF header |
| WWE 2K23 by Gamer Modder and Finn |
v1.9.4 |
2023-05-15 |
2025-02-28 |
67 |
avcodec_decode_audio4: Error decoding audio -1094995529 / bebbb1b7 |
| WWE 2K23 by Gamer Modder and Finn |
v1.17.1 |
2023-05-15 |
2026-07-23 |
62 |
80630007=sceAtracSetData(3, 08d4b180, 00018700): atracID uses different codec type than data |
| TEKKEN 6 |
v1.15.3 |
2023-05-15 |
2023-07-12 |
3 |
800200d2=scePsmfPlayerSetPsmfCB(090f40e4, disc0:/PSP_GAME/USRDIR/movie/title.pmf): too many streams in PSMF video, bogus data |
| TEKKEN 6 |
v1.15.3 |
2023-05-15 |
2023-06-24 |
2 |
800200d2=scePsmfPlayerSetPsmfCB(090d59e4, disc0:/PSP_GAME/USRDIR/movie/title.pmf): too many streams in PSMF video, bogus data |
| Dragon Ball Z: Tenkaichi Tag Team |
v1.16.6 |
2023-05-14 |
2024-01-18 |
4 |
MIPSCompileOp: Invalid instruction 003995c1 |
| eFootball Chelito 19 |
v1.12.3 |
2023-05-14 |
2023-10-31 |
3 |
Error in shader program link: info: Link Error: Fragment shader is missing.
fs: thin3d
vs: thin3d
#version 320 es
#if __VERSION__ >= 130
#define attribute in
#define varying out
#endif
attribute vec3 Position;
attribute vec4 Color0;
attribute vec2 TexCoord0;
varying vec4 oColor0;
varying vec2 oTexCoord0;
uniform mat4 WorldViewProj;
void main() {
gl_Position = WorldViewProj * vec4(Position, 1.0);
oColor0 = Color0;
oTexCoord0 = TexCoord0;
}
|
| eFootball PES By HAROUN TECH |
v1.11.3 |
2023-05-14 |
2023-05-14 |
41 |
UNIMPL sceIoChstat(ms0:/PSP/SAVEDATA/ULUS10466DATA/TEKKEN6.BIN, 09fd81d0, 00000002) |
| ウルトラマン オールスタークロニクル |
v1.9.0 |
2023-05-14 |
2025-10-03 |
2 |
WriteToHardware: Invalid address 000006d4 near PC 08000000 LR 08000000 |
| SBK-07 |
v1.11.3 |
2023-05-13 |
2023-05-13 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08a24354, 092c2af0): duplicate handler |
| SBK-07 |
v1.11.3 |
2023-05-13 |
2023-05-13 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08a24354, 096001e0): duplicate handler |
| eFootball PES 2021 By GABRIEL |
v1.11.3 |
2023-05-13 |
2026-01-30 |
2 |
sceKernelCreateSema(RealMutex) unsupported options parameter, size = 146185776 |
| Prince of Persia - Rival Swords |
v1.17.1 |
2023-05-13 |
2024-11-02 |
3 |
WriteToHardware: Invalid address 00000038 near PC 08000000 LR 08000000 |
| アクセル・ワールド ―銀翼の覚醒― |
v1.11.3 |
2023-05-13 |
2023-05-13 |
1 |
WriteToHardware: Invalid address 00000078 near PC 08a2a1a4 LR 08a19c4c |
| MONSTER HUNTER FREEDOM UNITE™ |
v1.11.3 |
2023-05-13 |
2023-05-13 |
1 |
__KernelStopThread: thread 1152 does not exist |
| Resistance: Retribution™ |
v1.11.3 |
2023-05-12 |
2023-05-12 |
1 |
WriteToHardware: Invalid address 3f800028 near PC 08b42348 LR 08b43670 |
| Dragon Ball Super: Multiverse Break |
v1.9.4 |
2023-05-12 |
2025-02-06 |
98 |
0 depal unsupported: shift=5 mask=ff offset=0 |
| Resistance: Retribution™ |
v1.11.3 |
2023-05-12 |
2023-05-12 |
1 |
WriteToHardware: Invalid address 3f800038 near PC 08cd8b34 LR 08cd7c98 |
| Resistance: Retribution™ |
v1.11.3 |
2023-05-12 |
2023-05-12 |
1 |
WriteToHardware: Invalid address 0000027c near PC 08cd8b34 LR 08cd7c98 |
| eFootball Editores De Centroamerica |
v1.9.3 |
2023-05-12 |
2023-12-14 |
213 |
80630006=sceAtracSetDataAndGetID(09a4ec00, 00004000): fmt definition too small (16) |
| WWE SmackDown vs. RAW 2011 |
v1.11.3 |
2023-05-12 |
2023-05-12 |
1 |
80630007=sceAtracSetData(2, 08d4b180, 0000fad8): atracID uses different codec type than data |
| SBK-07 |
v1.11.3 |
2023-05-12 |
2023-05-12 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08a24354, 093375b0): duplicate handler |
| SBK-07 |
v1.11.3 |
2023-05-12 |
2023-05-12 |
1 |
sceKernelRegisterSubIntrHandler(30, 0, 08a24354, 09337c20): duplicate handler |
| Grand Theft Auto®: Chinatown Wars™ |
v1.18.1 |
2023-05-12 |
2025-05-03 |
11 |
MIPSCompileOp: Invalid instruction 00000005 |
| eFooTBall Play Cesar Patch |
v1.9.4 |
2023-05-12 |
2026-11-07 |
875 |
80630006=sceAtracSetDataAndGetID(09a25200, 00001000): invalid RIFF header |
| Disney•Pixar Cars 2 |
v1.11.3 |
2023-05-12 |
2023-05-12 |
1 |
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 r10p0-00dev0 [Revision 96995].
01f25595:00000b39 HWX C T N LM Tex Light: 0: c:1 t:1 1: c:1 t:2 2: c:1 t:1 3: c:1 t:1 MatUp:2 Cull
#version 100
// Mali-400 MP - GLSL 100
precision highp float;
#define gl_VertexIndex gl_VertexID
#define splat3(x) vec3(x)
#define mul(x, y) ((x) * (y))
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 lowp vec3 u_lightspecular0;
uniform vec3 u_lightpos1;
uniform mediump vec3 u_lightatt1;
uniform mediump vec3 u_lightdir1;
uniform mediump vec2 u_lightangle_spotCoef1;
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 mediump vec3 u_lightatt3;
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 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 = mul(vec4(position, 1.0), u_world).xyz;
mediump vec3 worldnormal = normalize(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);
lowp vec4 lightSum0 = u_ambient * u_matambientalpha + vec4(u_matemissive, 0.0);
lowp vec3 lightSum1 = splat3(0.0);
vec3 toLight;
lowp vec3 diffuse;
float distance;
lowp float lightScale;
mediump float ldot;
lowp float angle;
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);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a <= 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular0 * u_matspecular.rgb * ldot * lightScale;
}
lightSum0.rgb += (u_lightambient0 * u_matambientalpha.rgb + diffuse) * lightScale;
toLight = u_lightpos1 - worldpos;
distance = length(toLight);
toLight /= distance;
ldot = dot(toLight, worldnormal);
angle = length(u_lightdir1) == 0.0 ? 0.0 : dot(normalize(u_lightdir1), toLight);
if (angle >= u_lightangle_spotCoef1.x) {
lightScale = clamp(1.0 / dot(u_lightatt1, vec3(1.0, distance, distance*distance)), 0.0, 1.0) * (u_lightangle_spotCoef1.y <= 0.0 ? 1.0 : pow(angle, u_lightangle_spotCoef1.y));
} else {
lightScale = 0.0;
}
diffuse = (u_lightdiffuse1 * color0.rgb) * max(ldot, 0.0);
if (ldot >= 0.0) {
ldot = dot(normalize(toLight + vec3(0.0, 0.0, 1.0)), worldnormal);
if (u_matspecular.a <= 0.0) {
ldot = 1.0;
} else {
ldot = pow(max(ldot, 0.0), u_matspecular.a);
}
if (ldot > 0.0)
lightSum1 += u_lightspecular1 * u_matspecular.rgb * ldot * lightScale;
}
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, dista |