ID:269536
 
Hello, I saw a demo a long time ago and it was like it was pitch black but when you turn on a light you can see like two tiles all around you. I am wondering how might you do that or if anyone know what demo that was. Thanks.

->Calus CoRPS<-
Look up luminosity.
In response to DeathAwaitsU
Thanks alot DeathAwaitsU, I found it :).

->Calus CoRPS<-
In response to DeathAwaitsU
And any other variables listed in its "see also:" listing. There are other variables dealing with light and sight as well. Check them all out.
sd_DynamicAreaLighting_Demo

However, I think a better way to do something like this would be to just change the icon to make it seem as if it was under night/dusk/day light, if you're planning on a day/night cycle.