Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Dark GDK / Object Transparency Flag

Author
Message
Malboro Jones
14
Years of Service
User Offline
Joined: 10th Dec 2009
Location: Wales - UK
Posted: 18th Apr 2010 01:19
The setObjectTransparency has a flag!

Is there a list of them somewhere?

Thanks, Malb

Don't make war, make tea.
JTK
14
Years of Service
User Offline
Joined: 10th Feb 2010
Location:
Posted: 18th Apr 2010 06:15
At the risk of being "poo-poo'd", here's the list (as I understand it). Taken directly from Dark Basic Pro's Help File:

Quote: "
0 - draw first no alpha
1 - draw first with alpha masking
2 and 3 - draw second which overlaps solid geometry
4 - draw second alpha test (only render beyond 0x000000CF alpha values)
5 - water line object (seperates depth sort automatically)
6 - combination of 3 and 4 (second phase render with alpha blend AND alpha test, used for fading LOD leaves)
"


What they mean exactly is beyond me, however, I personally use 0, 1 and 4 (now that I found this... lol)

JTK
Malboro Jones
14
Years of Service
User Offline
Joined: 10th Dec 2009
Location: Wales - UK
Posted: 18th Apr 2010 21:23
Ahhh thanks, I've been using 4, it looks nicer than the others

Don't make war, make tea.

Login to post a reply

Server time is: 2024-07-07 01:17:34
Your offset time is: 2024-07-07 01:17:34