Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823
↧

Strange Behavior With Graphics.CopyTexture() and RenderTexture.

$
0
0
Hello, i've recently stumbled upon this strange issue regarding copying of textures from RenderTexture to Texture2D.

I have a RenderTexture with no Mip Maps, the size is 64 MB as shown in editor (filled with screenshot taken from camera):
Code (CSharp):
  1. RenderTexture renderTexture = new RenderTexture(4096, 4096, 0, RenderTextureFormat.ARGB32);
I also have a Texture2D with no compression, 64 MB as shown in editor:
Code (CSharp):
  1. Texture2D destTexture = new Texture2D(4096, 4096,...
Strange Behavior With Graphics.CopyTexture() and RenderTexture.
↧

Viewing all articles
Browse latest Browse all 10823


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>