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 / Why Only 8 lights???

Author
Message
KuRi
23
Years of Service
User Offline
Joined: 8th Feb 2003
Location:
Posted: 22nd Apr 2003 00:16
Why can't i create only 7 lights + default light zero?.

I think there are lot of games using more than 8 lights at the same time... Perhaps this should be an interesting thing to add...
Hubdule
23
Years of Service
User Offline
Joined: 3rd Sep 2002
Location: Gundelsheim
Posted: 22nd Apr 2003 00:18
The 8 lights is a limitation of hardware and directx as these lights are hardware lights. What you mean are so called lightmaps. It's not a limitation in DBPro but DirectX.

KuRi
23
Years of Service
User Offline
Joined: 8th Feb 2003
Location:
Posted: 22nd Apr 2003 00:30
Ahhh, Happy to know. Thanks

Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 22nd Apr 2003 00:35
there are literally hundreds of methods to get more lights in DirectX and DBPro ... 8 is the hardware limit, however i'm surprised they've not changed over to DirectX 8.1 point lights as you can have upto 255 of them

Tsu'va Oni Ni Jyuuko Fiori Sei Tau!
One block follows the suit ... the whole suit of blocks is the path ... what have you found?
The Darthster
23
Years of Service
User Offline
Joined: 25th Sep 2002
Location: United Kingdom
Posted: 22nd Apr 2003 02:07
One method is to switch the lights around, only use the lights that are most important to the current scene, changing their positions and colours when the player moves to a different location. This would be backed up by good level design, meaning you don't actually need more than 8 lights at a time.

Once I was but the learner,
now, I am the Master.

Login to post a reply

Server time is: 2026-07-10 16:12:13
Your offset time is: 2026-07-10 16:12:13