浏览代码

Added missing call to postupdate in shadow atlas after rendering the last shadowmap.

/main
uygar 8 年前
当前提交
4ab44f55
共有 1 个文件被更改,包括 6 次插入5 次删除
  1. 11
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Shadow/Shadow.cs

11
Assets/ScriptableRenderPipeline/HDRenderPipeline/Shadow/Shadow.cs


}
// post update
var cblast = new CommandBuffer();
PostUpdate( frameId, cblast, curSlice );
var cb = new CommandBuffer();
cb.name = "Shadowmap.DisableShaderKeyword";
cb.DisableShaderKeyword( m_ShaderKeyword );
renderContext.ExecuteCommandBuffer( cb );
cb.Dispose();
cblast.name = "Shadowmap.DisableShaderKeyword";
cblast.DisableShaderKeyword( m_ShaderKeyword );
renderContext.ExecuteCommandBuffer( cblast );
cblast.Dispose();
m_ActiveEntriesCount = 0;

正在加载...
取消
保存