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.

Dark GDK / Lighting Troubleshooting

Author
Message
G0DL355
15
Years of Service
User Offline
Joined: 12th Dec 2008
Location: Between Realities...
Posted: 19th Mar 2009 03:03
This is now driving me mad...

I have NEVER been able to get lighting of any kind to work in any of my games, beyond ambient, and, now I know I just need help. The lighting sample isn't clear on how the lighting terms work (for me at least) and, all I want to do is create the effect of a spotlight over the table...

PLEASE can someone help?



The offending result:



Any help much appreciated,

HUGE thanks in advance,

G0DL355

--------------
So Endeth What Was Begotten From That Moste Darkest and Forgotten Of Times...
DaddyJ
15
Years of Service
User Offline
Joined: 17th Mar 2009
Location:
Posted: 20th Mar 2009 17:30
Might want to use
dbSetPointLight

or

dbSetSpotLight

to get the effect you are looking for
G0DL355
15
Years of Service
User Offline
Joined: 12th Dec 2008
Location: Between Realities...
Posted: 23rd Mar 2009 02:42
Quote: " Might want to use
dbSetPointLight

or

dbSetSpotLight

to get the effect you are looking for "


Thanks alot for the input, but dbSetPointLight and dbSetSpotLight are commands that set the type of light and position it.

I've tried both to no great effect, but, I guess I just dont know enough about the lights used by the engine...

Thanks again though,

G0DL355

--------------
So Endeth What Was Begotten From That Moste Darkest and Forgotten Of Times...
G0DL355
15
Years of Service
User Offline
Joined: 12th Dec 2008
Location: Between Realities...
Posted: 28th Mar 2009 03:23
Thanks DaddyJ,

I'm sorry I didn't do so before. In a test reusing both commands, I was able to produce a shadow across the 'cue ball', so, I'm getting SOMEWHERE, which is better than nowhere...

I'll post screenshots up soon =)

Thanks again,

G0DL355

--------------
So Endeth What Was Begotten From That Moste Darkest and Forgotten Of Times...

Login to post a reply

Server time is: 2024-09-30 21:32:48
Your offset time is: 2024-09-30 21:32:48