public static void Generate() { FPLut.GenerateTables(PathUtils.Combine(Application.dataPath, "Quantum", "Resources", "LUT")); // this makes sure the tables are loaded into unity AssetDatabase.Refresh(); }
public static void Generate() { var sep = System.IO.Path.DirectorySeparatorChar; FPLut.GenerateTables(Application.dataPath + sep + "Quantum" + sep + "Resources" + sep + "LUT"); // this makes sure the tables are loaded into unity AssetDatabase.Refresh(); }
public static void LoadLookupTables(Boolean force = false) { if (FPLut.IsLoaded && force == false) { return; } FPLut.Init(file => UnityEngine.Resources.Load <TextAsset>("LUT/" + file).bytes); }
public static void Init(Boolean force = false) { // load lookup table FPLut.Init(file => UnityEngine.Resources.Load<TextAsset>("LUT/" + file).bytes); // init photon logger Photon.Deterministic.DeterministicLog.Init( UnityEngine.Debug.Log, UnityEngine.Debug.LogWarning, UnityEngine.Debug.LogError, UnityEngine.Debug.LogException ); }