浏览代码

fix flickering on shadows

/main
Filip Iliescu 8 年前
当前提交
a61789c1
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 4
      Assets/ScriptableRenderPipeline/MobileRenderPipeline/ClassicDeferred/ClassicDeferredPipeline.cs

4
Assets/ScriptableRenderPipeline/MobileRenderPipeline/ClassicDeferred/ClassicDeferredPipeline.cs


void ExecuteRenderLoop(Camera camera, CullResults cullResults, ScriptableRenderContext loop)
{
UpdateShadowConstants (camera, cullResults);
m_ShadowMgr.RenderShadows( m_FrameId, loop, cullResults, cullResults.visibleLights );
m_ShadowMgr.SyncData();
m_ShadowMgr.BindResources( loop );

UpdateShadowConstants (camera, cullResults);
// IF PLATFORM_MAC -- cannot use framebuffer fetch
#if UNITY_EDITOR_OSX || UNITY_STANDALONE_OSX

正在加载...
取消
保存