View Full Version : 2 questions
nick800
04-12-2003, 04:56 AM
first, how do I hide the mouse curser? And second, how do I alpha blend so that the black parts of the texture are completely transparent?
yaro_dup1
04-12-2003, 07:21 AM
// hide the cursor
ShowCursor(false);
If you want to blend You should first look at some tutorials in http://nehe.gamedev.net
// To blend We're using:
glEnable(GL_BLEND);
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
// draw the primitives
glDisable(GL_BLEND);
cheers,
yaro
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.