Skip to content Skip to sidebar Skip to footer

Draw An Image Based Texture In OpenGl Android(Wear)

I am drawing an image based texture using opengl in android, But the image is drawn partially only shown below my coding @Override public void onGlContextCreated() {

Solution 1:

Change the texture coordinates as

 {-1.0f, 1.0f, 0,0 ,
 1.0f, 1.0f, 1,0, 
-1.0f,-1.0f, 0,1 ,
1.0f, -1.0f, 1,1 

Post a Comment for "Draw An Image Based Texture In OpenGl Android(Wear)"