Advertisement

Destination alpha test

Started by December 29, 2001 07:59 AM
1 comment, last by bakery2k1 23 years, 1 month ago
I have after a few passes a screen consisting of shades of gray. Each pixel has an rgba color of k, k, k, k. Now, I want to draw on the screen another texture, but only on the parts of the screen of color (1, 1, 1, 1), and not on the rest. Is there any way to do this in (preferably unextended) openGL? Thanks
Try alpha test.

I''ve a little program on my site for using alpha test.

========================
Leyder Dylan
http://ibelgique.ifrance.com/Slug-Production/
========================Leyder Dylan (dylan.leyder@slug-production.be.tf http://users.skynet.be/fa550206/Slug-Production/Index.htm/
Advertisement
Yes, but alpha test tests the INCOMING value, not the value already on screen. That''s the problem.

This topic is closed to new replies.

Advertisement