Bill Currie
|
7d8b0f96d6
|
Correct the fog distance calculations.
It turns out the pixel's z coord is correctly obtailed by
gl_FragCoord.z/gl_FragCoord.w.
|
2012-07-17 19:10:10 +09:00 |
|
Bill Currie
|
c4309e7abc
|
Correct the fog blend calculation for transparency.
The incoming pixel's alpha should not be affected by fog. This fixes the
ugly square smoke particles in foggy maps.
|
2012-07-17 19:08:36 +09:00 |
|
Bill Currie
|
731236ee07
|
Implement global fog.
Sprites and particles don't seem to be getting fogged correctly, but bsp
and alias models are working.
|
2012-01-29 10:27:28 +09:00 |
|
Bill Currie
|
4734c5b64a
|
Implement water alpha.
|
2012-01-28 21:20:34 +09:00 |
|
Bill Currie
|
c884ef5f80
|
Convert the colormap to a 2D palette.
This skips one level of indirection in the alias model and brush shaders.
Hopefully, this will improve performance on my eeepc.
|
2012-01-14 21:42:42 +09:00 |
|
Bill Currie
|
928dd92276
|
Use 0.0 instead of 0.5 for t for palette lookups.
I realized it's pretty silly using colormap + palette when I can just
combine the two into one and have a 2D palette. This is in preparation for
that.
|
2012-01-14 20:51:43 +09:00 |
|
Bill Currie
|
7428a91526
|
Try, but fail, to render the world.
|
2012-01-08 20:39:36 +09:00 |
|