mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
initial implementation of fog range adjust, I don't think is correct or work right but is a start.
some tweaks and fixes. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6957 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -216,16 +216,16 @@ unsigned int ps_constant_offset_table[] = {
|
||||
68, 72, // C_ZBIAS, 8
|
||||
76, 80, // C_INDTEXSCALE, 8
|
||||
84, 88, 92, 96, 100, 104, // C_INDTEXMTX, 24
|
||||
108, 112, // C_FOG, 8
|
||||
116, 120, 124, 128, 132, // C_PLIGHTS0, 20
|
||||
136, 140, 144, 148, 152, // C_PLIGHTS1, 20
|
||||
156, 160, 164, 168, 172, // C_PLIGHTS2, 20
|
||||
176, 180, 184, 188, 192, // C_PLIGHTS3, 20
|
||||
196, 200, 204, 208, 212, // C_PLIGHTS4, 20
|
||||
216, 220, 224, 228, 232, // C_PLIGHTS5, 20
|
||||
236, 240, 244, 248, 252, // C_PLIGHTS6, 20
|
||||
256, 260, 264, 268, 272, // C_PLIGHTS7, 20
|
||||
276, 280, 284, 288, // C_PMATERIALS, 16
|
||||
108, 112, 116, // C_FOG, 12
|
||||
120, 124, 128, 132, 136, // C_PLIGHTS0, 20
|
||||
140, 144, 148, 152, 156, // C_PLIGHTS1, 20
|
||||
160, 164, 168, 172, 176, // C_PLIGHTS2, 20
|
||||
180, 184, 188, 192, 196, // C_PLIGHTS3, 20
|
||||
200, 204, 208, 212, 216, // C_PLIGHTS4, 20
|
||||
220, 224, 228, 232, 236, // C_PLIGHTS5, 20
|
||||
240, 244, 248, 252, 256, // C_PLIGHTS6, 20
|
||||
260, 264, 268, 272, 276, // C_PLIGHTS7, 20
|
||||
280, 284, 288, 292 // C_PMATERIALS, 16
|
||||
};
|
||||
void SetPSConstant4f(unsigned int const_number, float f1, float f2, float f3, float f4)
|
||||
{
|
||||
|
Reference in New Issue
Block a user