How to´s – Light setup, mist settings and 2DFilters

Leer en español aquí

Some people asked me about what technique did I use in my fly thru/walk thru of my projects in the Blender Game Engine, so that’s why this video. This is how I do my light setup in blender, settings in mist to simulate “haze” effect and 2DFilters and shaders. In this video I’m making a small and primitive level and I didn’t take care about UV’s optimization and other things because I’m focusing on demonstrating the way I use to.

Some facts:

  • Why I didn’t use “Light map UV pack” ?? – That is because it take into account non square polygons as square polygons, hence a lot of image distortion is generated. I don’t like that 🙂
  • Why did I left empty spaces in UV maps? – This is just a practical example, I didn’t focus in optimization, but you should use wisely all you maps 😉
  • What about 2D Filters and shaders, where can I get it? – Look for it in, I usually use SSAO, retinex and bloom in my scenes, there is a version for 2.49b and the new stable releases.
  • Mist in world buttons seems to don’t have exposure controls (as 2.49b does) so expect different results in both versions, I will ask Ton for that :/
  • Why two lights on scene? – I use one of them as the light sun, the second one as bounce light and a third light would be nice, just try for yourself 🙂
Video here:

If you want to use Multitexture instead of GLSL, follow this tutorial

Hope you find this usable, if still having some questions feel free to comment here 🙂

Get the blend file here.


You may also like...

8 Responses

  1. Lucas says:

    I love your blog. High quality.

    Thanks for the tutorial, i was waiting for this.

    Good job.

  2. Salvador Mata says:

    Hey! thanks a lot for your kind words @Lucas: I’m glad you liked it 🙂

  3. [BGE] Valentinas says:

    Can you re-uploude “.blend” file becouse we all still watching your totorial to make games. 😀

  4. Great job…
    I’m valutating BGE to teaching main principles in realtime engine in my course: do you think is good for that?
    I’m try to save a standalone version of your file bud moving commands doesn’t works, in mac and windows… have you got some ideas?


  5. Hi, thanks for your precious answer.
    I almost solved every steps to teaching a base level in realtime using BGE (navigation, interaction by logical bricks, light and backing…)
    Only think I yet can’t find is a simple way to set a base reflection on floor (for object there is cube map)… in architecture viz is quite important. I found some development on complicated stuff but there no tutorial/sample to solve simplest plane… have you got some idea?
    If you want I’m glad to show and share you my results when it’ll complete…


Leave a Reply

Your email address will not be published. Required fields are marked *