Some video SW clean up and bug fixes. Did a hacky fix for bad light data. Add fog rendering. Add some offsets to make rasterized pixel locations and texture coordinates more accurate.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5361 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
1 parent
bfe6e92c15
commit
c2ac9be9b2
14 files changed
+179
-78
No files matched your search
@@ -35,9 +35,8 @@ namespace Rasterizer
|
||||
float dfdx;
|
||||
float dfdy;
|
||||
float f0;
|
||||
float x0;
|
||||
float y0;
|
||||
float GetValue(s32 x, s32 y) { return f0 + (dfdx * (x - x0)) + (dfdy * (y - y0)); }
|
||||
|
||||
float GetValue(float dx, float dy) { return f0 + (dfdx * dx) + (dfdy * dy); }
|
||||
};
|
||||
|
||||
struct RasterBlockPixel
|
||||
@@ -57,4 +56,4 @@ namespace Rasterizer
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
Reference in new issue
Block a user