Advertisement

Transparent Background

Started by August 16, 2001 07:20 AM
3 comments, last by Jason2Jason 23 years, 6 months ago
Hi, Is there any way that i can get a transparent back ground in a fullscreen open GL program. I''m want to make a 3d thing (ie somesort of animal) on the desktop. I also want it so you can still use the desktop with the program still running! Is it posible? Thanks J
You can set the window''s background to transparent, don''t know how to do it offhand, but I at least now you KNOW you can do it :D

------------------------------
Trent (ShiningKnight)
E-mail me
Shining Darkness- A division of Chromesphere Studios
Advertisement
glClearColor(dontCare, dontCare, dontCare, 0);

This is done in your InitGL() method.

~ Dragonus

Setting the alpha to 0 in glClearColor(anum,anum,anum,0) didn''t work.
You may also need to enable alpha testing and/or blending... maybe?

~ Dragonus

This topic is closed to new replies.

Advertisement