View Full Version : what is alpha mask,is this in opengl
08-15-2012, 06:11 AM
Can i use it make my rectangle (http://www.opengl.org/search?q=rectangle&keyfrom=E2Ctranslation) round corner??
08-15-2012, 07:20 PM
If you want to make a rectangle with rounded corners, apply a RGBA8 texture to your quad and use blending.
Wherever alpha is 0, it will look totally transparent and wherever it is 255, it will look totally opaque.
Powered by vBulletin® Version 4.2.2 Copyright © 2015 vBulletin Solutions, Inc. All rights reserved.