浏览代码

Re-enable sky parameters in the editor

/main
Evgenii Golubev 8 年前
当前提交
134c25b5
共有 1 个文件被更改,包括 2 次插入4 次删除
  1. 6
      Assets/ScriptableRenderLoop/HDRenderLoop/Editor/HDRenderLoopInspector.cs

6
Assets/ScriptableRenderLoop/HDRenderLoop/Editor/HDRenderLoopInspector.cs


EditorGUI.indentLevel++;
EditorGUI.BeginChangeCheck();
/*
skyParameters.skyHDRI = (Cubemap)EditorGUILayout.ObjectField("Cubemap", skyParameters.skyHDRI, typeof(Cubemap), false);
skyParameters.skyHDRI = (Texture)EditorGUILayout.ObjectField("Cubemap", skyParameters.skyHDRI, typeof(Cubemap), false);
*/
if (EditorGUI.EndChangeCheck())
{
EditorUtility.SetDirty(renderLoop); // Repaint

正在加载...
取消
保存