浏览代码

Removed Arnaud's branch specific code.

/culling
Julien Ignace 7 年前
当前提交
49dab125
共有 1 个文件被更改,包括 15 次插入9 次删除
  1. 24
      ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs

24
ScriptableRenderPipeline/HDRenderPipeline/HDRenderPipeline.cs


#endif
// CullResults.Cull(ref cullingParams, renderContext, ref m_CullResults);
CullResults.Cull(ref cullingParams, renderContext, ref m_CullResults);
/*
CullResults.CullSceneAndGetLightList(ref cullingParams, renderContext, ref m_CullResults);

CullResults.CullForAllLights(ref cullingParams, renderContext, ref m_CullResults);
/*
int lcnt = m_CullResults.visibleLights.Count;
for (int i = 0; i < lcnt; ++i)
{
VisibleLight vl = m_CullResults.visibleLights[i];
vl.light.cullingDisabledByScript = true;
vl.light.intensity = 12.34f;
}
//int lcnt = m_CullResults.visibleLights.Count;
//for (int i = 0; i < lcnt; ++i)
//{
// VisibleLight vl = m_CullResults.visibleLights[i];
// vl.light.cullingDisabledByScript = true;
// vl.light.intensity = 12.34f;
//}
Resize(camera);

正在加载...
取消
保存