Use Vulkan for rendering but OpenGL ES 3.1 compute shaders for specific post-processing effects if the Vulkan driver has known bugs on certain OEMs.
So why choose OpenGL ES 3.1 for your Android graphics development needs? Here are just a few of the top benefits: opengl es 31 android top
Use code with caution. Copied to clipboard (Note: Use 0x00030001 for version 3.1) . : Use Vulkan for rendering but OpenGL ES 3
void main() gl_Position = vPosition; vColor = vNormal * 0.5 + 0.5; opengl es 31 android top