浏览代码

Merge pull request #352 from Unity-Technologies/Branch_FixSkyExport

Branch fixskyexport
/RenderPassXR_Sandbox
GitHub 7 年前
当前提交
5b703a3f
共有 1 个文件被更改,包括 2 次插入3 次删除
  1. 5
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Sky/SkyManager.cs

5
Assets/ScriptableRenderPipeline/HDRenderPipeline/Sky/SkyManager.cs


// Flip texture.
// Temporarily disabled until proper API reaches trunk
//Graphics.Blit(temp, tempRT, new Vector2(1.0f, -1.0f), new Vector2(0.0f, 0.0f));
Graphics.Blit(temp, tempRT);
Graphics.Blit(temp, tempRT, new Vector2(1.0f, -1.0f), new Vector2(0.0f, 0.0f));
result.ReadPixels(new Rect(0, 0, resolution * 6, resolution), 0, 0);
result.Apply();

正在加载...
取消
保存