浏览代码

Temporarily disabled code requiring new Blit API until it gets to trunk.

/fptl_cleanup
Julien Ignace 7 年前
当前提交
3c82d600
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. 5
      Assets/ScriptableRenderPipeline/HDRenderPipeline/Sky/SkyManager.cs

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


offset += resolution;
}
Graphics.Blit(temp, tempRT, new Vector2(1.0f, -1.0f), new Vector2(0.0f, 0.0f));
// 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);
result.ReadPixels(new Rect(0, 0, resolution * 6, resolution), 0, 0);
result.Apply();

正在加载...
取消
保存