|
|
|
|
|
|
#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); |
|
|
|
|
|
|
|