Talk About Network

Google





Graphics > OpenGL 3D API > Re: BLending an...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 6 Topic 4815 of 5061
Post > Topic >>

Re: BLending and Transparency

by Wolfgang Draxinger <wdraxinger@[EMAIL PROTECTED] > Jun 29, 2008 at 12:28 PM

karim.atiki@[EMAIL PROTECTED]
 wrote:

>> As a wild guess, do you need to disable texture mapping?
>>
> Hello Andy,
> 
> good question.
> I don't know if I have to disable it.

That was a rhetoric question.

> But I just slightly modifiy my code in order to disable
> texture_2d and re-enable it after the rect is drawn.
> And it works fine now !
> 
> But I'm not so happy as I do not understand why I have to
> disable texture 2D....

Because, if you've got the texture enabled, the colour at the
latest given texture coordinates will be applied on the
rectangles colour. If you don't want with any texture interfere
with what you draw you must disable it.

Wolfgang Draxinger
-- 
E-Mail address works, Jabber: hexarith@[EMAIL PROTECTED]
 ICQ: 134682867
 




 6 Posts in Topic:
BLending and Transparency
karim.atiki@[EMAIL PROTEC  2008-06-28 11:14:27 
Re: BLending and Transparency
karim.atiki@[EMAIL PROTEC  2008-06-28 11:52:11 
Re: BLending and Transparency
Andy V <nobody@[EMAIL   2008-06-28 19:20:48 
Re: BLending and Transparency
karim.atiki@[EMAIL PROTEC  2008-06-29 00:20:24 
Re: BLending and Transparency
Wolfgang Draxinger <wd  2008-06-29 12:28:29 
Re: BLending and Transparency
karim.atiki@[EMAIL PROTEC  2008-06-29 03:57:20 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 16:06:53 PST 2009.