using GamePort.Assets; using GamePort.Game; namespace GamePort.Application; /// Current Jimmy atlas is one linked material. Source114 alpha and /// indexed0 FC blend changes affect that draw without changing pose/visibility. public static class PlayerGadgetMaterial { public static void Apply(MeshDraw draw, InvisibleGadget invisible) { draw.Opacity = invisible.Opacity; draw.Blend = !invisible.Active ? MeshBlend.Opaque : invisible.ConventionalBlend ? MeshBlend.Alpha : MeshBlend.Additive; } }