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:
PatrickvL 2021-04-23 12:12:46 +02:00
parent 061e38af6f
commit c03b2ed151
1 changed files with 1 additions and 1 deletions

View File

@ -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;