Skip to content

Commit 7fab3e2

Browse files
committed
Titan Quest 2 update, Windrose support
1 parent 83b5330 commit 7fab3e2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

CUE4Parse

Submodule CUE4Parse updated 43 files

FModel/Views/Snooper/Options.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -241,13 +241,13 @@ public void AnimateMesh(bool value)
241241
}
242242

243243
/// <summary>
244-
/// Skip emmisive for specific games, cause of excessive use in their materials
244+
/// Skip emissive for specific games, cause of excessive use in their materials
245245
/// </summary>
246-
public bool SkipEmmisive()
246+
public bool SkipEmissive()
247247
{
248248
return _game switch
249249
{
250-
"LIESOFP" or "CODEVEIN2" => true,
250+
"LIESOFP" or "CODEVEIN2" or "HIGHONLIFE2" => true,
251251
_ => false,
252252
};
253253
}

FModel/Views/Snooper/Shading/Material.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public void Setup(Options options, int uvCount)
121121
RoughnessMax = roughness + d;
122122
}
123123

124-
if (!options.SkipEmmisive())
124+
if (!options.SkipEmissive())
125125
{
126126
if (Parameters.TryGetScalar(out var emissiveMultScalar, "emissive mult", "Emissive_Mult", "EmissiveIntensity", "EmissionIntensity"))
127127
EmissiveMult = emissiveMultScalar;

0 commit comments

Comments
 (0)