浏览代码

minor clean up

minor clean up
/main
mmikk 8 年前
当前提交
e94fe786
共有 2 个文件被更改,包括 0 次插入4 次删除
  1. 2
      Assets/ScriptableRenderLoop/fptl/lightlistbuild-clustered.compute
  2. 2
      Assets/ScriptableRenderLoop/fptl/lightlistbuild.compute

2
Assets/ScriptableRenderLoop/fptl/lightlistbuild-clustered.compute


float onePixDiagDist = GetOnePixDiagWorldDistAtDepthOne();
float halfTileSizeAtZDistOne = 8*onePixDiagDist; // scale by half a tile
int iNrVisib = 0;
for(int l=threadID; l<iNrCoarseLights; l+=NR_THREADS)
{
SFiniteLightBound lgtDat = g_data[coarseList[l]];

2
Assets/ScriptableRenderLoop/fptl/lightlistbuild.compute


float onePixDiagDist = GetOnePixDiagWorldDistAtDepthOne();
float halfTileSizeAtZDistOne = 8*onePixDiagDist; // scale by half a tile
int iNrVisib = 0;
for(int l=threadID; l<iNrCoarseLights; l+=NR_THREADS)
{
SFiniteLightBound lightData = g_data[coarseList[l]];

正在加载...
取消
保存