mirror of
https://github.com/4sval/FModel.git
synced 2026-07-29 15:06:31 -05:00
load mat layers from settings
This commit is contained in:
parent
5d730f0bc1
commit
2e1809793b
|
|
@ -1 +1 @@
|
|||
Subproject commit 4ac22af1ff164287f936730bec57261f997ce734
|
||||
Subproject commit e9a88678cc4fffecb6a5ee6dfbd3b94df0648d61
|
||||
|
|
@ -31,7 +31,7 @@ public class Options
|
|||
|
||||
public readonly Dictionary<string, Texture> Icons;
|
||||
|
||||
private ETexturePlatform _platform;
|
||||
private readonly ETexturePlatform _platform;
|
||||
|
||||
public Options()
|
||||
{
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@ using CUE4Parse.UE4.Assets.Exports.Texture;
|
|||
using CUE4Parse.UE4.Objects.Core.Math;
|
||||
using CUE4Parse.UE4.Objects.Core.Misc;
|
||||
using FModel.Extensions;
|
||||
using FModel.Settings;
|
||||
using FModel.Views.Snooper.Models;
|
||||
using ImGuiNET;
|
||||
using OpenTK.Graphics.OpenGL4;
|
||||
|
|
@ -66,7 +67,7 @@ public class Material : IDisposable
|
|||
{
|
||||
Name = unrealMaterial.Name;
|
||||
Path = unrealMaterial.GetPathName();
|
||||
unrealMaterial.GetParams(Parameters, EMaterialFormat.AllLayers);
|
||||
unrealMaterial.GetParams(Parameters, UserSettings.Default.MaterialExportFormat);
|
||||
}
|
||||
|
||||
public void Setup(Options options, int uvCount)
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ public static class TextureHelper
|
|||
// B: Metallic
|
||||
case "hk_project":
|
||||
case "cosmicshake":
|
||||
case "phoenix":
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
|
|
@ -42,7 +43,6 @@ public static class TextureHelper
|
|||
case "shootergame":
|
||||
case "divineknockout":
|
||||
case "moonman":
|
||||
case "marsman":
|
||||
{
|
||||
unsafe
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user