Skip to content

Commit 566aa6a

Browse files
Temporarily disabled code requiring new Blit API until it gets to trunk.
1 parent 7714082 commit 566aa6a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

  • Assets/ScriptableRenderPipeline/HDRenderPipeline/Sky

Assets/ScriptableRenderPipeline/HDRenderPipeline/Sky/SkyManager.cs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,10 @@ public Texture2D ExportSkyToImage()
490490
offset += resolution;
491491
}
492492

493-
Graphics.Blit(temp, tempRT, new Vector2(1.0f, -1.0f), new Vector2(0.0f, 0.0f));
493+
// Flip texture.
494+
// Temporarily disabled until proper API reaches trunk
495+
//Graphics.Blit(temp, tempRT, new Vector2(1.0f, -1.0f), new Vector2(0.0f, 0.0f));
496+
Graphics.Blit(temp, tempRT);
494497

495498
result.ReadPixels(new Rect(0, 0, resolution * 6, resolution), 0, 0);
496499
result.Apply();

0 commit comments

Comments
 (0)