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 / Lighting problem

Author
Message
HoverFrog
21
Years of Service
User Offline
Joined: 7th Aug 2003
Location: Canada
Posted: 21st Aug 2003 08:16
I put a planet(sphere) in a space background (another sphere) with a sun in the middle. I also put a point light where the sun is hoping the face of my planet facing the sun would be lit and the other side would be shaded.

It works but there in another light source lighting the top of my planet and I can't get rid of it. (I set the ambient light to 0 and did this: Set Object 102,1,0,1,1,1,1,0 --> 102 being the planet)

I would appreciate if anyone could help.
Here is my code...
Xander
21
Years of Service
User Offline
Joined: 3rd Mar 2003
Location: In college...yeah!
Posted: 22nd Aug 2003 06:04
Light 0 is automatically a directional light facing down. Hide light 0, or change light 0 to the point light that you want. Should work perfect.

Good Luck

Xander
Bolt of Bolt Software Productions
HoverFrog
21
Years of Service
User Offline
Joined: 7th Aug 2003
Location: Canada
Posted: 25th Aug 2003 21:06
Thanks Bolt

Hide Light 0 did the job

Login to post a reply

Server time is: 2024-09-20 21:33:32
Your offset time is: 2024-09-20 21:33:32