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.

DarkBASIC Discussion / transperent textures

Author
Message
pagio
22
Years of Service
User Offline
Joined: 8th Jan 2003
Location: - Please Select -
Posted: 5th Feb 2003 13:40
how can i use textures with areas transperen and others visible like the tank demo the treed the tree is visible but not the outside black area?
Dont forget the retro games
Tywald
22
Years of Service
User Offline
Joined: 8th Oct 2002
Location: Sweden
Posted: 5th Feb 2003 13:51
Use the "SET OBJECT" command to turn the transperancy on.
Example:

SET OBJECT 1,0,1

First number should be the object you want to activate transperancy on, the second to 0 or else the object will became a wireframe (you can see throu the object and is also shows its lines.). The third number is the transperancy effect you´re looking for. 1=On 0=Off

-Tywald
freak
22
Years of Service
User Offline
Joined: 20th Jan 2003
Location:
Posted: 5th Feb 2003 16:25
note that the color that will be transparent is black
this can't be changed I think, that's only possible in DBpro

Login to post a reply

Server time is: 2025-08-08 11:45:04
Your offset time is: 2025-08-08 11:45:04