Titan Quest 2 update, Windrose support
Some checks failed
FModel QA Builder / build (push) Has been cancelled

This commit is contained in:
LongerWarrior 2026-02-22 16:47:06 +02:00
parent 83b5330d1e
commit 7fab3e2ead
3 changed files with 5 additions and 5 deletions

@ -1 +1 @@
Subproject commit 1861416d2ab765cde91eec6f46305fc316dfae6e Subproject commit 872f9013bc05d8ba764c52f060dcfdc286ad0a43

View File

@ -241,13 +241,13 @@ public class Options
} }
/// <summary> /// <summary>
/// Skip emmisive for specific games, cause of excessive use in their materials /// Skip emissive for specific games, cause of excessive use in their materials
/// </summary> /// </summary>
public bool SkipEmmisive() public bool SkipEmissive()
{ {
return _game switch return _game switch
{ {
"LIESOFP" or "CODEVEIN2" => true, "LIESOFP" or "CODEVEIN2" or "HIGHONLIFE2" => true,
_ => false, _ => false,
}; };
} }

View File

@ -121,7 +121,7 @@ public class Material : IDisposable
RoughnessMax = roughness + d; RoughnessMax = roughness + d;
} }
if (!options.SkipEmmisive()) if (!options.SkipEmissive())
{ {
if (Parameters.TryGetScalar(out var emissiveMultScalar, "emissive mult", "Emissive_Mult", "EmissiveIntensity", "EmissionIntensity")) if (Parameters.TryGetScalar(out var emissiveMultScalar, "emissive mult", "Emissive_Mult", "EmissiveIntensity", "EmissionIntensity"))
EmissiveMult = emissiveMultScalar; EmissiveMult = emissiveMultScalar;