mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
VideoSoftware: Implement fog range adjustment, fixing issue 6147.
This commit is contained in:
parent
d4fadf4b6f
commit
ae146e8bc7
2 changed files with 11 additions and 4 deletions
|
@ -686,6 +686,8 @@ union FogRangeKElement
|
|||
u32 LO : 12;
|
||||
u32 regid : 8;
|
||||
};
|
||||
// TODO: Which scaling coefficient should we use here? This is just a guess!
|
||||
float GetValue(int i) { return (i ? HI : LO) / 32.f; }
|
||||
u32 HEX;
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue