mirror of
https://github.com/muskit/H3VR-TNH-Quality-of-Life-Improvements.git
synced 2026-06-02 20:24:26 -07:00
28 lines
827 B
C#
Vendored
28 lines
827 B
C#
Vendored
// 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);
|
|
//}
|
|
}
|