Invisible Quad
Would it be possible to render a quad that is completly transparent? Invisible?
If so how, I need to make hidden spots that you can''t see that you can click on for special power ups.
Thanks
Matt
Sure, just draw it in a colour that has an alpha component of zero:
glColor4f(0.0f, 0.0f, 0.0f, 0.0f);
--cfmdobbie
glColor4f(0.0f, 0.0f, 0.0f, 0.0f);
--cfmdobbie
With the zero alpha, you would also need to enable alpha blending. An easier way would be to simply disable colour buffer writes.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement