BlitLucent error
Displaying 1-5 of 5 total.
1
Please enter a numerical value for the importance of this sticky.
Enter 0 to unsticky.
Omni

lucency = 255;
BlitLucent(0, 0, lucency, buffer, screen);

This results in nothing. A fully transparent buffer.

lucency = 0;
BlitLucent(0, 0, lucency, buffer, screen);

This results in a fully opaque display.

Are the alpha values reversed, or is it just me?

V3 4-21-2004 build.

Posted on 2004-06-29 17:28:10

Technetium

That sounds right to me. the lucency parameter measures how transparent it is, not how solid it is. Thus, a higher number should = more transparent.

Posted on 2004-06-29 17:44:41

Zip

[Edit: I was talking shit. However, just pointing out that SetLucent(100) is fully transparent too. Don't expect verge to be compatible with any kinda standards do ya? Alpha values? Hah!]

Zip

Posted on 2004-06-29 17:45:51 (last edited on 2004-06-29 17:47:54)

Gayo

Yeah, I always get that backwards too. The trouble for me is that I take "lucency" to mean brightness, so I expect things with a high lucency to show up well, when of course what it actually means is translucency...

Posted on 2004-06-29 17:56:44

Omni

Lucency = Translucency = Alpha = Intensity

The greater the intensity, the greater the...

Wait. Crap.

Darn it!

(Lucency != Intensity)

Posted on 2004-06-29 17:58:17


Displaying 1-5 of 5 total.
1
 
Newest messages

Ben McGraw's lovingly crafted this website from scratch for years.
It's a lot prettier this go around because of Jon Wofford.
Verge-rpg.com is a member of the lunarnet irc network, and would like to take this opportunity to remind you that regardless how babies taste, it is wrong to eat them.