1
0
mirror of synced 2025-02-22 21:30:28 +01:00

BFRES : Fix botw switch samplers

This commit is contained in:
KillzXGaming 2020-09-05 20:30:41 -04:00
parent 778c214d16
commit aee94a3b2b

View File

@ -743,11 +743,11 @@ namespace FirstPlugin
if (mat.ShaderAssign.ShaderArchiveName == "Wii_UBER" || mat.ShaderAssign.ShaderArchiveName == "Block_UBER") if (mat.ShaderAssign.ShaderArchiveName == "Wii_UBER" || mat.ShaderAssign.ShaderArchiveName == "Block_UBER")
Runtime.activeGame = Runtime.ActiveGame.MK8D; Runtime.activeGame = Runtime.ActiveGame.MK8D;
if (mat.ShaderAssign.ShaderArchiveName == "base" || mat.ShaderAssign.ShaderArchiveName == "ui") { if (mat.ShaderAssign.ShaderArchiveName == "base" || mat.ShaderAssign.ShaderArchiveName == "ui" || mat.ShaderAssign.ShaderArchiveName == "chara") {
Runtime.activeGame = Runtime.ActiveGame.MK8D; Runtime.activeGame = Runtime.ActiveGame.MK8D;
} }
if (Runtime.activeGame == Runtime.ActiveGame.MK8D) if (Runtime.activeGame == Runtime.ActiveGame.MK8D || Runtime.activeGame == Runtime.ActiveGame.BOTW)
{ {
if (useSampler == "_a0" && AlbedoCount == 0) if (useSampler == "_a0" && AlbedoCount == 0)
{ {