BFRES : Quick fix to support Rune Factory 4 samplers.

This commit is contained in:
KillzXGaming 2020-09-15 14:36:05 -04:00
parent 3192ee7d62
commit 4e23dcf91f

View file

@ -827,7 +827,8 @@ namespace FirstPlugin
}
}
else if (mat.ShaderAssign.ShaderArchiveName == "ssg")
else if (mat.ShaderAssign.ShaderArchiveName == "ssg" ||
mat.ShaderAssign.ShaderArchiveName == "rf4cmv")
{
bool IsAlbedo0 = texture.SamplerName == "_a0";
bool IsNormal = texture.SamplerName == "_n0";