Hello Mickaël,

I am also facing the same issue.
Please let me know if you have overcome this.

--
Best regards
Arun

On Aug 5, 8:38 am, Mickaël Gachon <[email protected]> wrote:
> Hello,
> I'm trying to remove the texture in the GLES20TriangleRenderer google
> code.http://developer.android.com/resources/samples/ApiDemos/src/com/examp...
> I remove the texture pos in the mTriangleVerticesData
> I remove all parts dealing with texture.
> I change the TRIANGLE_VERTICES_DATA_STRIDE_BYTES to  3 *
> FLOAT_SIZE_BYTES;
> instead of 5 (because there are not the 2 textures floats in the
> mTriangleVerticesData)
> I just select a red color for the triangle by changing the frag
> shader :  " gl_FragColor = vec4(1,0,0,1);\n"
> But when I run the application I just see the blue background.
> Does someone know why?
> Or does someone know a good sample or tutorial of GLES20 without
> dealing with textures?
> Thank you !
> Mickael

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to