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 / DarkLights Questions

Author
Message
Nytus Sermus
13
Years of Service
User Offline
Joined: 17th Jan 2013
Location:
Posted: 22nd Sep 2014 03:34 Edited at: 22nd Sep 2014 05:49
I've owned DarkLights for a while now, but never had time to get into it. I was all set to write a quick editor GUI to integrate darklights into my system, then i realized there is a lack of expressions to access the lights. Once you've added a light to the scene, how do you reference this light afterwords, to re-postition or change the light properties; light range and color etc. The DarkLight commands don't reference light numbers or anything, so...? I noticed in the Editor that comes with darklights that it was able to move back and forth between the added lights, and was wondering if this was done in a cosmetic way of storing seperate information or if there are commands or a way to access and change the lights after you have added them. Thanks for your help and sorry for the long post
(For example am i going to have to mirror all the variables i need in dbp to handle the lights like positions, range, color, etc and then manually re-do the scene or can i directly reference these darklights and update their properties?)
///////////////////////////////////////////////////////
EDIT: ya..i tend to answer my own questions...
Brendy boy
21
Years of Service
User Offline
Joined: 17th Jul 2005
Location: Croatia
Posted: 23rd Sep 2014 00:38
Quote: "am i going to have to mirror all the variables i need in dbp to handle the lights like positions, range, color, etc and then manually re-do the scene"

this

Nytus Sermus
13
Years of Service
User Offline
Joined: 17th Jan 2013
Location:
Posted: 12th Oct 2014 05:55 Edited at: 12th Oct 2014 06:01
the outer light from a lightsource is correct in color, but the light mapped at the inner area around the light is a white color or looks flushed out, how do i tune this inner color to not be all white
EDIT: i'm trying to match the closeup light color to the color in the peripheral of the light's range

Login to post a reply

Server time is: 2026-07-18 09:24:51
Your offset time is: 2026-07-18 09:24:51