浏览代码

make disable fptl when clust a displayed option

make disable fptl when clust a displayed option
/main
mmikk 8 年前
当前提交
0ea8b5f2
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 3
      Assets/ScriptableRenderLoop/fptl/FptlLighting.cs

3
Assets/ScriptableRenderLoop/fptl/FptlLighting.cs


// clustered light list specific buffers and data begin
public bool enableClustered = false;
public bool disableFptlWhenClustered = false; // still useful on opaques
const bool disableFptlWhenClustered = false; // still useful on opaques
const int k_Log2NumClusters = 6; // accepted range is from 0 to 6. NumClusters is 1<<g_iLog2NumClusters
const float k_ClustLogBase = 1.02f; // each slice 2% bigger than the previous
float m_ClustScale;

正在加载...
取消
保存