mirror of
https://github.com/muskit/H3VR-TNH-Quality-of-Life-Improvements.git
synced 2026-06-03 04:34:26 -07:00
Initial commit
This commit is contained in:
@@ -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);
|
||||
//}
|
||||
}
|
||||
Reference in New Issue
Block a user