Is MRT supposed to be working on Android?

Hi All,

As the title say. Is MRT supposed to be working on Android? My simple application works perfectly on Windows DirectX, rendering to a Color+Depth and a Color only RenderTarget2D, by using SetRenderTargets. The shader fills COLOR0 and COLOR1. After that, drawing with the second texture works as expected.

If I run the same application on Android, the second texture is black, while the first one is good.

Should it be working on Android?

Thank you.

Laci

We use OpenGL ES 2.0 on Android and iOS, and MRT is not available in that version of OpenGL ES. Nvidia may provide some extensions to support it, but Tegra have a very small marketshare in this space. It requires OpenGL ES 3.0 or higher.

Thank you for your answer. Maybe when GLES3 is available on the device, it could support it. I have checked the code and right now it is disabled by a define.

Laci