Questions tagged [android]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
110 views

OpenGL ES 3.0 - Uniform Buffer Object non-static indexing

I've encountered a very strange issue while testing UBO on Android device: if I try to index UBO array with non-constant index, the program fails to link with log: ...
1
vote
3answers
165 views

Same specular lighting on both tris in a quad (for “low-poly” “flat shading” look)?

Here's an example of the flat shaded squares I want. But my squares are made of two triangles, and I'm getting flat shading of those triangles. In openGLES 3.1 (android), I'm turning off ...
5
votes
1answer
63 views

Can the uniform id be changed from run to run on the same machine?

I have a shader which has several uniform variables: uniform vec4 a; uniform vec4 b; uniform vec4 c; I'm getting these handles using ...
7
votes
1answer
2k views

Using extensions in Android OpenGL ES 2.0

It is no secret that according to the official documentation extensions are not available under OpenGL ES 2.0. Nevertheless, the glext.h file present in the NDK platform-include directories makes me ...