Unknown W. Brackets
9537be9ebb
Don't double src alpha when it's not safe to do so.
...
Fixes LittleBigPlanet vignette.
2013-05-03 01:10:59 -07:00
Unknown W. Brackets
8f27d03af3
Double alpha at least for a known case.
...
Makes Popolocrois look much better now.
2013-04-30 00:04:20 -07:00
Unknown W. Brackets
3a769bb047
Do alpha test equal compares using rounding.
...
Fixes accuracy problems, Popolocrois shows things now.
2013-04-29 01:19:23 -07:00
Henrik Rydgard
e3f183bc28
ColorDouble needs to be in the fragment shader ID
2013-04-27 18:33:56 +02:00
Henrik Rydgard
c04ce5a64e
Implement projective texture mapping. It's not used a great deal but good to have.
2013-04-17 21:41:47 +02:00
Henrik Rydgard
ea11c36091
Fix a vshader id bit collision, avoid color test when set to 'ALWAYS', zeroinitialize dls.
2013-04-15 22:57:54 +02:00
raven02
3252eb6554
Fragment Shader : use mix() for decal/blend
2013-04-08 22:48:40 +08:00
Henrik Rydgard
e246ffe20c
fragment shader: RGBA DECAL does make more sense this way
2013-04-07 20:37:19 +02:00
raven02
b03dfeb8a6
Clean up if-else
2013-04-06 22:28:38 +08:00
raven02
34f6a7512f
Miss parenthesis in GE_TEXFUNC_BLEND
2013-04-06 22:24:04 +08:00
BeaR
da1b345cd4
HW T&L: Change unlitcolor initialization and cleanup fragmentshader formatting
2013-04-02 12:24:22 +02:00
raven02
6396324f57
Add few isEnabled() in GPUState for Alpha/Color/Lighting/Texture Test
2013-03-27 18:35:54 +08:00
raven02
68faecd87c
minor cleanup only
2013-03-25 22:57:40 +08:00
raven02
51fdd2a665
Enable ColorTest
2013-03-25 22:36:56 +08:00
Henrik Rydgard
724a7c8c93
Revert latest fliptexture hack. This seems to work better.
2013-03-11 20:26:47 +01:00
Henrik Rydgard
de469e77a4
Fix silly typo breaking alpha test in many cases. Make some log VERBOSE.
2013-03-11 19:40:47 +01:00
Henrik Rydgard
14b35c8d2d
Turning off alpha test on GREATER than 0 and LESS than 255 wasn't safe. Only GEQUAL and LEQUAL, duh!
2013-03-11 19:29:13 +01:00
Henrik Rydgard
ac47d74d7b
Remove obviously useless alpha tests. May help speed on mobile GPUs a little.
2013-03-11 18:43:36 +01:00
Henrik Rydgard
654620cb66
Adreno doesn't like negations when using discard, apparently..
2013-03-10 16:01:00 +01:00
Henrik Rydgard
bc15617392
Make un-buffered rendering much smarter, removing flicker.
...
This turns it into a very viable option for many games. You do lose some FX
but it can as a result even be used as a workaround for the massive glow
in Wipeout...
2013-03-03 13:00:21 +01:00
raven02
b862841dd4
Put PPGeDraw into CalculateFPS() and add enableColorDoubling alias
2013-03-03 15:33:03 +08:00
raven02
d99ca71a47
Add u_colormask and use it in enableColorTest
2013-02-25 05:45:35 +08:00
raven02
26f37277f4
Use enableColorTest for colortest
2013-02-13 07:57:15 +08:00
Henrik Rydgard
bdc467769e
Some shader and vertex format optimizations
2013-02-05 01:37:00 +01:00
raven02
104dfcb6e4
Fix too dark issue in-game
2013-01-25 21:15:56 +08:00