浏览代码

fixed editor grid/gizmo/selection rendering

/main
vlad-andreev 8 年前
当前提交
61c18528
共有 3 个文件被更改,包括 17 次插入9 次删除
  1. 8
      Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs
  2. 9
      Assets/ScriptableRenderLoop/fptl/FptlLighting.cs
  3. 9
      Assets/ScriptableRenderLoop/Tests.meta

8
Assets/ScriptableRenderLoop/HDRenderLoop/HDRenderLoop.cs


}
}
#if UNITY_EDITOR
public override void RenderSceneView(Camera camera, RenderLoop renderLoop)
{
base.RenderSceneView(camera, renderLoop);
renderLoop.PrepareForEditorRendering(camera, m_CameraDepthBufferRT);
renderLoop.Submit();
}
#endif
void FinalPass(RenderLoop renderLoop)
{

9
Assets/ScriptableRenderLoop/fptl/FptlLighting.cs


return numLightsOut + numProbesOut;
}
#if UNITY_EDITOR
public override void RenderSceneView(Camera camera, RenderLoop renderLoop)
{
base.RenderSceneView(camera, renderLoop);
renderLoop.PrepareForEditorRendering(camera, new RenderTargetIdentifier(s_CameraDepthTexture));
renderLoop.Submit();
}
#endif
public override void Render(Camera[] cameras, RenderLoop renderLoop)
{
foreach (var camera in cameras)

9
Assets/ScriptableRenderLoop/Tests.meta


fileFormatVersion: 2
guid: 7641c43fc081f6d46b70eee4b602efcc
folderAsset: yes
timeCreated: 1474997398
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存