Lower provider post-process profiles
This commit is contained in:
parent
8f3872079e
commit
2fa4524a7f
7 changed files with 228 additions and 10 deletions
|
|
@ -147,6 +147,7 @@ namespace GameCult.Eve.UnityScene
|
|||
worldRoot.GetProp("skyboxAssetRef"),
|
||||
worldRoot.GetProp("reflectionAssetRef"),
|
||||
ParseFloat(worldRoot.GetProp("reflectionIntensity"), 1f),
|
||||
worldRoot.GetProp("postProcessProfileAssetRef"),
|
||||
ParseVector3(worldRoot.GetProp("keyLightDirection")),
|
||||
ParseVector3(worldRoot.GetProp("keyLightColor")),
|
||||
ParseFloat(worldRoot.GetProp("keyLightIntensity"), 0f),
|
||||
|
|
@ -390,6 +391,7 @@ namespace GameCult.Eve.UnityScene
|
|||
string skyboxAssetRef = "",
|
||||
string reflectionAssetRef = "",
|
||||
float reflectionIntensity = 1f,
|
||||
string postProcessProfileAssetRef = "",
|
||||
(float x, float y, float z) keyLightDirection = default,
|
||||
(float r, float g, float b) keyLightColor = default,
|
||||
float keyLightIntensity = 0f,
|
||||
|
|
@ -431,6 +433,7 @@ namespace GameCult.Eve.UnityScene
|
|||
SkyboxAssetRef = skyboxAssetRef ?? "";
|
||||
ReflectionAssetRef = reflectionAssetRef ?? "";
|
||||
ReflectionIntensity = reflectionIntensity;
|
||||
PostProcessProfileAssetRef = postProcessProfileAssetRef ?? "";
|
||||
KeyLightDirectionX = keyLightDirection.x;
|
||||
KeyLightDirectionY = keyLightDirection.y;
|
||||
KeyLightDirectionZ = keyLightDirection.z;
|
||||
|
|
@ -504,6 +507,8 @@ namespace GameCult.Eve.UnityScene
|
|||
|
||||
public float ReflectionIntensity { get; }
|
||||
|
||||
public string PostProcessProfileAssetRef { get; }
|
||||
|
||||
public float KeyLightDirectionX { get; }
|
||||
|
||||
public float KeyLightDirectionY { get; }
|
||||
|
|
|
|||
Reference in a new issue