Changing UI style;

Updating RImeLight;
This commit is contained in:
2025-02-03 23:01:57 +09:00
parent 886432db7b
commit de370f845e
11 changed files with 157 additions and 79 deletions

View File

@@ -9,7 +9,6 @@ namespace Misaki.HdrpToon.Editor
{
private static class Properties
{
public static MaterialProperty rimLightEnabled;
public static MaterialProperty rimLightColor;
public static MaterialProperty rimLightStrength;
public static MaterialProperty rimLightLevel;
@@ -28,9 +27,6 @@ namespace Misaki.HdrpToon.Editor
private static class Styles
{
public static readonly GUIContent rimLightEnabledText = new("Rim Light",
"A light that hits the 3D model from behind and emphasizes the contours of the model from the front.");
public static readonly GUIContent rimLightColorText =
new("Rim Light Color", "Specifies the color of rim light.");
@@ -83,10 +79,9 @@ namespace Misaki.HdrpToon.Editor
public override void LoadMaterialProperties()
{
Properties.rimLightEnabled = FindProperty("_RimLight");
Properties.rimLightColor = FindProperty("_RimLightColor");
Properties.rimLightStrength = FindProperty("_RimLight_Strength");
Properties.rimLightLevel = FindProperty("_RimLight_Power");
Properties.rimLightStrength = FindProperty("_RimLightStrength");
Properties.rimLightLevel = FindProperty("_RimLightLevel");
Properties.colorBlendingMode = FindProperty("_Is_BlendAddToRimColor");
Properties.adjustRimLightArea = FindProperty("_RimLight_InsideMask");
Properties.rimLightFeatherOff = FindProperty("_RimLight_FeatherOff");