浏览代码

Fix the issue with missing fog in the scene view

/main
Evgenii Golubev 7 年前
当前提交
0dc801ac
共有 1 个文件被更改,包括 0 次插入2 次删除
  1. 2
      ScriptableRenderPipeline/Core/CoreRP/Utilities/CoreUtils.cs

2
ScriptableRenderPipeline/Core/CoreRP/Utilities/CoreUtils.cs


bool fogEnable = true;
#if UNITY_EDITOR
fogEnable = Application.isPlaying;
if (camera.cameraType == CameraType.SceneView)
{
fogEnable = false;

正在加载...
取消
保存