浏览代码

Added entry for last render queue

/Yibing-Project-2
Frédéric Vauchelles 7 年前
当前提交
275b1a41
共有 2 个文件被更改,包括 3 次插入2 次删除
  1. 2
      ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs
  2. 3
      ScriptableRenderPipeline/HDRenderPipeline/HDRenderQueue.cs

2
ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs


}
static readonly RenderQueueRange k_RenderQueue_PreRefraction = new RenderQueueRange { min = (int)HDRenderQueue.GeometryLast + 1, max = (int)HDRenderQueue.PreRefraction };
static readonly RenderQueueRange k_RenderQueue_Transparent = new RenderQueueRange { min = (int)HDRenderQueue.PreRefraction + 1, max = 5000 };
static readonly RenderQueueRange k_RenderQueue_Transparent = new RenderQueueRange { min = (int)HDRenderQueue.PreRefraction + 1, max = (int)HDRenderQueue.Last };
readonly HDRenderPipelineAsset m_Asset;

3
ScriptableRenderPipeline/HDRenderPipeline/HDRenderQueue.cs


GeometryLast = UnityEngine.Rendering.RenderQueue.GeometryLast,
PreRefraction = 2750,
Transparent = UnityEngine.Rendering.RenderQueue.Transparent,
Overlay = UnityEngine.Rendering.RenderQueue.Overlay
Overlay = UnityEngine.Rendering.RenderQueue.Overlay,
Last = Overlay + 1000
}
}
正在加载...
取消
保存