9092858a58
I updated everything to the latest Unity Editor. Also realized I had the wrong shaders on my hairs, those are fixed and the hairs look MUCH better!
27 lines
737 B
C#
27 lines
737 B
C#
using System;
|
|
using UnityEngine;
|
|
using UnityEngine.Rendering;
|
|
|
|
namespace UnityEditor.Rendering.Universal.ShaderGUI
|
|
{
|
|
public static class BakedLitGUI
|
|
{
|
|
public struct BakedLitProperties
|
|
{
|
|
// Surface Input Props
|
|
public MaterialProperty bumpMapProp;
|
|
|
|
public BakedLitProperties(MaterialProperty[] properties)
|
|
{
|
|
// Surface Input Props
|
|
bumpMapProp = BaseShaderGUI.FindProperty("_BumpMap", properties, false);
|
|
}
|
|
}
|
|
|
|
public static void Inputs(BakedLitProperties properties, MaterialEditor materialEditor)
|
|
{
|
|
BaseShaderGUI.DrawNormalArea(materialEditor, properties.bumpMapProp);
|
|
}
|
|
}
|
|
}
|