You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

20 lines
610 B

using UnityEngine;
using UnityEngine.Rendering;
// Include material common properties names
using static UnityEngine.Rendering.HighDefinition.HDMaterialProperties;
namespace UnityEditor.Rendering.HighDefinition
{
/// <summary>
/// Material GUI for Lit ShaderGraph
/// </summary>
internal class LitShaderGraphGUI : LightingShaderGraphGUI
{
public LitShaderGraphGUI()
{
// Lit SG have refraction block
uiBlocks.Insert(1, new TransparencyUIBlock(MaterialUIBlock.ExpandableBit.Transparency, TransparencyUIBlock.Features.Refraction));
}
}
}