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 Professional Discussion / Fading object not working...

Author
Message
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 31st Mar 2010 14:21
Hi guys!

I am trying to change the transparency level of an object slowly until it completely fades away and is invisible.

The properties of the object are:



I tried:



But none seem to take any effect at all. I noticed however that if fade object is 0, the object is completely invisible, but as soon as I change it to 1 or higher, the object becomes fully visible.

I also noticed that set alpha mapping on doesn't change anything on the object.

What's wrong?

TheComet

empty
23
Years of Service
User Offline
Joined: 26th Aug 2002
Location: 3 boats down from the candy
Posted: 31st Mar 2010 14:46
you can't use "set object light obj,0" because "fade object" changes the diffuse colour setting of that object which needs lighting.
TheComet
18
Years of Service
User Offline
Joined: 18th Oct 2007
Location: I`m under ur bridge eating ur goatz.
Posted: 31st Mar 2010 17:18
Ah, ok. Thanks, that did it!

TheComet

Login to post a reply

Server time is: 2026-07-26 21:11:42
Your offset time is: 2026-07-26 21:11:42