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 / Shadowing with DB lights

Author
Message
Neil Young
21
Years of Service
User Offline
Joined: 6th Jan 2004
Location:
Posted: 12th Jan 2004 00:36 Edited at: 12th Jan 2004 00:37
I have an omni-light as a sun, and planets. The light shouldn't be seen on the side of the planet that you would think is in darkness. I've tried changing the ambient light to 0 and whatever but that doesn't change anything. I've tried making it a directional light, still to no avail. Anyone have any ideas?

Xander
22
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 15th Jan 2004 01:48
Not sure why it doesn't work, I have made solar system simulations before. Just make sure you do the following things (both in the same code):

-Set ambient light to 0
-Hide light 0

I made all mine in DB Pro, but I know that it is possible in Classic. I will make a demo and upload it later.

Good Luck, Xander

Xander Moser of Bolt Software
Firewall - Your Computer's First Defense
VishalC
21
Years of Service
User Offline
Joined: 14th Jan 2004
Location:
Posted: 15th Jan 2004 09:10
hi. try this, it might help you. click the source button below. gd luck

If it wasn't for the last minute, nothing would get done!

Login to post a reply

Server time is: 2025-06-05 20:12:12
Your offset time is: 2025-06-05 20:12:12