Commit Graph

136 Commits

Author SHA1 Message Date
raven02
9cfe48dd33 Float code cleanup 2013-07-29 17:12:02 +08:00
raven02
b35e89f646 Fix rear mirror in Ridge Racer 2 2013-07-27 18:45:48 +08:00
raven02
380b51dc6d Revert clamp to zero and use another attempt fix 2013-07-27 18:20:07 +08:00
raven02
087cb8b5e0 Clamp vpX0/vpY0 to zero when negative value retured 2013-07-27 06:24:59 +08:00
raven02
cffb397fbf Fall the depth test to the simplest and correct one 2013-07-25 00:01:00 +08:00
Unknown W. Brackets
b2927213c7 Use stencil GE state accessors. 2013-07-21 19:45:04 -07:00
Unknown W. Brackets
abd9dc6137 Use the light computation/type GE accessors. 2013-07-21 19:44:30 -07:00
raven02
100d336fb2 Remove _ suffix and hide the GPU mode on GLES2 2013-07-22 04:17:54 +08:00
raven02
87fc81e56d Consolidate Rendering Mode 2013-07-21 23:17:42 +08:00
raven02
dfb5983816 Remove !gstate.isFogEnabled() 2013-07-18 23:41:08 +08:00
Henrik Rydgard
edf5e13673 Undo a small difference introduced in #2814, should fix #2815 2013-07-17 23:12:46 +02:00
raven02
2e4e00329f Use getScissor() function for setting scissorX1/Y1/X2/Y2 2013-07-18 04:04:00 +08:00
raven02
167a56642b Consolidate culling test into non-clear mode 2013-07-15 00:10:43 +08:00
raven02
bee66bdb4d Fix depth issues in multiple games 2013-07-14 03:24:29 +08:00
Henrik Rydgård
fbe8a19143 When alpha mask is off, don't write to stencil if stencil is off (as
alpha and stencil are shared on the PSP, when neither are on nothing
should be written to the stencil channel). thanks unknown.
2013-07-03 17:57:33 +02:00
raven02
d43a2f4d06 Fix stencil issue in MotoGP 2013-07-03 08:39:45 +08:00
raven02
6a1b6407fd Fix depth issues in multiple games 2013-07-01 23:03:34 +08:00
Henrik Rydgard
2694343243 Another attempt at reusing bigger framebuffers. Doesn't solve everything but hopefully won't break much like the last attempt. 2013-06-20 22:19:20 +02:00
Henrik Rydgård
17e084d77e Fix objects showing through road in Ridge Racer. Clears can set whether
to affect depth or not, need to respect that bit. Fixes #1712.
2013-05-08 11:29:24 +02:00
Unknown W. Brackets
d412cf5c64 Approximate better with two fixed blend colors.
Having one be constant, or having a nearby blend, is better than fixing
both to 1.0 or 0.0.
2013-05-01 08:00:52 -07:00
Unknown W. Brackets
4009a37692 Improve blending with two fixed colors.
It's not right, but it's less bad.  Maybe there's a better way?

Improves Popolocrois and Lunar (battle) blending issues.
2013-05-01 00:55:30 -07:00
Unknown W. Brackets
bc1e0d09d4 Report a possible blend error. 2013-04-30 00:04:00 -07:00
BeaR
3cc7d99143 Change texture even on clearmode 2013-04-09 09:50:57 +02:00
raven02
6396324f57 Add few isEnabled() in GPUState for Alpha/Color/Lighting/Texture Test 2013-03-27 18:35:54 +08:00
raven02
719e225e7b Add glstate.dither.disable() 2013-03-26 15:36:13 +08:00