浏览代码

fxied copy paste mistake.

/demo-work-customrenderer
Felipe Lira 5 年前
当前提交
0a0b677d
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 2
      Assets/Rendering/MainRenderPass.cs

2
Assets/Rendering/MainRenderPass.cs


public override void Execute(ScriptableRenderContext context, ref RenderingData renderingData)
{
var opaqueDrawingSettings = CreateDrawingSettings(m_UniversalForwardPass, ref renderingData, SortingCriteria.CommonOpaque);
var transparentDrawingSettings = CreateDrawingSettings(m_UniversalForwardPass, ref renderingData, SortingCriteria.CommonOpaque);
var transparentDrawingSettings = CreateDrawingSettings(m_UniversalForwardPass, ref renderingData, SortingCriteria.CommonTransparent);
context.DrawRenderers(renderingData.cullResults, ref opaqueDrawingSettings, ref m_OpaqueFilteringSettings);
context.DrawSkybox(renderingData.cameraData.camera);

正在加载...
取消
保存