Closed ideka closed 4 years ago
The texture format must be RGBA32
.
Reopening this because it's too much of a requirement to impose. NatShare should support any Texture2D
regardless of format.
Fixed in ff8a82e255bb65f70f72886be2af093839169739. Feel free to test it out.
This is how I capture the screenshot. I can't use
ScreenCapture
because I specifically need to capture a single camera.The resulting Texture2D is then displayed, and looks fine in-game. But when sharing or saving it with NatShare, like so
The resulting image is badly corrupted. The top 685125 pixels seem to show up fine, but the rest of the image looks gray and vertically interlaced 4+ times. The full size of the tested image is 1125x2436.