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 / How can make skybox bright?

Author
Message
Anto
19
Years of Service
User Offline
Joined: 30th Oct 2005
Location: Brisbane, AUS
Posted: 6th Nov 2005 08:30
G'day

I've been making a level, i setted the ambient light to 20.. because i want the level to be dark.. but i don't want it to affect the skybox.. what i have got at the moment is skybox dark as well.

Is there a way to make texture on skybox not to be affected, just come from the bitmap it self.

Hope you guys understand what I means

Thanks

Anto
Me!
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 6th Nov 2005 10:54
set object light objnum,1 or 0 (you want 0)



if there is one thing I can NOT tolerate, it`s intolerant people.
TDK
Retired Moderator
22
Years of Service
User Offline
Joined: 19th Nov 2002
Location: UK
Posted: 7th Nov 2005 03:37
There's no 'set object light' command in DBC, but there is a Set Object command which has both light and ambient parameters which should allow you to do what you want to do.

TDK_Man

Me!
19
Years of Service
User Offline
Joined: 26th Jul 2005
Location:
Posted: 7th Nov 2005 09:33
eh yeah!, my bad, set object objnum,0,0,1,0,1 iirc (sorry, I keep getting muddled between classic and Pro )



if there is one thing I can NOT tolerate, it`s intolerant people.
Anto
19
Years of Service
User Offline
Joined: 30th Oct 2005
Location: Brisbane, AUS
Posted: 9th Nov 2005 02:04
Thanks "Me!" n TDK_Man for Your Help

It turn out like this,

set object objnum,1,1,1,1,0

Anto

Login to post a reply

Server time is: 2025-05-22 13:03:16
Your offset time is: 2025-05-22 13:03:16