ios bits restrictions lot about 512bits 256bits
mali bits limit is 2017 Mali-T760 128bits
Adreno
android 4 graphics certainly because deferred fifth place inside shadowmask
Some models do not support this unity I remember there are judgments UNITY_ALLOWED_MRT_COUNT
It is defined as
#if (defined(SHADER_API_GLES3) && !defined(SHADER_API_DESKTOP)) || defined(SHADER_API_GLES) || defined(SHADER_API_N3DS)
#define UNITY_ALLOWED_MRT_COUNT 4
#else
#define UNITY_ALLOWED_MRT_COUNT 8
#endif
SHADER_API_GLES OpenGL ES 2.0
SHADER_API_GLES3 OpenGL ES 3.0/3.1
This means looking at the mobile number mrt limit only such a relationship with opengles2 3
Before 3.2 3.2 4 If you are in that package SHADER_API_GLES3 android can only 4 rt. . . .
It's really interesting to write this code is not supported mrt ogles2 it. . . It also opened four rt doing? (Some hardware manufacturers use to expand their ogles2 added mrt ...)
gl_MaxDrawBuffers—The maximum number of multiple render targets (MRTs) supported. The minimum value supported by all ES 3.0 implementations is 4
Page285 OpenglES 3.0 Programming Guide
ogles2.0 does not support mrt gl_MaxDrawBuffers = 1
ogles3.0 / 3.1 supports mrt gl_MaxDrawBuffers = 4
ogles3.2
gl_MaxDrawBuffers
GL_MAX_DRAW_BUFFERS
GL_MAX_COLOR_ATTACHMENTS
https://www.khronos.org/registry/OpenGL-Refpages/es3/html/glDrawBuffers.xhtml
You can query
http://web.eecs.umich.edu/~sugih/courses/eecs487/common/notes/APITables.xml
https://www.khronos.org/registry/OpenGL/index_gl.php
baby
https://www.khronos.org/registry/OpenGL/extensions/EXT/EXT_draw_buffers.txt
There are many drawbuffers each platform extensions
There is a related expansion
I have to say android aiming chaos
When used on ogles it seems that query it. . So try to use four. . . Would not be too much trouble no this function as shadowmask is not supported on the fifth mrts> 8 of the
I am going to use four!