浏览代码

Missing one file

/main
Sebastien Lagarde 7 年前
当前提交
4bc9e971
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      ScriptableRenderPipeline/HDRenderPipeline/HDRP/Editor/Material/Lit/LitUI.cs

4
ScriptableRenderPipeline/HDRenderPipeline/HDRP/Editor/Material/Lit/LitUI.cs


var hdPipeline = RenderPipelineManager.currentPipeline as HDRenderPipeline;
var diffusionProfileSettings = hdPipeline.diffusionProfileSettings;
if (diffusionProfileSettings == null)
if (hdPipeline.IsInternalDiffusionProfile(diffusionProfileSettings))
EditorGUILayout.HelpBox("No Subsurface Scattering Settings have been assigned to the render pipeline asset.", MessageType.Warning);
EditorGUILayout.HelpBox("No diffusion profile Settings have been assigned to the render pipeline asset.", MessageType.Warning);
return;
}

正在加载...
取消
保存