Dynamic Lighting in Developer Help
|
|
Okay, so while I'm not sure how to go about this, I'm also not even sure if I should try. My primary concern is performance costs. At the same time however I feel Dynamic Lighting can add depth and immersion to a game like no other.
For example, if you're flying through space you would expect a sun to be really bright, but if you happen to be in a 'void', it should be incredibly dark, but a sudden transition is like 'what just happened... did I teleport?'.
Another example is that if you can't see what a monster looks like that's running down a hall after you, you tend to be more afraid than if you could entirely see it, as it breaks into the light you may even be more terrified, up until you see entirely what it looks like and become used to it.
So this really comes with a few pros -and- cons. Should the costs not be too high, how should I go about it? I've seen shadowdarke's DL library which seemed alright, but I don't know how that would impact a server with say 100 players. I've also seen someone use a .dll to get dynamic lighting, but I know absolutely nothing about .dll's to begin with.
So with that, any ideas on where to start researching, reading, learning or a fast and dirty way to get it done would be greatly appreciated.
NOTE: I don't expect anyone to generate a code base for me.
|
There are many games which use this sort of lighting system, but they're all kinda ugly looking. I would recommend looking at D4RK3 54B3R's method of lighting because he figured out a way to smooth out the edges so you don't just have 32x32 blocks of a solid shade.