Fix DolphinClassic sample, by not making fogDepth absolute (thanks NZJenkins!)
(This bug was introduced with PR #2163, based on some misleading code in xqemu, to cater for what now appear to be non-supported fog modes on NV2A.)
This commit is contained in:
parent
061e38af6f
commit
c03b2ed151
|
@ -332,7 +332,7 @@ R"DELIMITER(
|
|||
|
||||
// Fogging
|
||||
// TODO deduplicate
|
||||
const float fogDepth = abs(oFog.x);
|
||||
const float fogDepth = oFog.x; // Don't abs this value! Test-case : DolphinClassic xdk sample
|
||||
const float fogTableMode = CxbxFogInfo.x;
|
||||
const float fogDensity = CxbxFogInfo.y;
|
||||
const float fogStart = CxbxFogInfo.z;
|
||||
|
|
Loading…
Reference in New Issue