浏览代码

HDRenderLoop: Fix assert issue

/main
Sebastien Lagarde 8 年前
当前提交
575af190
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6
      Assets/ScriptableRenderLoop/HDRenderLoop/Lighting/TilePass/TilePass.cs

6
Assets/ScriptableRenderLoop/HDRenderLoop/Lighting/TilePass/TilePass.cs


lights.Clear();
envLights.Clear();
shadows.Clear();
bounds.Clear();
lightVolumes.Clear();
}
public void Allocate()

var delta = combinedExtent - e;
ligthVolumeData.boxInnerDist = e;
ligthVolumeData.boxInvRange.Set(1.0f / delta.x, 1.0f / delta.y, 1.0f / delta.z);
m_lightList.bounds.Add(bound);
m_lightList.lightVolumes.Add(ligthVolumeData);
}
public override void PrepareLightsForGPU(CullResults cullResults, Camera camera, ref ShadowOutput shadowOutput)

正在加载...
取消
保存