Hi, i've implemented one of the effects from the 'effectsTest' sample, and was wondering if there was away to make the grid transparent so that I can see the layers behind it. Currently the grid is the size of the whole iPhone display and transforms with my sprite. What I want is to just see my sprite not the entire grid. I have a feeling that i'll have to mess around with the opengl draw code but I don't really know open gl... any help would be appreciated! thanks!
Is there a way to make the grid transparent?
(3 posts) (2 voices)-
Posted 2 years ago #
-
nevermind figured it out, just had to make a call to glColor4f() and change the alpha value to 0!
Posted 2 years ago # -
I am not sure what you are trying to achieve and I am also not sure what I am talking about, but maybe if you just want the grid lines you could draw line stripes instead of triangles in OpenGL.
Posted 2 years ago #
Reply
You must log in to post.