mirror of
https://github.com/4sval/FModel.git
synced 2026-03-21 17:24:26 -05:00
Titan Quest 2 update, Windrose support
Some checks failed
FModel QA Builder / build (push) Has been cancelled
Some checks failed
FModel QA Builder / build (push) Has been cancelled
This commit is contained in:
parent
83b5330d1e
commit
7fab3e2ead
|
|
@ -1 +1 @@
|
||||||
Subproject commit 1861416d2ab765cde91eec6f46305fc316dfae6e
|
Subproject commit 872f9013bc05d8ba764c52f060dcfdc286ad0a43
|
||||||
|
|
@ -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,
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user