Alien Blitz 3d: more dynamic lights

More dynamic lights

I tried something today: changing one type of light (fire lamp) to dynamic lighting

Here are the results (before/after)

capture_2014-07-20_00-32-02_0686_Alien_Blitz_ capture_2014-07-20_00-32-14_0279_Alien_Blitz_

capture_2014-07-20_00-27-53_0059_Alien_Blitz_ capture_2014-07-20_00-29-23_0286_Alien_Blitz_

It makes updating dynamic lights a bit longer, but not by that much… And it sure looks different:

  • current lights have an additive and a multiplicative component, whereas dynamic lights just have an additive component (which means I would have to create fake “black” lights to render dark areas, which are a pain in the ass to manage)
  • Current lights are smoothen, making shadow on cubes less visible

I don’t know which one I prefer, I could tweak them both to my liking I guess… but having dynamic lights could be very nice as I could activate them only when player sees them (making the room “appear” when the player enters in it)

I have to do more tests… but it sure is something interesting

Comments are closed.