Initial commit

This commit is contained in:
msk
2022-01-22 20:13:49 -08:00
parent f9d23e5bcf
commit 687473573d
878 changed files with 70957 additions and 0 deletions
+27
View File
@@ -0,0 +1,27 @@
// Alloy Physical Shader Framework
// Copyright 2013-2017 RUST LLC.
// http://www.alloy.rustltd.com/
using UnityEngine;
public static class AlloyUtils {
public const string Name = "Alloy";
public const string Version = "3.6.4";
public const float SectionColorMax = 20.0f;
public const string Path = Name + "/";
public const string MenuItem = "Window/" + Path;
public const string ComponentMenu = Path + Name + " ";
public static string AssetsPath {
get { return Application.dataPath + "/" + Path; }
}
//public static float IntensityToLumens(float intensity) {
// return Mathf.Floor(Mathf.GammaToLinearSpace(intensity) * 100.0f);
//}
//public static float LumensToIntensity(float lumens) {
// return Mathf.LinearToGammaSpace(lumens / 100.0f);
//}
}