1
0
mirror of synced 2024-12-01 02:27:22 +01:00
Switch-Toolbox/File_Format_Library/FileFormats/BFRES/KsaShader.cs
KillzXGaming 7cf2e9c571 Cleanup
2019-07-16 17:45:10 -04:00

26 lines
626 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Syroot.NintenTools.NSW.Bfres;
using Bfres.Structs;
namespace FirstPlugin
{
public class KsaShader
{
public static void LoadRenderInfo(FMAT mat, List<BfresRenderInfo> renderInfos)
{
foreach (var renderInfo in renderInfos)
{
switch (renderInfo.Name)
{
case "renderPass":
mat.isTransparent = renderInfo.ValueString[0] == "xlu";
break;
}
}
}
}
}