Commit graph

340 commits

Author SHA1 Message Date
Joel Middendorf
742dd59606 Fix texrect position 2017-11-23 23:49:47 -05:00
Joel Middendorf
01c5c9c73a Render state changed on loadsync 2017-11-23 14:58:33 -05:00
Joel Middendorf
0a816587c2 light from normals only 2017-11-23 04:58:14 -05:00
Joel Middendorf
2469bed8a1 Apha transparency for Mario HUD 2017-11-23 02:02:25 -05:00
Joel Middendorf
7b54ec7d5e Clear numItems in texrect buffers on draw 2017-11-23 01:15:20 -05:00
Joel Middendorf
568f39c61b Fix texrect width 2017-11-23 00:20:13 -05:00
Joel Middendorf
d871889f63 uncomment @videoLog calls and just comment console.log in the @videoLog function 2017-11-22 22:59:15 -05:00
Joel Middendorf
1c3463ab47 Fix Pop Matrix which fixes in-game text 2017-11-22 21:26:38 -05:00
Joel Middendorf
d5fd2d7c22 Performance - precreate gl buffers 2017-11-20 21:25:14 -05:00
Joel Middendorf
d208abc4ee remove logging 2017-11-18 20:17:38 -05:00
Joel Middendorf
6d2a715808 dummy texture if no tile width or height 2017-11-18 20:13:04 -05:00
Joel Middendorf
ae7b210959 return of texrexts; support non-power-of-2 textures 2017-11-18 19:03:24 -05:00
Joel Middendorf
af49c604e8 Bump to 0.2.6 and fix fps timing 2017-11-18 14:47:21 -05:00
Joel Middendorf
81e9eb4c16 FPS timing improvements 2017-11-18 14:27:21 -05:00
Joel Middendorf
409ca3bb06 FPS timing improvements 2017-11-18 14:25:20 -05:00
Joel Middendorf
f4b85288c1 Support different requestAnimationFrame types 2017-11-18 13:43:35 -05:00
Joel Middendorf
152a8172e3 Fix depth-related flickering 2017-11-18 13:04:14 -05:00
Joel Middendorf
2b9e21dcb2 hide the 2d canvase when 3d is showing 2017-11-17 04:12:28 -05:00
Joel Middendorf
a711919a29 use default blend for fog modes until we support fog 2017-11-17 03:53:16 -05:00
Joel Middendorf
2a93aefe63 zDepth fixes 2017-11-17 01:50:00 -05:00
Joel Middendorf
dc7b51dc80 Disable files opening on enter when rom starts to prevent the emu from competing for enter key which opens the load file dialog 2017-11-16 02:16:54 -05:00
Joel Middendorf
aba1dea53e Fix rendering issues 2017-11-15 22:39:38 -05:00
Joel Middendorf
cc0bd0a68e Optimize draw calls by detecting state changes necessitating immediate draws 2017-11-15 20:50:41 -05:00
Joel Middendorf
f4c0b928fa Increment CP0 COUNT register 2017-11-14 23:47:09 -05:00
Joel Middendorf
7fe72ff7cf Remove old draw quad func 2017-11-14 18:37:15 -05:00
Joel Middendorf
6806d994ee Draw tris immediately..fixes a lot of graphics problems 2017-11-14 10:05:32 -05:00
Joel Middendorf
89a5ed584f drawing scene more often as test 2017-11-14 08:17:59 -05:00
Joel Middendorf
b1c9e33638 ClearColor fixes 2017-11-13 17:15:36 -05:00
Joel Middendorf
6b38d35668 ZDepth (WIP) 2017-11-13 08:16:23 -05:00
Joel Middendorf
bae1dd5d4c Fix: subarray end too large 2017-11-12 23:41:58 -05:00
Joel Middendorf
f0c433b155 Cleanup unnecessary code 2017-11-12 23:04:21 -05:00
Joel Middendorf
20da72c488 Fix rgba5551 pixel format and support ia4, ia8 and ia16 pixel formats 2017-11-11 23:08:56 -05:00
Joel Middendorf
5125994bf0 texture wrap fixes 2017-11-11 18:46:47 -05:00
Joel Middendorf
dabf112394 Mirrored textures 2017-11-11 17:57:33 -05:00
Joel Middendorf
d93d78c205 Fix transparency in RGBA16 textures; Mirror textures 2017-11-11 17:11:58 -05:00
Joel Middendorf
24e6632ef9 Fix transparency in RGBA16 textures; Mirror textures 2017-11-11 17:10:56 -05:00
Joel Middendorf
1693db4524 Disable texture cache 2017-11-11 14:30:11 -05:00
Joel Middendorf
9aa707e072 Bump to 0.1.26 2017-11-10 20:11:05 -05:00
Joel Middendorf
7a307e6acd Merge branch 'master' of github.com:schibo/1964js 2017-11-10 20:10:33 -05:00
Joel Middendorf
1c9472ecdd model lighting 2017-11-10 20:01:03 -05:00
Joel Middendorf
08938aec71 light color fix 2017-11-10 00:19:43 -05:00
Joel Middendorf
a396b2d4c8 Optimization so matrices are reused instead of reallocated 2017-11-09 22:53:51 -05:00
Joel Middendorf
6e2c00b21d Lighting improvements 2017-11-09 14:21:25 -05:00
Joel Middendorf
fe28b94fce Geometry mode fixes 2017-11-09 09:51:33 -05:00
Joel Middendorf
eaf65e9c6e Lighting 2017-11-08 15:25:11 -05:00
Joel Middendorf
15c9fab1bb Lighting 2017-11-08 10:59:21 -05:00
Joel Middendorf
a9aab72248 Disable lighting for now; fix timing of run loop 2017-11-07 22:21:36 -05:00
Joel Middendorf
616c9320c9 Lighting improvements 2017-11-07 20:59:41 -05:00
Joel Middendorf
112822b6e4 Merge branch 'master' into lighting 2017-11-06 10:00:01 -05:00
Joel Middendorf
9e844ff12e Minor formatting fixes detected by latest coffeelint 2017-11-06 09:59:21 -05:00