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.

Newcomers DBPro Corner / Transperant Textures

Author
Message
Michael73
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 19th Jul 2010 09:43
Hello, I'm having trouble with my textures on my models. They are in .png format with a transperant background. But when I load them into my game in dbp, the transperant parts show up black and not clear. Does anyone know how to fix this ?
Thanks
Hodgey
14
Years of Service
User Offline
Joined: 10th Oct 2009
Location: Australia
Posted: 19th Jul 2010 11:16
Hi, you could try using the 'SET OBJECT' command on the models that have this problem. Setting the 'transparent' flag to 1 in this command will tell DBPro to not draw the black colour on 3D objects.

A clever person solves a problem, a wise person avoids it - Albert Einstein
Michael73
14
Years of Service
User Offline
Joined: 29th Jan 2010
Location:
Posted: 19th Jul 2010 11:23
Thanks for that , it worked
Sixty Squares
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Somewhere in the world
Posted: 19th Jul 2010 15:56 Edited at: 19th Jul 2010 15:58
Set Object Transparency objectnum , 1

where 1 is the transparency modes. Transparency modes range from 1 to 6.


Guns, cinematics, stealth, items and more!

Login to post a reply

Server time is: 2024-09-28 20:22:30
Your offset time is: 2024-09-28 20:22:30