Commit Graph

43 Commits

Author SHA1 Message Date
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
raven02
8280d6e9ae Add glstate.dither.enable() 2013-03-26 14:50:37 +08:00
raven02
f4fc0112c8 int sign match for gstate_c.curRTWidth/gstate_c.curRTHeight 2013-03-24 21:25:38 +08:00
raven02
ada37f06cb spacing fix 2013-03-16 21:37:56 +08:00
Henrik Rydgard
f67743b769 Fix scissor rectangle being one pixel too small. 2013-03-16 08:54:39 +01:00
Henrik Rydgard
b1108f3290 Respect the size of the current FBO when drawing. Some cleanup. 2013-03-16 00:40:37 +01:00
Henrik Rydgard
13c2905f05 Buildfix (typo) 2013-03-15 23:24:13 +01:00
Henrik Rydgard
cf458dba60 gpu: Add support for scissor rectangle 2013-03-15 22:24:16 +01:00
Henrik Rydgard
bef3ef7fac Fix aspect ratio in unbuffered mode 2013-03-15 21:22:17 +01:00
raven02
ecb4de09a6 Put ditherenable & alphaBlendEnable as function 2013-02-27 22:36:09 +08:00
raven02
b36782a064 Fix shadow abormal in FF Type-0 2013-02-26 00:41:37 +08:00
raven02
24debfd259 Add !(gstate.zmsk & 1); to depthMask and remove duplicate GE_CMD_MATERIALUPDATE (exists in line69) 2013-02-24 17:50:05 +08:00
raven02
6b22266a00 Add glstate.depthTest.disable(); 2013-02-24 02:18:18 +08:00
raven02
8e550d9578 Set float for glstate.depthRange.set(0.0f, 1.0f) 2013-02-23 23:26:58 +08:00
Henrik Rydgard
44e2a69258 gpu: Clean up "Clear" mode handling. 2013-02-21 21:52:12 +01:00
Henrik Rydgard
28979e9250 Some work toward better FBO handling. Fixes some things, breaks some things.. 2013-02-21 21:37:19 +01:00
Henrik Rydgard
aef2376b34 Merge branch 'master' into framebuffer-texture
Conflicts:
	GPU/GLES/TextureCache.cpp
2013-02-09 21:18:46 +01:00
Henrik Rydgard
ca347da99c Depth range should not be applied in through mode. Fixes sky in Wipeout Pure. 2013-02-09 20:53:32 +01:00
Henrik Rydgard
bf7ad9e1c9 Also don't convert 16-bit bone weights to float. Fixes a bug from the last similar change. 2013-02-05 18:02:10 +01:00