Our output is in alpha-premultiplied space, the black color you see should be a #00000000, so a transparent color. Is that what you are observing?
Here is a screenshot of one of our UI elements, we want the black to be transparent. we use a render texture on a unity UI element. we have found the render texture to be the problem we want to know what settings we use to get the alpha to be displayed on the Unity UI element/Render Texture.
Our render to texture uses an internal camera that clears to #00000000
So, if that black you are observing is not transparent is because it is part of your XAML. Could you try with an empty XAML first? That should give you a 100% transparent render.
Code: Select all
_textureCamera = gameObject.AddComponent<Camera>(); _textureCamera.clearFlags = CameraClearFlags.SolidColor; _textureCamera.backgroundColor = new UnityEngine.Color(0.0f, 0.0f, 0.0f, 0.0f);
Who is online
Users browsing this forum: Google [Bot] and 1 guest