浏览代码

Revert " Enabled Dynamic batching."

This reverts commit 94d611ce10f0f855e7043574f6e1e5c10bed4234.
/main
Felipe Lira 7 年前
当前提交
81737c15
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 1
      ScriptableRenderPipeline/LightweightPipeline/LWRP/Passes/ScriptableRenderPass.cs

1
ScriptableRenderPipeline/LightweightPipeline/LWRP/Passes/ScriptableRenderPass.cs


DrawRendererSettings settings = new DrawRendererSettings(camera, m_ShaderPassNames[0]);
for (int i = 1; i < m_ShaderPassNames.Count; ++i)
settings.SetShaderPassName(i, m_ShaderPassNames[i]);
settings.flags = DrawRendererFlags.EnableDynamicBatching | DrawRendererFlags.EnableInstancing;
settings.sorting.flags = sortFlags;
settings.rendererConfiguration = rendererConfiguration;
return settings;

正在加载...
取消
保存