1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00
Commit Graph

17 Commits

Author SHA1 Message Date
Sergey Lipskiy
eb42f8fe46 Code cleanup: remove unused gDP.texRect struct and related code. 2015-05-13 10:18:50 +06:00
Sergey Lipskiy
6f40fa430b Fix frame buffer content check in CheckForFrameBufferTexture.
Frame buffer area is cleared in FrameBufferList::saveBuffer.
If scissor does not equal to frame buffer size, clear is incorrect.
Solution: clear frame buffer area without scissoring.

Fixed background in Dr.Mario
2015-05-13 10:18:26 +06:00
Sergey Lipskiy
c984298b7b Implement search for hires texture. WIP 2015-05-13 10:15:41 +06:00
Sergey Lipskiy
e72ac2ed3d Add tile load info auxillary structure.
It will be used to calculate tile size.
2015-05-13 10:15:26 +06:00
Sergey Lipskiy
a8021084f2 Implement LLE triangles. 2015-05-13 10:13:43 +06:00
Sergey Lipskiy
47d322741d Correct condition for calling Combiner_UpdateAlphaTestInfo(). 2015-05-13 10:12:08 +06:00
Sergey Lipskiy
898a189f89 Fixed Combiner_UpdateCombineFBInfo() call. 2015-05-13 10:12:03 +06:00
Sergey Lipskiy
344df93374 Rewrite depth texture clear. 2015-05-13 10:11:07 +06:00
Sergey Lipskiy
32892a2236 Fix #include dependences. 2015-05-13 10:10:47 +06:00
Sergey Lipskiy
5070a1aa82 Correct palette load for shadow map. 2015-05-13 10:10:34 +06:00
Sergey Lipskiy
f151ef36ca Add shadow map shader 2015-05-13 10:10:28 +06:00
Sergey Lipskiy
971bd9d0ec Frame buffer fixes for Mario Tennis.
Implemented various methods for testing buffer validity.
2015-05-13 10:09:58 +06:00
Sergey Lipskiy
562612a21a Texture load status is now set per tile. 2015-05-13 10:09:47 +06:00
Sergey Lipskiy
42e6208f25 Correct gSPBgRect* functions. 2015-05-13 10:09:38 +06:00
Sergey Lipskiy
657a576946 Fix fillcolor processing. Fillcolor has the same bitness as the color image. 2015-05-13 10:09:35 +06:00
Sergey Lipskiy
a7968f2ca2 Implement hardware LOD frac calculation.
Two pass rendering, using FBO.
First pass: store pixel's texture coordinates in frame buffer texture.
Second pass: calculate lod using frame buffer texture.
2015-05-13 10:09:27 +06:00
Sergey Lipskiy
69f27a5d8a Initial project version. Based on glN64-0.4.1-rc2 2015-05-13 10:09:12 +06:00