mirror of
https://github.com/4sval/FModel.git
synced 2026-09-24 18:24:10 -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:
Submodule CUE4Parse updated: 1861416d2a...872f9013bc
@@ -241,13 +241,13 @@ public class Options
|
||||
}
|
||||
|
||||
/// <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>
|
||||
public bool SkipEmmisive()
|
||||
public bool SkipEmissive()
|
||||
{
|
||||
return _game switch
|
||||
{
|
||||
"LIESOFP" or "CODEVEIN2" => true,
|
||||
"LIESOFP" or "CODEVEIN2" or "HIGHONLIFE2" => true,
|
||||
_ => false,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -121,7 +121,7 @@ public class Material : IDisposable
|
||||
RoughnessMax = roughness + d;
|
||||
}
|
||||
|
||||
if (!options.SkipEmmisive())
|
||||
if (!options.SkipEmissive())
|
||||
{
|
||||
if (Parameters.TryGetScalar(out var emissiveMultScalar, "emissive mult", "Emissive_Mult", "EmissiveIntensity", "EmissionIntensity"))
|
||||
EmissiveMult = emissiveMultScalar;
|
||||
|
||||
Reference in New Issue
Block a user